ZEPv2 header definition (type == Data) More...
#include <zep.h>
Data Fields | |
zep_hdr_t | hdr |
common header fields | |
uint8_t | type |
type (must be ZEP_V2_TYPE_DATA) | |
uint8_t | chan |
channel ID | |
network_uint16_t | dev |
device ID | |
uint8_t | lqi_mode |
CRC/LQI Mode. | |
uint8_t | lqi_val |
LQI value. | |
ntp_timestamp_t | time |
NTP timestamp. | |
network_uint32_t | seq |
Sequence number. | |
uint8_t | resv [10] |
reserved field, must always be 0 | |
uint8_t | length |
length of the frame | |
Data Fields inherited from zep_hdr_t | |
char | preamble [2] |
Preamble code (must be "EX") | |
uint8_t | version |
Protocol Version (must be 1 or 2) | |
network_uint16_t zep_v2_data_hdr_t::dev |
uint8_t zep_v2_data_hdr_t::resv[10] |
network_uint32_t zep_v2_data_hdr_t::seq |
ntp_timestamp_t zep_v2_data_hdr_t::time |
uint8_t zep_v2_data_hdr_t::type |
type (must be ZEP_V2_TYPE_DATA)