This is a code package to implement file transfers by the TFTP protocol.
HS TFTP is a software library in C. Full source code is supplied when you buy this package. The code package implements Trivial File Transfer Protocol (TFTP) over UDP socket layer. It follows the RFC 1350 standard to achieve that. The code package includes code for implementing the server as well as the client. “get” and “put” functions are implemented. Often, the need to include these in your software application comes up. Particularly, in embedded systems, this is a contender of the XModem software used by many. These transfer functions will help the embedded system to obtain software upgrades, configuration upgrades and retrieval. When integrating into your software module, you will need to initialize this code module. The library then provides interfaces to call the functions. The services provided include timer management, memory management and event callbacks.
Winsock services in the form of HS Sock library is provided by a lower layer ensuring your application does not need to worry about the Winsock services for transmission, reception and event handling. UDP transport services are provided through this HS code library. The interface provided by the trial module is quite well laid out; you have to be aware of the file transfer related requirements, of course. The TFTP module will take care of the memory requirements as it requests the next block of memory for transmission and similarly gets free memory for storing a received block of data. It takes care of all protocol information flow, error recovery, acknowledgements, timeouts and so on. Overall, it is quite a useful tool.