|
S.F.T. XMODEM Library
1.0
|
Structure defining an XMODEM CRC 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 short | wCRC |
| CRC gets 2 bytes, high endian. | |
Structure defining an XMODEM CRC packet.
typedef struct _XMODEMC_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 short wCRC; // ** CRC gets 2 bytes, high endian ** } PACKED XMODEMC_BUF;