XMODEM packet.

Public Attributes#

uint8_t

Packet header (XMODEM_CMD_SOH)

uint8_t

Packet sequence number.

uint8_t

Complement of packet sequence number.

uint8_t

Payload.

uint8_t

CRC high byte.

uint8_t

CRC low byte.

Public Attribute Documentation#

header#

uint8_t XmodemPacket_t::header

Packet header (XMODEM_CMD_SOH)


Definition at line 72 of file platform/bootloader/communication/xmodem-parser/btl_xmodem.h

packetNumber#

uint8_t XmodemPacket_t::packetNumber

Packet sequence number.


Definition at line 73 of file platform/bootloader/communication/xmodem-parser/btl_xmodem.h

packetNumberC#

uint8_t XmodemPacket_t::packetNumberC

Complement of packet sequence number.


Definition at line 74 of file platform/bootloader/communication/xmodem-parser/btl_xmodem.h

data#

uint8_t XmodemPacket_t::data[XMODEM_DATA_SIZE]

Payload.


Definition at line 75 of file platform/bootloader/communication/xmodem-parser/btl_xmodem.h

crcH#

uint8_t XmodemPacket_t::crcH

CRC high byte.


Definition at line 76 of file platform/bootloader/communication/xmodem-parser/btl_xmodem.h

crcL#

uint8_t XmodemPacket_t::crcL

CRC low byte.


Definition at line 77 of file platform/bootloader/communication/xmodem-parser/btl_xmodem.h