Provides basic functionalities to interact with an IEEE 802.15.4 networking device which implements the Netdev - Network Device Driver API. More...
Provides basic functionalities to interact with an IEEE 802.15.4 networking device which implements the Netdev - Network Device Driver API.
To use the functionalities, include the module USEMODULE += test_utils_netdev_ieee802154_minimal
. The test application should provide:
init_dev.h
Definition in file netdev_ieee802154_minimal.h.
#include "net/netdev.h"
Go to the source code of this file.
Macros | |
#define | NETDEV_IEEE802154_MINIMAL_NUMOF |
Maximum number of devices to handle. | |
Functions | |
int | netdev_ieee802154_minimal_init_devs (netdev_event_cb_t cb) |
Device-under-test initialization function. | |
int | netdev_ieee802154_minimal_init (void) |
Initialize the module. | |
int | netdev_ieee802154_minimal_send (struct netdev *dev, iolist_t *pkt) |
Send a IEEE 802.15.4 frame This is wrapper for the internal netdev send function, that ensures all netdev functions are called from the same thread. | |
int | netdev_ieee802154_minimal_get (struct netdev *dev, netopt_t opt, void *data, size_t max_len) |
Get an option from netdev minimal. | |
int | netdev_ieee802154_minimal_set (struct netdev *dev, netopt_t opt, void *data, size_t len) |
Set an option to netdev minimal. | |