Loading...
Searching...
No Matches
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)
 

Field Documentation

◆ chan

uint8_t zep_v2_data_hdr_t::chan

channel ID

Definition at line 79 of file zep.h.

◆ dev

network_uint16_t zep_v2_data_hdr_t::dev

device ID

Definition at line 80 of file zep.h.

◆ hdr

zep_hdr_t zep_v2_data_hdr_t::hdr

common header fields

Definition at line 77 of file zep.h.

◆ length

uint8_t zep_v2_data_hdr_t::length

length of the frame

Definition at line 86 of file zep.h.

◆ lqi_mode

uint8_t zep_v2_data_hdr_t::lqi_mode

CRC/LQI Mode.

Definition at line 81 of file zep.h.

◆ lqi_val

uint8_t zep_v2_data_hdr_t::lqi_val

LQI value.

Definition at line 82 of file zep.h.

◆ resv

uint8_t zep_v2_data_hdr_t::resv[10]

reserved field, must always be 0

Definition at line 85 of file zep.h.

◆ seq

network_uint32_t zep_v2_data_hdr_t::seq

Sequence number.

Definition at line 84 of file zep.h.

◆ time

ntp_timestamp_t zep_v2_data_hdr_t::time

NTP timestamp.

Definition at line 83 of file zep.h.

◆ type

uint8_t zep_v2_data_hdr_t::type

type (must be ZEP_V2_TYPE_DATA)

Definition at line 78 of file zep.h.


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