Heltec Wireless Stick Lite: documentation for LoRaWAN sending

Dear Heltec-Fellows,

I have purchased a few Heltec Wireless Lite sticks from you and they work nicely, I’ll wanna use them in our products also after prototyping but I need to understand the sending states better (please see the debugging output below of the Arduino console and TheThingsNetwork Gateway).

The Heltlec board is literally spamming. Is it also possible to just set an uplink message without waiting for the downlink? Can I disable the adaptive datarate? It would be nice if you comment a bit more on that, I can also open a forum thread so you don’t have to explain it to every customer, e.g. we can put it on stackexchange as an answer or whatever you suggest but I think the lorawan sending handler could need some more documentation.

I am currently going over ESP32_LoRaWAN.cpp to get a better understanding of the library.

I am currently using following example: OTAA_Battery_Power.ino (Network: TTN, latest files installed in accordance with your documentation, activation: ABP)

Please see the arduino console dump below for more information:

12:13:59.615 -> Temperature: 27°C, Humidity: 25%RH, Pressure: 1000hPa

12:13:59.988 -> Now sending device data…
12:13:59.988 -> confirmed uplink sending …
12:13:59.988 -> TX on freq 867300000 Hz at DR 0
12:14:01.584 -> DIO0:TX Done
12:14:02.605 -> RX on freq 867300000 Hz at DR 0
12:14:02.605 -> DIO1:RX Timeout
12:14:03.634 -> RX on freq 869525000 Hz at DR 0
12:14:04.993 -> DIO0:RX Done
12:14:04.993 -> receive data: rssi = -42, snr = 29, datarate = 0
12:14:04.993 -> Checking incoming BT connection
12:14:04.993 -> Keine Bluetooth-Eingabe empfangen
12:14:05.039 -> Current installation Mode is: 1
12:14:05.039 -> Current installation distance is: -1
12:14:06.110 -> Average Battery Voltage: 4439 V
12:14:06.110 -> Beginning ranging
12:14:06.393 -> 2150 mm
12:14:06.579 -> 2150 mm
12:14:06.720 -> 2150 mm
12:14:06.860 -> 2152 mm
12:14:06.999 -> 2149 mm
12:14:07.139 -> 2151 mm
12:14:07.329 -> 2149 mm
12:14:07.468 -> 2150 mm
12:14:07.609 -> 2149 mm
12:14:07.749 -> 2149 mm
12:14:07.749 -> Average distance: 2149 mm
12:14:09.570 -> Temperature: 24°C, Humidity: 26%RH, Pressure: 1000hPa
12:14:09.944 -> Now sending device data…
12:14:09.944 -> confirmed uplink sending …
12:14:09.944 -> TX on freq 868300000 Hz at DR 5
12:14:10.037 -> DIO0:TX Done
12:14:11.023 -> RX on freq 868300000 Hz at DR 5
12:14:11.023 -> DIO1:RX Timeout
12:14:11.997 -> RX on freq 869525000 Hz at DR 3
12:14:12.044 -> DIO1:RX Timeout
12:14:16.431 -> TX on freq 868500000 Hz at DR 5
12:14:16.524 -> DIO0:TX Done
12:14:17.507 -> RX on freq 868500000 Hz at DR 5
12:14:17.507 -> DIO1:RX Timeout
12:14:18.534 -> RX on freq 869525000 Hz at DR 3
12:14:18.534 -> DIO1:RX Timeout
12:14:22.968 -> TX on freq 868500000 Hz at DR 4
12:14:23.062 -> DIO0:TX Done
12:14:24.091 -> RX on freq 868500000 Hz at DR 4
12:14:24.091 -> DIO1:RX Timeout
12:14:25.072 -> RX on freq 869525000 Hz at DR 3
12:14:25.118 -> DIO1:RX Timeout
12:14:34.964 -> TX on freq 868300000 Hz at DR 4
12:14:35.057 -> DIO0:TX Done
12:14:36.083 -> RX on freq 868300000 Hz at DR 4
12:14:36.083 -> DIO1:RX Timeout
12:14:37.067 -> RX on freq 869525000 Hz at DR 3
12:14:37.113 -> DIO1:RX Timeout
12:14:46.967 -> TX on freq 868100000 Hz at DR 3
12:14:47.156 -> DIO0:TX Done
12:14:48.184 -> RX on freq 868100000 Hz at DR 3
12:14:48.184 -> DIO1:RX Timeout
12:14:49.163 -> RX on freq 869525000 Hz at DR 3
12:14:49.212 -> DIO1:RX Timeout
12:15:08.878 -> TX on freq 868300000 Hz at DR 3
12:15:09.065 -> DIO0:TX Done
12:15:10.052 -> RX on freq 868300000 Hz at DR 3
12:15:10.099 -> DIO1:RX Timeout
12:15:11.078 -> RX on freq 869525000 Hz at DR 3
12:15:11.125 -> DIO1:RX Timeout
12:15:30.774 -> TX on freq 868500000 Hz at DR 2
12:15:31.192 -> DIO0:TX Done
12:15:32.176 -> RX on freq 868500000 Hz at DR 2
12:15:32.222 -> DIO1:RX Timeout
12:15:33.203 -> RX on freq 869525000 Hz at DR 3
12:15:33.342 -> DIO0:RX Done
12:15:33.342 -> receive data: rssi = -42, snr = 25, datarate = 3
12:15:33.388 -> Deep Sleep until Next TxPacket:216020 ms
12:19:06.442 -> ets Jun 8 2016 00:22:57
12:19:06.442 ->
12:19:06.442 -> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
12:19:06.442 -> configsip: 188777542, SPIWP:0xee
12:19:06.442 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
12:19:06.442 -> mode:DIO, clock div:1
12:19:06.442 -> load:0x3fff0018,len:4
12:19:06.442 -> load:0x3fff001c,len:1044
12:19:06.442 -> load:0x40078000,len:8896
12:19:06.442 -> load:0x40080400,len:5816
12:19:06.442 -> entry 0x400806ac
12:19:08.127 -> The device started, now you can pair it with bluetooth!
12:19:08.127 -> Configuring WDT…
12:19:08.127 -> Init finished
12:19:08.174 -> Checking incoming BT connection
12:19:08.174 -> Keine Bluetooth-Eingabe empfangen
12:19:08.174 -> Current installation Mode is: 1
12:19:08.174 -> Current installation distance is: -1
12:19:09.285 -> Average Battery Voltage: 4373 V
12:19:09.285 -> Beginning ranging
12:19:09.566 -> 2143 mm
12:19:09.753 -> 2142 mm
12:19:09.894 -> 2142 mm
12:19:10.033 -> 2144 mm
12:19:10.175 -> 2144 mm
12:19:10.315 -> 2147 mm
12:19:10.455 -> 2147 mm
12:19:10.644 -> 2148 mm
12:19:10.781 -> 2146 mm
12:19:10.923 -> 2147 mm
12:19:10.923 -> Average distance: 2145 mm
12:19:12.741 -> Temperature: 26°C, Humidity: 26%RH, Pressure: 1000hPa
12:19:13.115 -> Now sending device data…
12:19:13.115 -> confirmed uplink sending …
12:19:13.115 -> TX on freq 868500000 Hz at DR 5
12:19:13.161 -> DIO0:TX Done
12:19:14.188 -> RX on freq 868500000 Hz at DR 5
12:19:14.188 -> DIO1:RX Timeout
12:19:15.171 -> RX on freq 869525000 Hz at DR 3
12:19:15.215 -> DIO1:RX Timeout
12:19:18.142 -> TX on freq 867500000 Hz at DR 5
12:19:18.189 -> DIO0:TX Done
12:19:19.163 -> RX on freq 867500000 Hz at DR 5
12:19:19.163 -> DIO1:RX Timeout
12:19:20.195 -> RX on freq 869525000 Hz at DR 3
12:19:20.241 -> DIO1:RX Timeout
12:19:23.131 -> TX on freq 868100000 Hz at DR 4
12:19:23.225 -> DIO0:TX Done
12:19:24.253 -> RX on freq 868100000 Hz at DR 4
12:19:24.253 -> DIO1:RX Timeout
12:19:25.229 -> RX on freq 869525000 Hz at DR 3
12:19:25.276 -> DIO1:RX Timeout
12:19:28.128 -> TX on freq 867500000 Hz at DR 4
12:19:28.269 -> DIO0:TX Done
12:19:29.249 -> RX on freq 867500000 Hz at DR 4
12:19:29.249 -> DIO1:RX Timeout
12:19:30.225 -> RX on freq 869525000 Hz at DR 3
12:19:30.272 -> DIO1:RX Timeout
12:19:35.125 -> TX on freq 868300000 Hz at DR 3
12:19:35.359 -> DIO0:TX Done
12:19:36.339 -> RX on freq 868300000 Hz at DR 3
12:19:36.339 -> DIO1:RX Timeout
12:19:37.324 -> RX on freq 869525000 Hz at DR 3
12:19:37.509 -> DIO0:RX Done
12:19:37.509 -> receive data: rssi = -41, snr = 24, datarate = 3
12:19:37.509 -> Deep Sleep until Next TxPacket:276563 ms
12:24:11.728 -> ets Jun 8 2016 00:22:57
12:24:11.728 ->
12:24:11.728 -> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
12:24:11.728 -> configsip: 188777542, SPIWP:0xee
12:24:11.728 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
12:24:11.728 -> mode:DIO, clock div:1
12:24:11.728 -> load:0x3fff0018,len:4
12:24:11.728 -> load:0x3fff001c,len:1044
12:24:11.728 -> load:0x40078000,len:8896
12:24:11.728 -> load:0x40080400,len:5816
12:24:11.728 -> entry 0x400806ac
12:24:13.410 -> The device started, now you can pair it with bluetooth!
12:24:13.410 -> Configuring WDT…
12:24:13.410 -> Init finished
12:24:13.454 -> Checking incoming BT connection
12:24:13.454 -> Keine Bluetooth-Eingabe empfangen
12:24:13.454 -> Current installation Mode is: 1
12:24:13.454 -> Current installation distance is: -1
12:24:14.573 -> Average Battery Voltage: 4374 V
12:24:14.573 -> Beginning ranging
12:24:14.851 -> 2149 mm
12:24:14.993 -> 2150 mm
12:24:15.180 -> 2149 mm
12:24:15.320 -> 2151 mm
12:24:15.460 -> 2148 mm
12:24:15.599 -> 2149 mm
12:24:15.739 -> 2149 mm
12:24:15.928 -> 2149 mm
12:24:16.068 -> 2148 mm
12:24:16.206 -> 2149 mm
12:24:16.206 -> Average distance: 2149 mm
12:24:17.979 -> Temperature: 25°C, Humidity: 28%RH, Pressure: 1000hPa
12:24:18.396 -> Now sending device data…
12:24:18.396 -> confirmed uplink sending …
12:24:18.396 -> TX on freq 867100000 Hz at DR 5
12:24:18.443 -> DIO0:TX Done
12:24:19.476 -> RX on freq 867100000 Hz at DR 5
12:24:19.476 -> DIO1:RX Timeout
12:24:20.454 -> RX on freq 869525000 Hz at DR 3
12:24:20.501 -> DIO1:RX Timeout
12:24:22.417 -> TX on freq 868300000 Hz at DR 5
12:24:22.463 -> DIO0:TX Done
12:24:23.444 -> RX on freq 868300000 Hz at DR 5
12:24:23.444 -> DIO1:RX Timeout
12:24:24.471 -> RX on freq 869525000 Hz at DR 3
12:24:24.517 -> DIO1:RX Timeout
12:24:27.409 -> TX on freq 867300000 Hz at DR 4
12:24:27.501 -> DIO0:TX Done
12:24:28.524 -> RX on freq 867300000 Hz at DR 4
12:24:28.524 -> DIO1:RX Timeout
12:24:29.503 -> RX on freq 869525000 Hz at DR 3
12:24:29.549 -> DIO1:RX Timeout
12:24:31.415 -> TX on freq 868300000 Hz at DR 4
12:24:31.509 -> DIO0:TX Done
12:24:32.534 -> RX on freq 868300000 Hz at DR 4
12:24:32.534 -> DIO1:RX Timeout
12:24:33.515 -> RX on freq 869525000 Hz at DR 3
12:24:33.562 -> DIO1:RX Timeout
12:24:39.396 -> TX on freq 867700000 Hz at DR 3
12:24:39.629 -> DIO0:TX Done
12:24:40.609 -> RX on freq 867700000 Hz at DR 3
12:24:40.609 -> DIO1:RX Timeout
12:24:41.633 -> RX on freq 869525000 Hz at DR 3
12:24:41.773 -> DIO0:RX Done
12:24:41.773 -> receive data: rssi = -43, snr = 31, datarate = 3
12:24:41.818 -> Deep Sleep until Next TxPacket:275995 ms
12:29:16.024 -> ets Jun 8 2016 00:22:57
12:29:16.024 ->
12:29:16.024 -> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
12:29:16.024 -> configsip: 188777542, SPIWP:0xee
12:29:16.024 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
12:29:16.024 -> mode:DIO, clock div:1
12:29:16.070 -> load:0x3fff0018,len:4
12:29:16.070 -> load:0x3fff001c,len:1044
12:29:16.070 -> load:0x40078000,len:8896
12:29:16.070 -> load:0x40080400,len:5816
12:29:16.070 -> entry 0x400806ac
12:29:17.745 -> The device started, now you can pair it with bluetooth!
12:29:17.745 -> Configuring WDT…
12:29:17.745 -> Init finished
12:29:17.745 -> Checking incoming BT connection
12:29:17.793 -> Keine Bluetooth-Eingabe empfangen
12:29:17.793 -> Current installation Mode is: 1
12:29:17.793 -> Current installation distance is: -1
12:29:18.866 -> Average Battery Voltage: 4376 V
12:29:18.866 -> Beginning ranging
12:29:19.146 -> 2150 mm
12:29:19.332 -> 2151 mm
12:29:19.471 -> 2150 mm
12:29:19.611 -> 2151 mm
12:29:19.751 -> 2150 mm
12:29:19.890 -> 2150 mm
12:29:20.076 -> 2149 mm
12:29:20.216 -> 2150 mm
12:29:20.357 -> 2149 mm
12:29:20.497 -> 2149 mm
12:29:20.497 -> Average distance: 2149 mm
12:29:22.314 -> Temperature: 24°C, Humidity: 28%RH, Pressure: 1000hPa
12:29:22.691 -> Now sending device data…
12:29:22.691 -> confirmed uplink sending …
12:29:22.691 -> TX on freq 867100000 Hz at DR 5
12:29:22.783 -> DIO0:TX Done
12:29:23.765 -> RX on freq 867100000 Hz at DR 5
12:29:23.765 -> DIO1:RX Timeout
12:29:24.741 -> RX on freq 869525000 Hz at DR 3
12:29:24.787 -> DIO1:RX Timeout
12:29:28.709 -> TX on freq 868100000 Hz at DR 5
12:29:28.755 -> DIO0:TX Done
12:29:29.737 -> RX on freq 868100000 Hz at DR 5
12:29:29.784 -> DIO1:RX Timeout
12:29:30.767 -> RX on freq 869525000 Hz at DR 3
12:29:30.814 -> DIO1:RX Timeout
12:29:33.705 -> TX on freq 867300000 Hz at DR 4
12:29:33.845 -> DIO0:TX Done
12:29:34.827 -> RX on freq 867300000 Hz at DR 4
12:29:34.827 -> DIO1:RX Timeout
12:29:35.810 -> RX on freq 869525000 Hz at DR 3
12:29:35.859 -> DIO1:RX Timeout
12:29:38.696 -> TX on freq 868100000 Hz at DR 4
12:29:38.837 -> DIO0:TX Done
12:29:39.814 -> RX on freq 868100000 Hz at DR 4
12:29:39.814 -> DIO1:RX Timeout
12:29:40.840 -> RX on freq 869525000 Hz at DR 3
12:29:40.840 -> DIO1:RX Timeout
12:29:45.695 -> TX on freq 867100000 Hz at DR 3
12:29:45.927 -> DIO0:TX Done
12:29:46.909 -> RX on freq 867100000 Hz at DR 3
12:29:46.909 -> DIO1:RX Timeout
12:29:47.934 -> RX on freq 869525000 Hz at DR 3
12:29:48.076 -> DIO0:RX Done
12:29:48.076 -> receive data: rssi = -38, snr = 33, datarate = 3
12:29:48.123 -> Deep Sleep until Next TxPacket:273725 ms
12:34:22.326 -> ets Jun 8 2016 00:22:57
12:34:22.373 ->
12:34:22.373 -> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
12:34:22.373 -> configsip: 188777542, SPIWP:0xee
12:34:22.373 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
12:34:22.373 -> mode:DIO, clock div:1
12:34:22.373 -> load:0x3fff0018,len:4
12:34:22.373 -> load:0x3fff001c,len:1044
12:34:22.373 -> load:0x40078000,len:8896
12:34:22.373 -> load:0x40080400,len:5816
12:34:22.373 -> entry 0x400806ac
12:34:24.058 -> The device started, now you can pair it with bluetooth!
12:34:24.058 -> Configuring WDT…
12:34:24.058 -> Init finished
12:34:24.104 -> Checking incoming BT connection
12:34:24.104 -> Keine Bluetooth-Eingabe empfangen
12:34:24.104 -> Current installation Mode is: 1
12:34:24.104 -> Current installation distance is: -1
12:34:25.179 -> Average Battery Voltage: 4371 V
12:34:25.179 -> Beginning ranging
12:34:25.506 -> 2148 mm
12:34:25.645 -> 2149 mm
12:34:25.785 -> 2148 mm
12:34:25.925 -> 2150 mm
12:34:26.063 -> 2149 mm
12:34:26.248 -> 2150 mm
12:34:26.390 -> 2150 mm
12:34:26.528 -> 2150 mm
12:34:26.668 -> 2150 mm
12:34:26.809 -> 2151 mm
12:34:26.809 -> Average distance: 2149 mm
12:34:28.631 -> Temperature: 24°C, Humidity: 29%RH, Pressure: 1000hPa
12:34:29.004 -> Now sending device data…
12:34:29.004 -> confirmed uplink sending …
12:34:29.004 -> TX on freq 867300000 Hz at DR 5
12:34:29.098 -> DIO0:TX Done
12:34:30.079 -> RX on freq 867300000 Hz at DR 5
12:34:30.079 -> DIO1:RX Timeout
12:34:31.057 -> RX on freq 869525000 Hz at DR 3
12:34:31.243 -> DIO0:RX Done
12:34:31.243 -> receive data: rssi = -45, snr = 30, datarate = 3
12:34:31.243 -> Deep Sleep until Next TxPacket:298149 ms
12:39:27.267 -> ets Jun 8 2016 00:22:57
12:39:27.267 ->
12:39:27.267 -> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
12:39:27.267 -> configsip: 188777542, SPIWP:0xee
12:39:27.267 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
12:39:27.267 -> mode:DIO, clock div:1
12:39:27.267 -> load:0x3fff0018,len:4
12:39:27.267 -> load:0x3fff001c,len:1044
12:39:27.267 -> load:0x40078000,len:8896
12:39:27.314 -> load:0x40080400,len:5816
12:39:27.314 -> entry 0x400806ac
12:39:28.945 -> The device started, now you can pair it with bluetooth!
12:39:28.945 -> Configuring WDT…
12:39:28.993 -> Init finished
12:39:28.993 -> Checking incoming BT connection
12:39:28.993 -> Keine Bluetooth-Eingabe empfangen
12:39:28.993 -> Current installation Mode is: 1
12:39:29.039 -> Current installation distance is: -1
12:39:30.114 -> Average Battery Voltage: 4374 V
12:39:30.114 -> Beginning ranging
12:39:30.396 -> 2148 mm
12:39:30.536 -> 2149 mm
12:39:30.723 -> 2148 mm
12:39:30.861 -> 2150 mm
12:39:31.000 -> 2149 mm
12:39:31.140 -> 2151 mm
12:39:31.279 -> 2148 mm
12:39:31.467 -> 2149 mm
12:39:31.606 -> 2149 mm
12:39:31.744 -> 2150 mm
12:39:31.744 -> Average distance: 2149 mm
12:39:33.560 -> Temperature: 24°C, Humidity: 34%RH, Pressure: 1000hPa
12:39:33.933 -> Now sending device data…
12:39:33.933 -> confirmed uplink sending …
12:39:33.933 -> TX on freq 868100000 Hz at DR 5
12:39:34.026 -> DIO0:TX Done
12:39:35.007 -> RX on freq 868100000 Hz at DR 5
12:39:35.007 -> DIO1:RX Timeout
12:39:35.986 -> RX on freq 869525000 Hz at DR 3
12:39:36.033 -> DIO1:RX Timeout
12:39:38.929 -> TX on freq 867300000 Hz at DR 5
12:39:39.022 -> DIO0:TX Done
12:39:40.001 -> RX on freq 867300000 Hz at DR 5
12:39:40.001 -> DIO1:RX Timeout
12:39:40.981 -> RX on freq 869525000 Hz at DR 3
12:39:41.027 -> DIO1:RX Timeout
12:39:43.925 -> TX on freq 868100000 Hz at DR 4
12:39:44.065 -> DIO0:TX Done
12:39:45.047 -> RX on freq 868100000 Hz at DR 4
12:39:45.047 -> DIO1:RX Timeout
12:39:46.074 -> RX on freq 869525000 Hz at DR 3
12:39:46.074 -> DIO1:RX Timeout
12:39:48.968 -> TX on freq 867500000 Hz at DR 4
12:39:49.060 -> DIO0:TX Done
12:39:50.040 -> RX on freq 867500000 Hz at DR 4
12:39:50.040 -> DIO1:RX Timeout
12:39:51.065 -> RX on freq 869525000 Hz at DR 3
12:39:51.113 -> DIO1:RX Timeout
12:39:54.936 -> TX on freq 868500000 Hz at DR 3
12:39:55.169 -> DIO0:TX Done
12:39:56.148 -> RX on freq 868500000 Hz at DR 3
12:39:56.148 -> DIO1:RX Timeout
12:39:57.127 -> RX on freq 869525000 Hz at DR 3
12:39:57.173 -> DIO1:RX Timeout
12:40:00.950 -> TX on freq 867700000 Hz at DR 3
12:40:01.140 -> DIO0:TX Done
12:40:02.163 -> RX on freq 867700000 Hz at DR 3
12:40:02.163 -> DIO1:RX Timeout
12:40:03.144 -> RX on freq 869525000 Hz at DR 3
12:40:03.191 -> DIO1:RX Timeout
12:40:14.764 -> TX on freq 868100000 Hz at DR 2
12:40:15.137 -> DIO0:TX Done
12:40:16.166 -> RX on freq 868100000 Hz at DR 2
12:40:16.166 -> DIO1:RX Timeout
12:40:17.147 -> RX on freq 869525000 Hz at DR 3
12:40:17.193 -> DIO1:RX Timeout
12:40:20.736 -> TX on freq 867900000 Hz at DR 2
12:40:21.155 -> DIO0:TX Done
12:40:22.145 -> RX on freq 867900000 Hz at DR 2
12:40:22.145 -> DIO1:RX Timeout
12:40:23.162 -> RX on freq 869525000 Hz at DR 3
12:40:23.162 -> DIO1:RX Timeout
12:40:25.773 -> Deep Sleep until Next TxPacket:248931 ms
12:44:33.604 -> ets Jun 8 2016 00:22:57
12:44:33.604 ->
12:44:33.604 -> rst:0x5 (DEEPSLEEP_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
12:44:33.604 -> configsip: 188777542, SPIWP:0xee
12:44:33.604 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
12:44:33.604 -> mode:DIO, clock div:1
12:44:33.650 -> load:0x3fff0018,len:4
12:44:33.650 -> load:0x3fff001c,len:1044
12:44:33.650 -> load:0x40078000,len:8896
12:44:33.650 -> load:0x40080400,len:5816
12:44:33.650 -> entry 0x400806ac

It seems like the board is having troubles getting the acknowledgement from the TTN Gateway (please see the output below without the debugging): grafik
It always takes around 40 until the board acknowledges the received signal.

Btw.: How can I program a static SF?

EDIT:
I have disabled the adaptive datarate and the sending confirmation, which isn’t necessary for my application and I’m fin with the current way it works.

Can I manually set the datarate to SF9?

/ADR enable/
bool loraWanAdr = false;

/* Indicates if the node is sending confirmed or unconfirmed messages */
bool isTxConfirmed = false;

Hi,

If you just want to use SF9, you should modify the DR to DR_3.