This is a point what I’m curious.
See below screenshot.
There are two up&down link communications.
Before
#1: I added data as confirmed downlink using MQTT
#1: Ther server received a confirmed uplink from a node and the server sent a confirmed downlink including ack for the previous uplink.
This is the payload of the confirmed downlink. I beileve that “ack”: true means the acknowlegement for the previous uplink. Usually the downlink is unconfirmed if I don’t add data in queue like
#2 sequence.
{
"downlinkMetaData": {
"txInfo": {
"gatewayId": "00956901000000b8",
"frequency": 922500000,
"power": 23,
"modulation": "LORA",
"loraModulationInfo": {
"bandwidth": 125,
"spreadingFactor": 12,
"codeRate": "4/5",
"polarizationInversion": true
},
"board": 0,
"antenna": 0,
"timing": "DELAY",
"delayTimingInfo": {
"delay": "1s"
},
"context": "XvTb/A=="
}
},
"phyPayload": {
"mhdr": {
"mType": "ConfirmedDataDown",
"major": "LoRaWANR1"
},
"macPayload": {
"fhdr": {
"devAddr": "015054d1",
"fCtrl": {
"adr": true,
"adrAckReq": false,
"ack": true,
"fPending": false,
"classB": false
},
"fCnt": 3,
"fOpts": [
{
"cid": "LinkADRReq",
"payload": {
"dataRate": 0,
"txPower": 5,
"chMask": [
true,
true,
true,
true,
true,
true,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false
],
"redundancy": {
"chMaskCntl": 0,
"nbRep": 1
}
}
}
]
},
"fPort": 10,
"frmPayload": [
{
"bytes": "W0Mv8u/YVi+HFj5+"
}
]
},
"mic": "62a6c5e5"
}
},
#2: I recieved second confirmed uplink from the node. There are two data types(ack and uplink) on DEVICE DATA log.
I assume the ack in #2 is from frmPayLoad. I’m not sure.
Anyway, my question is what “acknowledged”: false means in the ack data. Sometimes it’s "true"
Does that mean that the server didn’t receive an acknowledgment from the node for the previous confirmed downlink?
For now, I can’t know whether the node received data or not. That’s why I’m having this question to figure out where the problem has.
{
"type": "ack",
"payload": {
"acknowledged": false,
"applicationID": "1",
"applicationName": "Test",
"devEUI": "0095690e00000674",
"deviceName": "Sensor674",
"fCnt": 3
}
},
{
"type": "uplink",
"payload": {
"adr": true,
"applicationID": "1",
"applicationName": "Test",
"data": "AkQAEwgCDwYUAQAAACMmAAAAIyYAAAAjJgAAAAAAAAAAAAAIOXcD",
"devEUI": "0095690e00000674",
"deviceName": "Sensor674",
"fCnt": 3,
"fPort": 10,
"txInfo": {
"dr": 0,
"frequency": 922100000
}
}
}