Hello,
I am connecting a Seeeduino LoraWan board to RAK2749 gateway which is using Semtech UDP Packet forwarder to forward the messages to hosted loraserver.io instance in the cloud.
In summary:
- Node sends a confirmed uplink to gateway
- Gateway forwards this confirmed uplink to loraserver instance
- loraserver processes the uplink
- loraserver sends an downlink with ack: true down to gateway
- gateway recieves the said downlink
Here the problem lies. The gateway doesn’t informs the Node about the confirmed downlink at all. This is a problem since the node doesn’t recieves the “ack” and thinks the packet didn’t reach the server at all. Where in real life it has.
Here is the gateway packet logger, with the downlink details opened:
Here is the loraserver live lora frames showing the downlink being sent down to the gateway:
The system log constantly is saying “[up] Receive Downlink Packet! Drop it”. Here is the screenshot. I think this has something to do with this problem. But can’t seem to find any setting related to this. Here is screenshot:
Here is the log from my seeeduino’s Serial monitor:
+VER: 2.1.15
+ID: DevAddr, 00:50:BB:11
+ID: DevEui, 47:68:B2:69:00:20:00:3C
+ID: AppEui, 52:69:73:69:6E:67:48:46
+KEY: NWKSKEY 2B7E151628AED2A6ABF7158809CF4F3C
+KEY: APPSKEY 2B7E151628AED2A6ABF7158809CF4F3C
+KEY: APPKEY 192B37530EE3C8B4C0C42E86304BA14A
+MODE: LWABP
+DR: AU915
+DR: DR0
+DR: AU915 DR0 SF12 BW125K
+CH: 0,916800000,DR0:DR5
+CH: 1,917000000,DR0:DR5
+CH: 2,917200000,DR0:DR5
+RXWIN1: 0,916800000
+RXWIN2: 917200000,DR8
+LW: DC, OFF, 0
+LW: JDC, OFF
+POWER: 14
Completed Initialization
Starting scriptMessage: H:51.27,T:26.58,P:95138.00,A:528.86,
Failed to recieve ack. Trying again
+CMSGHEX: Start
+CMSGHEX: Wait ACK
+CMSGHEX: Done
Failed to recieve ack. Trying again
+CMSGHEX: Start
+CMSGHEX: Wait ACK
+CMSGHEX: Done
Failed to recieve ack. Trying again
+CMSGHEX: Start
+CMSGHEX: Wait ACK
+CMSGHEX: Done
Failed to recieve ack. Trying again
+CMSGHEX: Start
+CMSGHEX: Wait ACK
+CMSGHEX: Done
Failed to recieve ack. Trying again
Couldn’t send payload 1, giving up
The code is sending a confirmed uplink with data to the gateway. I am actually receiving these packets as expected on the gateway and server. The only problem is that the acknowledgement is not sent to the seeeduino (node).
The questions are:
- Is there any setting which I have to enable to allow the gateway to send this acknowledgement to the node?
- What does the message “[up] Receive Downlink Packet! Drop it” mean in the gateway system logs?