Arduino (using Arduino IDE) and ESP-IDF (using Espressif IoT Development Framework or PlatformIO) compatible library for sending and reciving messages over 802.15.4 for ESP32-C6 and ESP32-H2 (from ESP-IDF 5.1).
Add the following to lib_deps:
Johboh/ieee-802_15_4
Search for ieee-802_15_4 by johboh in the library manager.
In your existing idf_component.yml or in a new idf_component.yml next to your main component:
dependencies:
johboh/ieee-802_15_4:
version: ">=0.5.7"
Search for ieee-802_15_4 by johboh in the library manager. See note about version above.
- Using Arduino IDE/CLI, host
- Using Arduino IDE/CLI, node
- Using ESP-IDF framework/Platform IO, host
- Using ESP-IDF framework/Platform IO, node
- As of now, ESP32-C6 and ESP32-H2 are the only ones supporting 802.15.4, but might be more in the future.
- Requires at last ESP-IDF 5.1.0
- Can be uses as an Arduino library when using Arduino IDE, or the ESP-IDF framework with Arduino core.
- Can be used as an ESP-IDF component when using ESP-IDF framework.
- For PlatformIO, can only be used when using the ESP-IDF framework, as PlatformIO Arduino verion is too old (4.4.7, end of life))