Loading...
Searching...
No Matches
zep_v1_hdr_t Struct Reference

ZEPv1 header definition. More...

Detailed Description

ZEPv1 header definition.

Definition at line 62 of file zep.h.

#include <zep.h>

Data Fields

zep_hdr_t hdr
 common header fields
 
uint8_t chan
 channel ID
 
network_uint16_t dev
 device ID
 
uint8_t lqi_mode
 CRC/LQI Mode (0: append LQI to frame, 1: append FCS)
 
uint8_t lqi_val
 LQI value.
 
uint8_t resv [7]
 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_v1_hdr_t::chan

channel ID

Definition at line 64 of file zep.h.

◆ dev

network_uint16_t zep_v1_hdr_t::dev

device ID

Definition at line 65 of file zep.h.

◆ hdr

zep_hdr_t zep_v1_hdr_t::hdr

common header fields

Definition at line 63 of file zep.h.

◆ length

uint8_t zep_v1_hdr_t::length

length of the frame

Definition at line 69 of file zep.h.

◆ lqi_mode

uint8_t zep_v1_hdr_t::lqi_mode

CRC/LQI Mode (0: append LQI to frame, 1: append FCS)

Definition at line 66 of file zep.h.

◆ lqi_val

uint8_t zep_v1_hdr_t::lqi_val

LQI value.

Definition at line 67 of file zep.h.

◆ resv

uint8_t zep_v1_hdr_t::resv[7]

reserved field, must always be 0

Definition at line 68 of file zep.h.


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