Crate esp_ieee802154

Source
Expand description

Low-level IEEE 802.15.4 driver for the ESP32-C6 and ESP32-H2.

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

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

Note that this crate currently requires you to enable the unstable feature on esp-hal.

§Feature Flags

No documented features in Cargo.toml

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)