Loading...
Searching...
No Matches
netdev_ieee802154_minimal.h File Reference

Provides basic functionalities to interact with an IEEE 802.15.4 networking device which implements the Netdev - Network Device Driver API. More...

Detailed Description

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:

Author
Kevin Weiss kevin.nosp@m..wei.nosp@m.ss@ha.nosp@m.w-ha.nosp@m.mburg.nosp@m..de

Definition in file netdev_ieee802154_minimal.h.

#include "net/netdev.h"
+ Include dependency graph for netdev_ieee802154_minimal.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.