Loading...
Searching...
No Matches
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
 
netdev_test_send_cb_t send_cb
 device specific fields
 
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.
 
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
 channel
 
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

◆ get_cbs

netdev_test_get_cb_t netdev_test_t::get_cbs[NETOPT_NUMOF]

callback to handle get command

Definition at line 182 of file netdev_test.h.

◆ init_cb

netdev_test_init_cb_t netdev_test_t::init_cb

callback to handle initialization events

Definition at line 180 of file netdev_test.h.

◆ isr_cb

netdev_test_isr_cb_t netdev_test_t::isr_cb

callback to handle ISR events

Definition at line 181 of file netdev_test.h.

◆ mutex

mutex_t netdev_test_t::mutex

mutex for the device

Definition at line 185 of file netdev_test.h.

◆ netdev

netdev_ieee802154_t netdev_test_t::netdev

netdev fields

superclass

Definition at line 171 of file netdev_test.h.

◆ recv_cb

netdev_test_recv_cb_t netdev_test_t::recv_cb

callback to handle receive command

Definition at line 179 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.

◆ set_cbs

netdev_test_set_cb_t netdev_test_t::set_cbs[NETOPT_NUMOF]

callback to handle set command

Definition at line 183 of file netdev_test.h.

◆ state

void* netdev_test_t::state

external state for the device

Definition at line 184 of file netdev_test.h.


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