Issue with RX Window Configuration for SX1262 on LoRaWAN Network #1136
Replies: 2 comments 21 replies
-
Hi @nikorainto, the problem appears to be with ThingPark, judging by the upper screenshot as it already reports an error. The main observation is that ThingPark apparently tried to schedule at Rx1 but failed to do so with that error you copied (Class A: LRC selected RX2(C0)). |
Beta Was this translation helpful? Give feedback.
-
Don't have a specific answer for you, but as I've been learning how to use the various LoRaWAN capabilities in RadioLib, a LOT of useful information has been revealed by un-commenting one or more of the 'debug' lines in /src/BuildOptUser.h ... besides revealing all kinds of LoRaWAN info to point you in the right direction, the debug info that appears in your serial terminal can of course also be a huge help with a module like the BME280, too! |
Beta Was this translation helpful? Give feedback.
-
Hello,
I am currently testing the RadioLib and LoRaWAN example on a custom board featuring an STM32L072RB MCU and a Waveshare SX1262 module. The testing environment includes a nationwide set of LoRaWAN gateways utilizing the ThingPark network platform for device management and message logging. ThingPark supports LoRaWAN v1.1.
I observed that my join request appeared in the gateway's log and a response was sent. However, it seems the RX window closes before my device can receive the join acceptance. Additionally, the JoinAccept packet log shows: "Delivery Failed Cause on RX1: Class A: LRC selected RX2(C0)." On my device I can see state being -1116 (RADIOLIB_LORAWAN_NO_DOWNLINK)
Previously, I have been using CubeCell with LoRaWAN v1.0.2 on the same network. When the signal is weak, it can take between 10-15 seconds for the JoinAccept to appear on the device. I'm considering whether this might be the case here as well. I believe that by default, RadioLib waits 5-6 seconds for a response. Should I consider increasing
RADIOLIB_LORAWAN_JOIN_ACCEPT_DELAY_1_MS
? Does that sound correct?You can view my current code here: GitHub Link
Beta Was this translation helpful? Give feedback.
All reactions