- Issue is for Confirmed UP data, Unconfirmed Down data is sent from LoRa server.
- Is there a delay in sending Unconfirmed Down for the Unconfirmed up ?
- Should LoRa server respond for Unconfirmed Up sent from LoRa Node?
- LoRaWAN 1.0.x packet decoder is used to debug data.
It is perfectly valid that a confirmed uplink is acknowledged by an unconfirmed downlink. Note that regardless of the message-type, the frame contains
ack: true|false indicating the acknowledgement of the previous (confirmed) frame.
From the attached images,
For Confirmed data up we see there is false Fctrl.ACK and for Unconfirmed Down, we could see Fctrl.ACK is true
What does this 2 acknowledgement means. Can you please explain.
Is the 2 ack is valid ?
This is all valid. I advice you to read the LoRaWAN specification for the meaning of these fields as it contains the most complete documentation of the protocol https://lora-alliance.org/lorawan-for-developers.
We have gone through the document lorawantm_specification_-v1.1.pdf . Its mentioned in Section 188.8.131.52 for Confirmed Data message must be acknowledged by receiver but didn’t mention whether it should be unconfirmed data down or confirmed data down.
Our Customer here is expecting the below,
For Confirmed Data Up Message , Confirmed Data Down message should be come as acknowledge," but you are saying like ACK will be Unconfirmed Data Down.
Does LoRaWAN protocol works like our customers requirement ?
We also would like to know when and what case Confirmed Data Down will be received from receiver ?
If you need an ACK for an ACK, then that ACK needs an ACK too and you’ll end up in a loop of confirmed messages with ACKs
The downlink confirmed message is there for the same reason as the uplink. E.g. when an application wants to send a downlink payload which needs an acknowledgement.
It could be that when a confirmed downlink is scheduled, that it too contains an ACK to acknowledge a confirmed uplink, but please note that the downlink message-type serves a different purpose than the ACK in the downlink payload. In this case the ACK is there to acknowledge the previous uplink (confirmed) and the confirmed downlink is to request the device to send an ACK.