and I see JoinRequest and JoinAccept, but node is never activated and this goes in loop. Also do not see any join acknowledgement on wistrio side.
On server side I tried setting LoRa version 1.0.0 up to 1.1.0 (although I see it is 1.0.2). DevUI and AppKey configured as it should be. What am I doing wrong?
maybe can see the gateway logs , check the loraserver have send the accept packet to the gateway (txpk info) with the right time and freq ,if it’s ok. should check the config with the end device .
Yes as @Yun suggests. Sometimes some of the parameters are wrong, or missing. For example datr: is not set properly, it will not go through as there is a parameter that is not accepted. This should be visible in the log.
as I looked in my loraserver.toml some basic configs:
[network_server.band]
name=“EU_863_870”
enabled_uplink_channels=[] (I played with these as well)
Seems correct.
But while I was playing around with the config, I noticed that join actually got through and I got first downlink/uplink. at this moment the only change I had done is just erased the channel list in loraserver gateway profiles, and put exactly same sequence back 0,1,2,3,4,5,6,7
Here is the output from loraserver logs currently, you can see I still have the channel error, but I also have downlink/uplink, so this error might be false positive?:
I investigated a bit further and it seems this is not uncommon for TTN also. The problem is that timings are something very critical, hence you miss the activation window so to say.
This should not be the same for ABP, ABP should work fine. Have you tried it?
If possible could you go for the ABP route just to see if the issues persists, it shouldn’t. If it disappears than perhaps it is a firmware issues to some degree. There are workarounds, for TTN, however for loraserver I think doing as you suggested (post in the loraserver forum) might lead to a solution. Brocaar is really knowledgeable and will atleast have a suggestions.
Sorry for not being able to help more, still learning myself.
Well, that sounds reasonable and pretty much can explain the randomness. Many thanks for your help and time. will be posting here if I find a permanent fix.
after updating loraserver to 2.6.0 it seems that join has improved a bit, I still get repetitive Join request/accept, but shortly it goes through. checking more
Yes this is our experience as well. Basically it is a timing issue the node doesn’t wait long enough to get the join request ack, and sends another request, etc. After 3-4 we get connected, this should not happen with ABP as there the key are pre-generated. I think this is an issue with all LoRa Nodes we used so far with TTN, I think this is not present in LoRa Server for some reason. Also RAK811 seems to connect right away. Perhaps @Fomi could look into increasing the timeout for the ARQ in the OTAA procedure in order to avoid this issue
Hi,
i have quite the same problem but it only concerns the node side.
I’m trying to connect a RAK5205 node on Objenious (french operator) with the 3 last firmwares :
RAK811_HF_trackerboard_V2.0.0.6.bin
RAK811_HF_trackerboard_V2.0.0.7.bin
RAK811_HF_trackerboard_V2.0.1.8.bin
And it can not join, here is the debug infos that I obtain :
The board seems to initialize correctly, the keys are correct also (I was just wondering about all this weird characters at the beginning).
I also have an old firmware (maybe before 2.0.0.0) that I modified to add some new functionalities and it works fine with this keys, so I’m sure they are good. I don’t understand why I can’t manage to make it work with the new versions that have some improvements I’d like to use.
Hi @JCDS.
This is very strange behavior.
Please flash again with 2.0.1.8 from here RAK5205-WisTrio-LoRa Git and try again.
Let me know what happened.
Regards
PS Are you using TTN or LoRa Server? Give screenshots from join uplink.
I can at leat confirm that I have been able to make the RAK5205 works on the Objenious network with firmware 2.0.0.6 & 2.0.0.7 (did not try the 2.0.0.8 yet)