Unable to Join LoRaWAN network Using LoRaWAN_AT_Slave Example.
Hello Developers,
I am currently facing an issue with joining the LoRaWAN network using the LoRaWAN AT Slave example provided by STM32Cube_FW_WL_V1.3.0 on a new Nucleo STM32WL55JC1 board. Despite following the provided instructions and configuring the example for the EU868 region, I am unable to successfully join the network.
Here are the steps I have taken and the observations I have made:
- Flashed the LoRaWAN AT Slave example to the STM32WL55JC1 Nucleo board without any apparent problems.
- Configured the board for the EU868 region.
- Entered the necessary AT commands for configuring Device EUI, Application EUI, Application Key, ADR, and Data Rate.
- Initiated the join procedure with AT+JOIN=1 to use Over-The-Air Activation (OTAA) mode.
However, despite multiple attempts, the join procedure fails consistently, and I receive a "JOIN FAILED" response from the LoRaWAN module.
I have tried adjusting parameters such as Data Rate (AT+DR) and Transmit Power (AT+TXP), but the issue persists.
Here is a snippet of the AT command responses:
APPLICATION_VERSION: V1.3.0
MW_LORAWAN_VERSION: V2.5.0
MW_RADIO_VERSION: V1.3.0
L2_SPEC_VERSION: V1.0.4
RP_SPEC_VERSION: V2-1.0.1
ATtention command interface
AT? to list all available functions
AT+BAND=?
5:EU868
OK
AT+DEUI=xx:xx:xx:xx:xx:xx:xx:xx
OK
AT+APPEUI=xx:xx:xx:xx:xx:xx:xx:xx
OK
AT+APPKEY=xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
OK
AT+ADR=0
OK
AT+DR=3
OK
AT+JOIN=1
417s568:TX on freq 868100000 Hz at DR 3
OK
417s776:MAC txDone
422s763:RX_1 on freq 868100000 Hz at DR 3
422s822:IRQ_RX_TX_TIMEOUT
422s822:MAC rxTimeOut
423s808:RX_2 on freq 869525000 Hz at DR 0
424s005:IRQ_RX_TX_TIMEOUT
424s006:MAC rxTimeOut
+EVT:JOIN FAILED
AT+DR=4
OK
AT+JOIN=1
440s558:TX on freq 868300000 Hz at DR 4
OK
440s673:MAC txDone
445s657:RX_1 on freq 868300000 Hz at DR 4
445s707:IRQ_RX_TX_TIMEOUT
445s708:MAC rxTimeOut
446s706:RX_2 on freq 869525000 Hz at DR 0
446s903:IRQ_RX_TX_TIMEOUT
446s904:MAC rxTimeOut
+EVT:JOIN FAILED
AT+TXP=?
0
OK
AT+TXP=7
OK
AT+JOIN=1
510s927:TX on freq 868100000 Hz at DR 4
OK
511s042:MAC txDone
516s026:RX_1 on freq 868100000 Hz at DR 4
516s076:IRQ_RX_TX_TIMEOUT
516s077:MAC rxTimeOut
517s075:RX_2 on freq 869525000 Hz at DR 0
517s272:IRQ_RX_TX_TIMEOUT
517s273:MAC rxTimeOut
+EVT:JOIN FAILED
I would greatly appreciate any insights, suggestions, or guidance on how to troubleshoot and resolve this issue. Additionally, if there are any specific configurations or steps that I may be missing or if there are known issues with the provided example code, please let me know.
Thank you in advance for your assistance.
Best regards,
Taksh Patel.
