ESP32 v2 & LoRaWanOLED.ino

Hi,
I am using an ESP32 V2 with example software LoRaWanOLED.ino (Library: Heltec_ESP32). Connecting as node to TTN Europe. Settings in the code:

  • join method OTAA
  • loraWanClass = CLASS_A;
  • overTheAirActivation = true;
  • loraWanAdr = false;
  • appPort = 2;
  • confirmedNbTrials = 1;

On “The Things Stack SANDBOX” I see “Successfully processed joint-request” and under “Event Details” : bandwidth: 125khz - spreading factor: 9

I am just 900m away of the public TTN gateway, which is in line of sight.

Is there a possibility to set TX_OUTPUT_POWER to max - LORA_BANDWIDTH to 250 khz - LORA_SPREADING_FACTOR to SF 7 ?

Why?

Joins are rare events, if it’s working, leave well alone.

Found it. When you download the library from github…library part : RegionEU868.h there is a setting to DR_5. Just change this to DR_7 to get all possible configurations.