socket_zep_t Struct Reference

ZEP device state. More...

Detailed Description

ZEP device state.

Definition at line 93 of file socket_zep.h.

#include <socket_zep.h>

Data Fields

const socket_zep_params_tparams
 command line parameters
 
ztimer_t ack_timer
 timer to send delayed ACK
 
int sock_fd
 socket fd
 
uint32_t seq
 ZEP sequence number.
 
uint8_t rcv_buf [sizeof(zep_v2_data_hdr_t)+IEEE802154_FRAME_LEN_MAX]
 Receive buffer.
 
uint8_t snd_buf [sizeof(zep_v2_data_hdr_t)+IEEE802154_FRAME_LEN_MAX]
 Send buffer.
 
uint8_t snd_len
 bytes to send
 
uint8_t rcv_len
 bytes received
 
uint16_t pan_id
 PAN ID of the ZEP network.
 
uint16_t chan
 virtual radio channel
 
uint8_t addr_short [IEEE802154_SHORT_ADDRESS_LEN]
 Short address of the virtual radio.
 
uint8_t addr_long [IEEE802154_LONG_ADDRESS_LEN]
 Long address of the virtual radio.
 
ieee802154_filter_mode_t filter_mode
 frame filter mode
 
zepdev_state_t state
 device state machine
 
bool send_hello
 send HELLO packet on connect
 

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