Ttn-esp32: new device library for ESP-IDF and SX127x boards

I’ve released a new feature for ttn-esp32: AT commands for provisioning.

With a single line of code, a background task can be started that listens for AT commands on one of the UARTs. With an AT command the device EUI, application EUI and application key can be set. They are then saved in the non-volatile storage.

It allows to build a single binary, to flash it to several devices and then to provision each device with the EUIs and keys. It simplifies the build process, avoids sensitive data in source code repositories, and reduces the chances of accidentally using the same key for two devices.

2 Likes