This was solved in V1.1.0063_Release_r205
I trying to write logic on my application side to handle cases like these. For RAK gateways I trust the gateway’s timestamp, as the packets can be buffered and sent to the network at quite some time later. Therefore the network time is incorrect.
However, the gateway metadata does not contain a time:
{
"app_id":"myapp",
"dev_id":"mydevice",
"hardware_serial":"1122334455667788",
"port":130,
"counter":2388,
"payload_raw":"JNAITQhmCIsI",
"metadata":{
"time":"2021-04-21T13:55:19.427237979Z",
"frequency":868.1,
"modulation":"LORA",
"data_rate":"SF11BW125",
"airtime":741376000,
"coding_rate":"4/5",
"gateways":[
{
"gtw_id":"eui-ac1f09fffe013d9b",
"timestamp":1442497396,
"time":"", // <== THIS IS EMPTY!!
"channel":0,
"rssi":-124,
"snr":-12.8,
"rf_chain":0
}
]
}
}
Because the time field for the gateway is empty, I do not know when the packets were received, and therefore I can not use the automatic data recovery feature to back fill missed data.
Is there a way we can have the time field populated so that the data recovery feature can be used?