The friendly Operating System for the Internet of Things
netdev_test_t Struct Reference

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

Detailed Description

Definition at line 173 of file netdev_test.h.

#include <net/netdev_test.h>

Data Fields

netdev_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
- 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
void * context
 ptr to network stack context

Field Documentation

netdev_t netdev_test_t::netdev


Definition at line 181 of file netdev_test.h.

netdev_test_send_cb_t netdev_test_t::send_cb

callback to handle send command

Definition at line 189 of file netdev_test.h.

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