ERROR JOIN STM32WL ChirpStack RADIOLIB_ERR_NO_JOIN_ACCEPT #1463
Replies: 5 comments 23 replies
-
LoL, about 20% of people using LW for the first time! This is usually because the device fails to hear the JA that is being sent. It is unlikely your gateway didn't send it, but it's quick to check its console to see that it did. Typically the issue is that the device & gateway are too close - LOng RAnge means greater sensitivity so if your JR is being heard at much less than -60 RSSI, the response may be overwhelming the input of the device. You need 10m & a brick wall separation. |
Beta Was this translation helpful? Give feedback.
-
ABP, not requiring a join, getting an uplink through is no surprise if the JR is heard as well. This is device to gateway. Your likely issue is with gateway to device, hence asking about the RSSI / SNR.
Good, but have you told the radios this so they cooperate? ;-) It really is about the measured values, to go further we need to know what they are! PS, helps enormously if you can format the logs with the code <> tool please. |
Beta Was this translation helpful? Give feedback.
-
I'm sorry to say, but you are. Because twice now I've asked for information on the RSSI & SNR of the Join Request and you've gone away to do your own thing, some of which may have worked, some random hacking on the code base even though you have a successful join request being received and then there is WTH (What the Heck) of the
But it may not generate a valid EUI which has some specific formatting required in the first byte. And due to the STM32 only providing 3 bytes when you need 4, there is the possibility of the same EUI being generated by two different devices. What impact do you think using a private sync word would make, given your gateway & CS is working OK with other devices? Plus you setting channel info is totally overridden by the requirements of your LW regional settings. I have no idea how you've managed to get CS to issue a JA with this muddle so you do have some hidden genius somewhere! But most importantly, you had it working 5 days ago, with these changes you now have a collection of SPI failures - the serial output log is for you to read too! You can look at what was working and compare to see those -70x responses! I can see the RSSI & SNR in your gateway log - help us to help you - pull out the info requested so we can see it clear & upfront.
As the code needs to know when the radio has finished doing something - like listening for an incoming message, you need to resolve the SPI issues. |
Beta Was this translation helpful? Give feedback.
-
Somehow at 17:34 your device magically switched from RadioLib to another LW stack and the equally magically switched to LoRa P2P and then amazingly managed to switch to back to this other LW stack. With such an uncontrolled, inexplicable set of results it's going to be very very very hard to help. Try the clock drift - check in with RAK on the clock drift - even consider using their LW stack which I know beegee-tokyo spent a lot of time working on so should work with their module. If you have more questions please try to be more precise & not incorporate random tests in to the mix. |
Beta Was this translation helpful? Give feedback.
-
The solution was to change libraries. Unfortunately, support is more concerned with finding excuses and blaming the user than answering questions. https://github.com/stm32duino/STM32LoRaWAN/tree/main |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone,
I am having issues with the JOIN process using the STM32WL chip and the RadioLib library. My network server is ChirpStack, which correctly registers the JoinAccept, but the library seems not to listen to the response and returns the error RADIOLIB_ERR_NO_JOIN_ACCEPT.
I have verified that the JoinRequest is sent correctly and that the JoinAccept is received by ChirpStack, but the device does not seem to process this response. Has anyone had a similar problem or knows how to solve it?
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions