ZEP device state. More...
ZEP device state.
Definition at line 90 of file socket_zep.h.
#include <socket_zep.h>
Data Fields | |
const socket_zep_params_t * | params |
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 | |
ztimer_t socket_zep_t::ack_timer |
timer to send delayed ACK
Definition at line 95 of file socket_zep.h.
uint8_t socket_zep_t::addr_long[IEEE802154_LONG_ADDRESS_LEN] |
Long address of the virtual radio.
Definition at line 117 of file socket_zep.h.
uint8_t socket_zep_t::addr_short[IEEE802154_SHORT_ADDRESS_LEN] |
Short address of the virtual radio.
Definition at line 113 of file socket_zep.h.
uint16_t socket_zep_t::chan |
virtual radio channel
Definition at line 109 of file socket_zep.h.
ieee802154_filter_mode_t socket_zep_t::filter_mode |
frame filter mode
Definition at line 118 of file socket_zep.h.
uint16_t socket_zep_t::pan_id |
PAN ID of the ZEP network.
Definition at line 108 of file socket_zep.h.
const socket_zep_params_t* socket_zep_t::params |
command line parameters
Definition at line 94 of file socket_zep.h.
uint8_t socket_zep_t::rcv_buf[sizeof(zep_v2_data_hdr_t)+IEEE802154_FRAME_LEN_MAX] |
Receive buffer.
Definition at line 101 of file socket_zep.h.
uint8_t socket_zep_t::rcv_len |
bytes received
Definition at line 107 of file socket_zep.h.
bool socket_zep_t::send_hello |
send HELLO packet on connect
Definition at line 120 of file socket_zep.h.
uint32_t socket_zep_t::seq |
ZEP sequence number.
Definition at line 97 of file socket_zep.h.
uint8_t socket_zep_t::snd_buf[sizeof(zep_v2_data_hdr_t)+IEEE802154_FRAME_LEN_MAX] |
Send buffer.
Definition at line 105 of file socket_zep.h.
uint8_t socket_zep_t::snd_len |
bytes to send
Definition at line 106 of file socket_zep.h.
int socket_zep_t::sock_fd |
socket fd
Definition at line 96 of file socket_zep.h.
zepdev_state_t socket_zep_t::state |
device state machine
Definition at line 119 of file socket_zep.h.