In RS1xx LoRa:
I want to send Downlink data to get Last 7 days data from RS1xx LoRa Protocol. I followed the below process.
Step 1: Set UTC
Enqueue downlink payload
|FCnt|FPort|Confirmed|Base64 encoded payload |
| 15 | 1 | yes | MDIwMDE4MDYxQjBDMTEwMA== |
I put this downlink payload from ChirpStack frontendUI.
In DEVICE DATA Section screen, I got payload below.
[
{
“type”: “txack”,
“payload”: {
“applicationID”: “32”,
“applicationName”: “Apetito-Bremen”,
“deviceName”: “APT-HB-Tem-NEU”,
“devEUI”: “ACXKCgA=”,
“fCnt”: 15,
“tags”: {},
“gatewayID”: “UDA11A=”,
“txInfo”: {
“gatewayID”: null,
“frequency”: 868300000,
“power”: 14,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 125,
“spreadingFactor”: 7,
“codeRate”: “4/5”,
“polarizationInversion”: true
},
“board”: 0,
“antenna”: 0,
“timing”: “DELAY”,
“delayTimingInfo”: {
“delay”: “1s”
},
“context”: “5ySYXA==”
}
}
}
]
In LORAWAN Frames Section screen, I got payload below.
{
“downlinkMetaData”: {
“gatewayID”: “503”,
“txInfo”: {
“frequency”: 868300000,
“power”: 14,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 125,
“spreadingFactor”: 7,
“codeRate”: “4/5”,
“polarizationInversion”: true
},
“board”: 0,
“antenna”: 0,
“timing”: “DELAY”,
“delayTimingInfo”: {
“delay”: “1s”
},
“context”: “5ySYXA==”
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “ConfirmedDataDown”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“fhdr”: {
“devAddr”: “0137”,
“fCtrl”: {
“adr”: true,
“adrAckReq”: false,
“ack”: true,
“fPending”: false,
“classB”: false
},
“fCnt”: 15,
“fOpts”: null
},
“fPort”: 1,
“frmPayload”: [
{
“bytes”: “pAqtJNkQy0dYBRKERDFWhg==”
}
]
},
“mic”: “b5e”
}
}
]
Step 2: Set downlink request to get last 7 days data
Set asRequestTargetedBacklogLIFO
Enqueue downlink payload
|FCnt|FPort|Confirmed|Base64 encoded payload |
| 18 | 1 | yes | MTAwMDE4MDYxMDBEMDgwMDE4MDYxQTBEMDgwMDAwMEE= |
I put this downlink payload from ChirpStack frontendUI.
In DEVICE DATA Section screen, I got payload below
[
{
“type”: “txack”,
“payload”: {
“applicationID”: “32”,
“applicationName”: “Apetito-Bremen”,
“deviceName”: “APT-HB-Tem-NEU”,
“devEUI”: “ACXKQ=”,
“fCnt”: 18,
“tags”: {},
“gatewayID”: “UDA1=”,
“txInfo”: {
“gatewayID”: null,
“frequency”: 867100000,
“power”: 14,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 125,
“spreadingFactor”: 7,
“codeRate”: “4/5”,
“polarizationInversion”: true
},
“board”: 0,
“antenna”: 0,
“timing”: “DELAY”,
“delayTimingInfo”: {
“delay”: “1s”
},
“context”: “Um6BPA==”
}
}
}
]
In LORAWAN Frames Section screen, I got payload below.
{
“downlinkMetaData”: {
“gatewayID”: “503050”,
“txInfo”: {
“frequency”: 867100000,
“power”: 14,
“modulation”: “LORA”,
“loRaModulationInfo”: {
“bandwidth”: 125,
“spreadingFactor”: 7,
“codeRate”: “4/5”,
“polarizationInversion”: true
},
“board”: 0,
“antenna”: 0,
“timing”: “DELAY”,
“delayTimingInfo”: {
“delay”: “1s”
},
“context”: “Um6BPA==”
}
},
“phyPayload”: {
“mhdr”: {
“mType”: “ConfirmedDataDown”,
“major”: “LoRaWANR1”
},
“macPayload”: {
“fhdr”: {
“devAddr”: “013b3b67”,
“fCtrl”: {
“adr”: true,
“adrAckReq”: false,
“ack”: true,
“fPending”: false,
“classB”: false
},
“fCnt”: 18,
“fOpts”: null
},
“fPort”: 1,
“frmPayload”: [
{
“bytes”: “PpkQr4t7PhJBAtP+z/s/T0klLfMRzy9OH2OEkBi8s2g=”
}
]
},
“mic”: “1d26e5ea”
}
}
]
Issue: I don’t see any payload in Uplink which I want to get. Here in this case last 7 days data.
Could anyone please help you on this.
Thanks all