OTAA transmission failure problem

After building the LoRaWan system, we are testing RAK3172-EVB LoRa transmission.

Even if the gateway and device are close together,
As shown in the log below, sometimes transmission succeeds and sometimes it fails.

I am asking this question because I am curious about how to resolve this symptom.



In your log, I don’t see a JOIN confirmation. It looks like you are sending data without being connected to your LoRaWAN server.

Setup your RAK3172 correct to match with your gateway region (frequencies)
Setup your RAK3172 in your LoRaWAN server. Make sure DevEUI, AppEUI, AppKey are correct.

Send an AT+JOIN command to the RAK3172 and wait for it to connect to the LoRaWAN server.

Then try again after the device has joined the LNS.

1 Like

Join confirmed.
I restarted the device and transmitted, but the symptoms were the same.



I missed that, sorry.

Confirmed messages are not a guarantee that the packet is really received by the LoRaWAN server. It just means that the RAk3172 is re-sending it if it doesn’t get an ACK from the server.

It still can fail due to

  • node is too far from the gateway, doesn’t receive the ACK’s
  • node is too close to the gateway, which can lead to over-saturation of the signal and the packets are nor received
  • network latency between the gateway and the LoRaWAN server
  • RX time windows are set slightly different in the RAK3172 and in the LoRaWAN server.

On the LoRaWAN server logs, can you see the packets arriving, are the same packages received multiple times?
On the gateway traffic logs, can you see the uplink data packets and the downlink ACK packets?

You can change the number of retries for confirmed packets with AT+RETY. Try to set the number or retries higher.

We found out that there was a problem with the channel and band of the network server, so we fixed it and now it is transmitting normally.
thank you.

I’m using a 16-channel gateway.
I wonder if it is okay to set this channel value.

channel value : enabled_uplink_channels=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15]

Channels 0 to 15 should be ok.

Thank you very much!!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.