APM:Libraries
Public Attributes | List of all members
ReceiverFcPacket Struct Reference

Public Attributes

uint8_t header1
 0x55 for a valid packet More...
 
uint8_t header2
 0x55 for a valid packet More...
 
uint8_t length
 length includes type, data, and crc = sizeof(type)+sizeof(data[payload_len])+sizeof(crc8) More...
 
uint8_t type
 from enum ST24_PACKET_TYPE More...
 
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 More...
 

Detailed Description

Definition at line 61 of file st24.cpp.

Member Data Documentation

◆ crc8

uint8_t ReceiverFcPacket::crc8

crc8 checksum, calculated by st24_common_crc8 and including fields length, type and st24_data

Definition at line 67 of file st24.cpp.

Referenced by st24_decode().

◆ header1

uint8_t ReceiverFcPacket::header1

0x55 for a valid packet

Definition at line 62 of file st24.cpp.

◆ header2

uint8_t ReceiverFcPacket::header2

0x55 for a valid packet

Definition at line 63 of file st24.cpp.

◆ length

uint8_t ReceiverFcPacket::length

length includes type, data, and crc = sizeof(type)+sizeof(data[payload_len])+sizeof(crc8)

Definition at line 64 of file st24.cpp.

Referenced by st24_decode().

◆ st24_data

uint8_t ReceiverFcPacket::st24_data[ST24_DATA_LEN_MAX]

Definition at line 66 of file st24.cpp.

Referenced by st24_decode().

◆ type

uint8_t ReceiverFcPacket::type

from enum ST24_PACKET_TYPE

Definition at line 65 of file st24.cpp.

Referenced by st24_decode().


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