I have two RAKWireless Gateways(RAK7249 and RAK7258) that I need to get from the TTN payload informations from all them (rssi, snr, location, etc…), but I the payload parse I am seeing just one of them. Take a look below in the screenshot and the JSON:
Could you hep me?
Claudio
I found two LoRaWAN Gateways working with my device, take a look:
[
{
"name": "as.up.data.forward",
"time": "2023-03-22T15:29:43.787714263Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B6073"
}
}
],
"data": {
"@type": "type.googleapis.com/ttn.lorawan.v3.ApplicationUp",
"end_device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B6073"
},
"correlation_ids": [
"as:up:01GW4Z1EB9JM1NJ9TBP5XFYBJ7",
"gs:conn:01GVXBC8B0QFV2NPXRAPDVGQA1",
"gs:up:host:01GVXBC8B8F09AXT49NENTJ3QQ",
"gs:uplink:01GW4Z1E4KV90RDEVEHWE3APYM",
"ns:uplink:01GW4Z1E4PXZ55E11YPKJRKM2W",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GW4Z1E4P8CFE7MYFCPTMF0Q0",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GW4Z1EB8WD7M03XGCMJ3C3Q2"
],
"received_at": "2023-03-22T15:29:43.784582608Z",
"uplink_message": {
"session_key_id": "AYcJoeCVN8a4tCD6Cx/67A==",
"f_port": 3,
"f_cnt": 177,
"frm_payload": "0D8OHsr5",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "brrjnasondasgw01",
"eui": "60C5A8FFFE74D380"
},
"time": "2023-03-22T15:29:42.683104038Z",
"timestamp": 2093078691,
"rssi": -76,
"channel_rssi": -76,
"snr": 8.5,
"location": {
"latitude": -22.998018054874855,
"longitude": -43.38812005529691,
"altitude": 5,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQo7GH5gcaDAjnveygBhC54aKQAiC4+dip9Ys6",
"received_at": "2023-03-22T15:29:43.471543061Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "915400000",
"timestamp": 2093078691,
"time": "2023-03-22T15:29:42.683104038Z"
},
"received_at": "2023-03-22T15:29:43.574660771Z",
"consumed_airtime": "0.056576s",
"locations": {
"frm-payload": {
"latitude": -22.9978493,
"longitude": -43.3880212,
"altitude": 26,
"source": "SOURCE_GPS"
}
},
"network_ids": {
"net_id": "000013",
"tenant_id": "ttn",
"cluster_id": "eu1",
"cluster_address": "eu1.cloud.thethings.network"
}
}
},
"correlation_ids": [
"as:up:01GW4Z1EB9JM1NJ9TBP5XFYBJ7",
"gs:conn:01GVXBC8B0QFV2NPXRAPDVGQA1",
"gs:up:host:01GVXBC8B8F09AXT49NENTJ3QQ",
"gs:uplink:01GW4Z1E4KV90RDEVEHWE3APYM",
"ns:uplink:01GW4Z1E4PXZ55E11YPKJRKM2W",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GW4Z1E4P8CFE7MYFCPTMF0Q0",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GW4Z1EB8WD7M03XGCMJ3C3Q2"
],
"origin": "ip-10-100-14-9.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01GW4Z1EBB7AFZD4F604NMMY04"
}