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

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

Detailed Description

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;

Definition at line 61 of file xmodem.c.


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