This is a C++ interface that connects an ESP32 Microcontroller to a XBee module operating in API mode. This interface provides functions that allow an ESP32 to send and receive XBee Frames using a physical serial connection (UART, I2C, SPI) with a XBee module.
- Add
xbee_api.cppto thesrcdirectory of the ESP32 project and add#include "xbee_api.hpp"to themainsource file - Add
xbee_api.hppandjson.hppto theincludedirectory of the ESP32 project
This class uses json.hpp by Niels Lohmann which is licensed under the MIT License. Copyright © 2013-2022 Niels Lohmann.