This module defines implements the netdev API on top of the IEEE 802.15.4 radio HAL. More...

Detailed Description

This module defines implements the netdev API on top of the IEEE 802.15.4 radio HAL.

Warning
This feature is experimental!
This API is experimental and in an early state - expect changes!
Author
José I. Alamos jose..nosp@m.alam.nosp@m.os@ha.nosp@m.w-ha.nosp@m.mburg.nosp@m..de

Data Structures

struct  netdev_ieee802154_submac_t
 IEEE 802.15.4 SubMAC netdev descriptor. More...
 

Macros

#define NETDEV_SUBMAC_FLAGS_ACK_TIMEOUT   (1 << 0)
 Flag for ACK Timeout event.
 
#define NETDEV_SUBMAC_FLAGS_TX_DONE   (1 << 1)
 Flag for TX Done event.
 
#define NETDEV_SUBMAC_FLAGS_RX_DONE   (1 << 2)
 Flag for RX Done event.
 

Functions

int netdev_ieee802154_submac_init (netdev_ieee802154_submac_t *netdev_submac, ieee802154_dev_t *dev)
 Init the IEEE 802.15.4 SubMAC netdev adoption. More...
 

Function Documentation

◆ netdev_ieee802154_submac_init()

int netdev_ieee802154_submac_init ( netdev_ieee802154_submac_t netdev_submac,
ieee802154_dev_t dev 
)

Init the IEEE 802.15.4 SubMAC netdev adoption.

Parameters
[in]netdev_submacpointer to the netdev submac descriptor.
[in]devpointer to the device associated to netdev_submac.
Returns
0 on success.
negative errno on failure.