heltec_esp32_lora_v3: example LoRaWAN_TTN not working
Hello Ropg,
Luckily I found your library. The Heltec libraries and instructions are terrible. I have a device on which I have installed the Lora example. After entering the TTN access data via the serial console I always get the following error message. What could be my mistake?
Enter LoRaWAN band (e.g. EU868 or US915) [EU868]
Enter subband for your frequency plan, if applicable. Otherwise just press Enter. []
Enter joinEUI (64 bits, 16 hex characters.) Press enter to use all zeroes. [0000110220330440]
Enter devEUI (64 bits, 16 hex characters) [70B3D57EDBD69B2C]
Enter appKey (128 bits, 32 hex characters) [1B799FCFA9EABED1FE6863AC31237181]
Enter nwkKey (128 bits, 32 hex characters) [1773074BA234B63D1683A13F76CCF6D1]
Thank you. Provisioning information saved to flash.
Now joining network.
Could not join network. We'll try again later.
Going to deep sleep now
Next TX in 900 s
About this issue
- Original URL
- State: open
- Created 2 years ago
- Comments: 42 (19 by maintainers)
I’ve replicated your situation as closely as I know how to and I must say it works for me.
Helteck Stick v3, no battery, connected to Mac via USB
Mac running Arduino IDE version 2.3.3
Heltec_ESP32_LoRa_v3 version 1.0.3
RadioLib version 7.0.2
LoRaWAN_ESP32 version 1.2.0
Compiled the LoRaWAN_TTN.ino example with added
#define HELTEC_NO_DISPLAYas only modification.Uncommented
RADIOLIB_DEBUG_PROTOCOLin RadioLib.Set “Tools / Erase all flash before sketch upload” to make sure there’s no old provisioning data hanging around.
Created a new end device ‘heltec-stick’ on TTN:
Which makes my data show up at TTN:
I have seriously no clue what could be different on your end at this point, but at least now you have a complete working situation to compare against.
Good luck!