Skip to main content

Module ieee802154

Module ieee802154 

Source
Available on crate features ieee802154 and unstable only.
Expand description

§Low-level IEEE 802.15.4 driver

Implements the PHY/MAC layers of the IEEE 802.15.4 protocol stack, and supports sending and receiving of raw frames.

This module is intended to be used to implement support for higher-level communication protocols, for example openthread.

Note that this module requires the unstable feature on both esp-radio and esp-hal.

NOTE: Coexistence with Wi-Fi or Bluetooth is currently not possible. If you do it anyway, things will break.

Structs§

Config
IEEE 802.15.4 driver configuration
Frame
IEEE 802.15.4 MAC frame
Ieee802154
IEEE 802.15.4 driver
RawReceived
A raw payload received on some channel
ReceivedFrame
IEEE 802.15.4 MAC frame which has been received

Enums§

CcaMode
CCA mode
Error
IEEE 802.15.4 errors
PendingMode
Frame pending mode

Functions§

rssi_to_lqi
Convert from RSSI (Received Signal Strength Indicator) to LQI (Link Quality Indication)