Loading...
Searching...
No Matches
socket_zep_t Struct Reference

ZEP device state. More...

Detailed Description

ZEP device state.

Definition at line 81 of file socket_zep.h.

#include <socket_zep.h>

Data Fields

const socket_zep_params_tparams
 command line parameters
 
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
 
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
 
bool rx
 whether the radio is listening for packets
 
bool send_hello
 send HELLO packet on connect
 

Field Documentation

◆ addr_long

uint8_t socket_zep_t::addr_long[IEEE802154_LONG_ADDRESS_LEN]

Long address of the virtual radio.

Definition at line 106 of file socket_zep.h.

◆ addr_short

uint8_t socket_zep_t::addr_short[IEEE802154_SHORT_ADDRESS_LEN]

Short address of the virtual radio.

Definition at line 102 of file socket_zep.h.

◆ chan

uint16_t socket_zep_t::chan

virtual radio channel

Definition at line 98 of file socket_zep.h.

◆ filter_mode

ieee802154_filter_mode_t socket_zep_t::filter_mode

frame filter mode

Definition at line 107 of file socket_zep.h.

◆ pan_id

uint16_t socket_zep_t::pan_id

PAN ID of the ZEP network.

Definition at line 97 of file socket_zep.h.

◆ params

const socket_zep_params_t* socket_zep_t::params

command line parameters

Definition at line 85 of file socket_zep.h.

◆ rcv_buf

uint8_t socket_zep_t::rcv_buf[sizeof(zep_v2_data_hdr_t)+IEEE802154_FRAME_LEN_MAX]

Receive buffer.

Definition at line 91 of file socket_zep.h.

◆ rx

bool socket_zep_t::rx

whether the radio is listening for packets

Definition at line 108 of file socket_zep.h.

◆ send_hello

bool socket_zep_t::send_hello

send HELLO packet on connect

Definition at line 109 of file socket_zep.h.

◆ seq

uint32_t socket_zep_t::seq

ZEP sequence number.

Definition at line 87 of file socket_zep.h.

◆ snd_buf

uint8_t socket_zep_t::snd_buf[sizeof(zep_v2_data_hdr_t)+IEEE802154_FRAME_LEN_MAX]

Send buffer.

Definition at line 95 of file socket_zep.h.

◆ snd_len

uint8_t socket_zep_t::snd_len

bytes to send

Definition at line 96 of file socket_zep.h.

◆ sock_fd

int socket_zep_t::sock_fd

socket fd

Definition at line 86 of file socket_zep.h.


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