Firmware
|
Public Attributes | |
uint8_t | header1 |
0x55 for a valid packet | |
uint8_t | header2 |
0x55 for a valid packet | |
uint8_t | length |
length includes type, data, and crc = sizeof(type)+sizeof(data[payload_len])+sizeof(crc8) | |
uint8_t | type |
from enum ST24_PACKET_TYPE | |
uint8_t | st24_data [ST24_DATA_LEN_MAX] |
uint8_t | crc8 |
crc8 checksum, calculated by st24_common_crc8 and including fields length, type and st24_data | |