I issued a join request from my end-device, and I can see that it is received and accepted in the console. However, the confirmation message does not seem to be received by my device since it outputs “error 99: LoRa join failed”
A few times it worked, but 95% of the time i either get uplink channel not found, our the message described above…
Hello @trymjb
I had the same issue. I asked on this form and kersing informed me that one of the channels that the rak811 chips was attempting to connect on was incorrect. So I did some digging on the RAKWireless forum and found that the RAK811 is setup to work with the RAKWireless gateway that isn’t exactly standard. The good news is that they plan to make a fix in the next FW release (no clue when that will be)
Better news is that after issuing the following commands the issue goes away:
at+set_config=lora:ch_mask:8:0
at+set_config=lora:ch_mask:7:0
at+set_config=lora:ch_mask:6:0
at+set_config=lora:ch_mask:5:0
at+set_config=lora:ch_mask:4:0
at+set_config=lora:ch_mask:3:0
at+set_config=lora:ch_mask:2:0
This is a chip wide setting. It will keep these settings after joining too, you can find this by issuing at+get_config=lora:channel. What I did was write a method to set these channels on/off all at once just for the join.
I believe that would leave you with a non-LoRaWAN device - This requires you to distribute traffic randomly across all 8 channels. Concentrating your traffic to one, two or three channels is detrimental to other users in terms of congestion, and where you may need a response form a GW ideally in the RX1 window this is always at the same channel as the node Tx so you would be forcing the GW’s to over use channels 0,1 & 2 potentially limiting their capacity through duty cycle limits and channel over use… please dont!
If the GW says it sent it more likely its a node issue - device timing? firmware implementation? RX2 timing? etc. Or it could be a long delay in the NS-GW backhaul connections causing GW to send late?
Originally you said
So likely something variable related to device operation or environment. Can you post you RSSI/SNR values (I know you responded earlier saying you had a couple of walls as absorbers so not too close…)