zep_v2_data_hdr_t Struct Reference

ZEPv2 header definition (type == Data) More...

Detailed Description

ZEPv2 header definition (type == Data)

Definition at line 76 of file zep.h.

#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)

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