Module ieee802154

Module ieee802154 

Source
Available on crate feature unstable only.
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 module is intended to be used to implement support for higher-level communication protocols, for example esp-openthread.

Note that this module currently requires you to enable the unstable feature on 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)