Hi All
I’m very much a noob with TTN so please forgive my ignorance. I have 4 RAK811 nodes all of which have been upgraded with the latest firmware. 1 of them connects to TTN via the Hamilton Victoria Australia gateway with ease and the others which are set up exactly the same constantly return at+recv=6,0,0 errors. Every now and then I can see that TTN has received a response from one of the RAK811’s but this is rare. If I try to send a test message I get an Error1.
I have been trying to get this to work for nearly 2 weeks now and assume the problem is a setting but I have no idea what setting it could be.
Thanks in advance for any help you might be able to give.
If the error 1 you mention means at+recv=1,0,0 it means STATUS_TX_COMFIRMED. Which actually means that you did a confirmed uplink transmit which was acknowledged by the network. So no error.
Unless you mean error code - 1 immediately upon entering the at+send command. This means a parameter error in the command.
The error status at+recv=6 you are getting means STATUS_RX2_TIMEOUT. My best guess is that you did not get a confirmation for some reason.
Probably best to switch to unconfirmed first. This means use at+send=0,,. The first parameter means unconfirmed. If all goes well you would expect a at+recv=2,0,0 back. This means that the RAK811 completed a transmit.
And if you have access to the gateway’s console message monitor, you should see the messages coming in.
If that works you could go back to confirmed.
If you want some more help you could capture the command/reply stream (keys masked) for the working and a failing module.
I am using a RAK811 using simple at+ commands to connect to TTN using OTAA. I have also got the same error recv=6,0,0 when trying to connect to the gateway.
I think, from reading the AT manual, that 6 is STATUS_RX2_TIMEOUT
If I try to continue on and attempt to at+send I just get ERROR-5 which is CODE_NOT_JOIN
I have tried a few antennas.
The gateway is fine and my other nodes connect to it OK.
Check if your application receives the join request. You are connecting to the network, not to a gateway (LoRaWAN <> WIFI) so the application should show some activity.