ABP working - OTAA fails

Hello,

i’m using a Heltec heltec_wifi_lora_32_V2 - with default library provided by Heltec and the examples provides out of the git repository.

Everything connects fine; Display is fine - ABP Example is fine and running - but OTAA is not.

In the moment i switch the device in TTN to OTA and adapt the lines for the required keys:
/OTAA or ABP/
bool overTheAirActivation = true;
The device is stuck in a loop and i see the joining requests in TTN but never an answer is accepted.

Any suggestions?

ESP32 MCU init...
ESP32 MCU inited OK!

LoRaWAN EU868 Class A start!

joining...
TX on freq 868500000 Hz at DR 5
DIO0:TX Done
RX on freq 868500000 Hz at DR 5
DIO1:RX Timeout
TX on freq 868300000 Hz at DR 5
DIO0:TX Done
RX on freq 868300000 Hz at DR 5
DIO1:RX Timeout
TX on freq 868100000 Hz at DR 5
DIO0:TX Done
RX on freq 868100000 Hz at DR 5
DIO1:RX Timeout
TX on freq 868300000 Hz at DR 5
DIO0:TX Done

Double check the otta- AppEUI DevEUI and AppKey!

E_T

i tried… no effect; i even recreated a new device - and copied all keys new. All the same.

Can you see the gateway traffic?

hi,

Maybe you can try heltec’s cloud server to verify the node’s good or bad.

https://cloud-platform-docs.readthedocs.io/en/latest/
http://cloud.heltec.org/

Ok; i was sitting in my Building - and the Gateway was outsinde. Maybe i was to far away. As i was sitting outside for aquiring a GPS Signal - the OTA Join worked … Well… Ok… Maybe i need to aquire an indoor Gateway as well…