In the uplink payload for v3 there are fields: correlation_ids and uplink_token.
I’m understanding that these are unique ids, my question is: to what scope are these unique?
Are they globally unique, unique to my application, or unique to my network server, etc.
I’d like to know how hard I can rely on these fields being truely unique so I can handle de-duplication of messages in my processing queue for my client application.
Here is an uplink example for reference:
{
"end_device_ids":{
"device_id":"202653aa",
"application_ids":{
"application_id":"test-application"
},
"dev_eui":"947EB911000F04EA",
"join_eui":"70B3D07ED00136DE",
"dev_addr":"00F3FE3D"
},
"correlation_ids":[
"as:up:01E6BYY2Y7FAKCWQQ754PX6B9F",
"gs:conn:01E6BPJRHW64WYZBEVQZ2BCFF",
"gs:uplink:01E6BYY2QFSTFQEN1EQFCAPRWBM",
"ns:uplink:01E6BYY2QH24VAR9ZAS89KB8GX",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01E6BYY2QHCTZ0YRC0V4QQ5TQR"
],
"received_at":"2020-04-20T14:12:37.961145931Z",
"uplink_message":{
"session_key_id":"ASPK<EWB&3i3mqk5aNon4y7+tg==",
"f_port":3,
"f_cnt":105,
"frm_payload":"CQAACgAACwAAHQFFBBEEeABBCCeAAEABBBA",
"decoded_payload":{
},
"rx_metadata":[
{
"gateway_ids":{
"gateway_id":"eui-397c5daabfe0071ef",
"eui":"397C1D5AABFE0561A1"
},
"timestamp":1241518731,
"rssi":-90,
"channel_rssi":-90,
"snr":8,
"uplink_token":"QiIKIBoUZXVpLTY0N2ZkeFdmZmUwMDgxZjESCGR/3v/+XILxEIulgNAE",
"channel_index":4
}
],
"settings":{
"data_rate":{
"lora":{
"bandwidth":125000,
"spreading_factor":7
}
},
"data_rate_index":5,
"coding_rate":"4/5",
"frequency":"922800000",
"timestamp":1241518731
},
"received_at":"2020-04-20T14:12:37.745813218Z"
}
}