|
S.F.T. XMODEM Library
1.0
|
Structure defining an XMODEM CHECKSUM packet. More...
Data Fields | |
| char | cSOH |
| SOH byte goes here. | |
| unsigned char | aSEQ |
| unsigned char | aNotSEQ |
| 1st byte = seq#, 2nd is ~seq# | |
| char | aDataBuf [128] |
| the actual data itself! | |
| unsigned char | bCheckSum |
| checksum gets 1 byte | |
Structure defining an XMODEM CHECKSUM packet.
typedef struct _XMODEM_BUF_ { char cSOH; // ** SOH byte goes here ** unsigned char aSEQ, aNotSEQ; // ** 1st byte = seq#, 2nd is ~seq# ** char aDataBuf[128]; // ** the actual data itself! ** unsigned char bCheckSum; // ** checksum gets 1 byte ** } PACKED XMODEM_BUF;