Extended structure to hold IEEE 802.15.4 driver state. More...

Detailed Description

Extended structure to hold IEEE 802.15.4 driver state.

Supposed to be extended by driver implementations. The extended structure should contain all variable driver state.

Definition at line 100 of file ieee802154.h.

#include <ieee802154.h>

Data Fields

netdev_t netdev
 netdev_t base class More...
- Data Fields inherited from netdev
const struct netdev_driverdriver
 ptr to that driver's interface. More...
netdev_event_cb_t event_callback
 callback for device events More...
void * context
 ptr to network stack context More...
uint16_t pan
 IEEE 802.15.4 specific fields. More...
uint8_t short_addr [IEEE802154_SHORT_ADDRESS_LEN]
 Short address in network byte order. More...
uint8_t long_addr [IEEE802154_LONG_ADDRESS_LEN]
 Long address in network byte order. More...
uint8_t seq
 sequence number More...
uint8_t chan
 channel More...
uint8_t page
 channel page More...
uint16_t flags
 flags as defined above More...
int16_t txpower
 tx power in dBm More...
ieee802154_sec_context_t sec_ctx
 security context More...

Field Documentation

◆ chan

uint8_t netdev_ieee802154_t::chan


Definition at line 125 of file ieee802154.h.

◆ flags

uint16_t netdev_ieee802154_t::flags

flags as defined above

Definition at line 127 of file ieee802154.h.

◆ long_addr

uint8_t netdev_ieee802154_t::long_addr[IEEE802154_LONG_ADDRESS_LEN]

Long address in network byte order.

Definition at line 123 of file ieee802154.h.

◆ netdev

netdev_t netdev_ieee802154_t::netdev

netdev_t base class

Definition at line 101 of file ieee802154.h.

◆ page

uint8_t netdev_ieee802154_t::page

channel page

Definition at line 126 of file ieee802154.h.

◆ pan

uint16_t netdev_ieee802154_t::pan

IEEE 802.15.4 specific fields.

PAN ID in network byte order

Definition at line 113 of file ieee802154.h.

◆ sec_ctx

ieee802154_sec_context_t netdev_ieee802154_t::sec_ctx

security context

Definition at line 130 of file ieee802154.h.

◆ seq

uint8_t netdev_ieee802154_t::seq

sequence number

Definition at line 124 of file ieee802154.h.

◆ short_addr

uint8_t netdev_ieee802154_t::short_addr[IEEE802154_SHORT_ADDRESS_LEN]

Short address in network byte order.

Definition at line 118 of file ieee802154.h.

◆ txpower

int16_t netdev_ieee802154_t::txpower

tx power in dBm

Definition at line 128 of file ieee802154.h.

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