ESP32 & SX1262 Radio - working?

PeterH61
Sat, 31 Jan 2026 15:02:06 +0000

The alphabetical order is fine; I was expecting the example “LoRaWAN_OTAA” after “LoRaWAN_ABP”. OTAA isn’t mentioned in the extensive beginner notes. I should have looked directly at LoRaWAN_Starter.ino; my mistake.

I’ve now adapted the example sketch and achieved a join for the ESP32 + SX1262.

However, only once. The next time I turned on the ESP32, I got the error “devnonce has already been used”.

It seems things have become stricter with LoRaWAN 1.1.0 (my last information was from 1.0.2).

It’s a bit troublesome during development to have to reset the devnonce in the console every time before turning on the MCU. Therefore, I programmed the ESP32 to remember the last devnonce.

Where would be the best place to post the finished example sketch + config.h? Here, in the IDE forum, or on GitHub?

Peter