Loading...
Searching...
No Matches

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.
 
#define NETDEV_SUBMAC_FLAGS_CRC_ERROR   (1 << 3)
 Flag for CRC ERROR event.
 
#define NETDEV_SUBMAC_FLAGS_BH_REQUEST   (1 << 4)
 Flag for Bottom Half request event.
 

Functions

int netdev_ieee802154_submac_init (netdev_ieee802154_submac_t *netdev_submac)
 Init the IEEE 802.15.4 SubMAC netdev adoption.
 

Macro Definition Documentation

◆ NETDEV_SUBMAC_FLAGS_ACK_TIMEOUT

#define NETDEV_SUBMAC_FLAGS_ACK_TIMEOUT   (1 << 0)

Flag for ACK Timeout event.

Definition at line 39 of file ieee802154_submac.h.

◆ NETDEV_SUBMAC_FLAGS_BH_REQUEST

#define NETDEV_SUBMAC_FLAGS_BH_REQUEST   (1 << 4)

Flag for Bottom Half request event.

Definition at line 43 of file ieee802154_submac.h.

◆ NETDEV_SUBMAC_FLAGS_CRC_ERROR

#define NETDEV_SUBMAC_FLAGS_CRC_ERROR   (1 << 3)

Flag for CRC ERROR event.

Definition at line 42 of file ieee802154_submac.h.

◆ NETDEV_SUBMAC_FLAGS_RX_DONE

#define NETDEV_SUBMAC_FLAGS_RX_DONE   (1 << 2)

Flag for RX Done event.

Definition at line 41 of file ieee802154_submac.h.

◆ NETDEV_SUBMAC_FLAGS_TX_DONE

#define NETDEV_SUBMAC_FLAGS_TX_DONE   (1 << 1)

Flag for TX Done event.

Definition at line 40 of file ieee802154_submac.h.

Function Documentation

◆ netdev_ieee802154_submac_init()

int netdev_ieee802154_submac_init ( netdev_ieee802154_submac_t netdev_submac)

Init the IEEE 802.15.4 SubMAC netdev adoption.

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