netdev_test_t Struct Reference

Device descriptor for netdev dummy test driver devices. More...

Detailed Description

Device descriptor for netdev dummy test driver devices.

Definition at line 166 of file netdev_test.h.

#include <netdev_test.h>

netdev_ieee802154_t netdev
 netdev fields More...
netdev_test_send_cb_t send_cb
 device specific fields More...
netdev_test_recv_cb_t recv_cb
 callback to handle receive command
netdev_test_init_cb_t init_cb
 callback to handle initialization events
netdev_test_isr_cb_t isr_cb
 callback to handle ISR events
netdev_test_get_cb_t get_cbs [NETOPT_NUMOF]
 callback to handle get command
netdev_test_set_cb_t set_cbs [NETOPT_NUMOF]
 callback to handle set command
void * state
 external state for the device
mutex_t mutex
 mutex for the device

Additional Inherited Members

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

Field Documentation

◆ netdev

netdev_ieee802154_t netdev_test_t::netdev

netdev fields


Definition at line 171 of file netdev_test.h.

◆ send_cb

netdev_test_send_cb_t netdev_test_t::send_cb

device specific fields

callback to handle send command

Definition at line 178 of file netdev_test.h.

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