S.F.T. XMODEM Library  1.0
_XMODEMC_BUF_ Struct Reference

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.

Detailed Description

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;

Definition at line 84 of file xmodem.c.


The documentation for this struct was generated from the following file: