Good morning,
I bougth a Rakwireless RAK10701-P Field Tester that it needs to get from the payload header the “gateway id” and “gateway location(lat/long)”. Rakwireless develped a Chirpstack Decoder with all gateways that they can reach the Field Tester.
Well, I tried to do the same with TTNV3, but I can see in the payload header only 1 gateway, but I have 2 gateways that they are seeing the Field Tester. Just to do a check, I turned off the gateway that I was seeing the in payload header, then o Field Tester connected to TTN by the second gateway, then the gateway id began to be visible in the device log/payload header.
Question: Could the TTNV3 LNS handle all the gateways information available at the same time?
Take a look in the Field Tester JSON log:
Regards,
Claudio
[
{
"name": "as.up.data.forward",
"time": "2023-03-15T03:26:04.479377167Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B3854"
}
}
],
"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": "260B3854"
},
"correlation_ids": [
"as:up:01GVHMVBNTQ7PGVXNFNYGXM9B9",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMVBF7HT2Q3FG46K7GS77R",
"ns:uplink:01GVHMVBF8RV6NVFCTDDQJ5MBW",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMVBF8DQ6K31J5DSDZ4QTV",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMVBNT4RNRBSS0YT60WWJ3"
],
"received_at": "2023-03-15T03:26:04.474359709Z",
"uplink_message": {
"session_key_id": "AYbacTizO3mRnBhgTF76hw==",
"f_port": 1,
"f_cnt": 9163,
"frm_payload": "0D8LnssBA/YICg==",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "brrjnasondasgw01",
"eui": "60C5A8FFFE74D380"
},
"time": "2023-03-15T03:26:02.988275051Z",
"timestamp": 3766704659,
"rssi": -14,
"channel_rssi": -14,
"snr": 10,
"location": {
"latitude": -22.998018054874855,
"longitude": -43.38812005529691,
"altitude": 5,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQk7SNhA4aCwjM9cSgBhDq5bh9ILi034jQ4lc=",
"received_at": "2023-03-15T03:26:04.161803930Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "915200000",
"timestamp": 3766704659,
"time": "2023-03-15T03:26:02.988275051Z"
},
"received_at": "2023-03-15T03:26:04.264337639Z",
"confirmed": true,
"consumed_airtime": "0.061696s",
"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:01GVHMVBNTQ7PGVXNFNYGXM9B9",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMVBF7HT2Q3FG46K7GS77R",
"ns:uplink:01GVHMVBF8RV6NVFCTDDQJ5MBW",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMVBF8DQ6K31J5DSDZ4QTV",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMVBNT4RNRBSS0YT60WWJ3"
],
"origin": "ip-10-100-5-244.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01GVHMVBNZ21G7FK4DWG5KAVJ6"
},
{
"time": "2023-03-15T03:25:57.230Z",
"name": "synthetic.status.filter_disabled",
"isError": false,
"isSynthetic": true,
"unique_id": "synthetic.1678850757230"
},
{
"name": "as.up.data.forward",
"time": "2023-03-15T03:25:49.464590828Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B3854"
}
}
],
"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": "260B3854"
},
"correlation_ids": [
"as:up:01GVHMTX0M08Z2Q5Q5Q6SGEA0A",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMTWT2R5QYCJET934VD9GD",
"ns:uplink:01GVHMTWT39XMC7XG9BJXJ3SNX",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMTWT3XBJXMR08V8ESE67Y",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMTX0MZHE8ZXQ7Y2Y3S5RN"
],
"received_at": "2023-03-15T03:25:49.460287364Z",
"uplink_message": {
"session_key_id": "AYbacTizO3mRnBhgTF76hw==",
"f_port": 1,
"f_cnt": 9162,
"frm_payload": "0D8LnssBA/gJCQ==",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "brrjnasondasgw01",
"eui": "60C5A8FFFE74D380"
},
"time": "2023-03-15T03:25:47.976619005Z",
"timestamp": 3751703780,
"rssi": -11,
"channel_rssi": -11,
"snr": 8.75,
"location": {
"latitude": -22.998018054874855,
"longitude": -43.38812005529691,
"altitude": 5,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQ5On5/A0aCwi99cSgBhCG+bV3IKC14peY4lc=",
"received_at": "2023-03-15T03:25:49.149130269Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "916200000",
"timestamp": 3751703780,
"time": "2023-03-15T03:25:47.976619005Z"
},
"received_at": "2023-03-15T03:25:49.251619893Z",
"confirmed": true,
"consumed_airtime": "0.061696s",
"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:01GVHMTX0M08Z2Q5Q5Q6SGEA0A",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMTWT2R5QYCJET934VD9GD",
"ns:uplink:01GVHMTWT39XMC7XG9BJXJ3SNX",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMTWT3XBJXMR08V8ESE67Y",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMTX0MZHE8ZXQ7Y2Y3S5RN"
],
"origin": "ip-10-100-5-244.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01GVHMTX0RJPKP1BS46K228071"
},
{
"name": "as.up.data.forward",
"time": "2023-03-15T03:25:34.473999832Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B3854"
}
}
],
"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": "260B3854"
},
"correlation_ids": [
"as:up:01GVHMTEC6QJBG0WNHECW0T213",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMTE5P4E9VZF4GRECTKC43",
"ns:uplink:01GVHMTE5QM4E72MV3TWEX6S58",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMTE5QBTYP4QCRN3QZR6F5",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMTEC6PJG1MEV20FVQ84NN"
],
"received_at": "2023-03-15T03:25:34.470299732Z",
"uplink_message": {
"session_key_id": "AYbacTizO3mRnBhgTF76hw==",
"f_port": 1,
"f_cnt": 9161,
"frm_payload": "0D8KHssBA/wJCQ==",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "brrjnasondasgw01",
"eui": "60C5A8FFFE74D380"
},
"time": "2023-03-15T03:25:32.987168073Z",
"timestamp": 3736703907,
"rssi": -12,
"channel_rssi": -12,
"snr": 10.5,
"location": {
"latitude": -22.998018054874855,
"longitude": -43.38812005529691,
"altitude": 5,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQo6fm9Q0aCwiu9cSgBhCBwZt9ILjpoqfg4Vc=",
"received_at": "2023-03-15T03:25:34.161214560Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "916000000",
"timestamp": 3736703907,
"time": "2023-03-15T03:25:32.987168073Z"
},
"received_at": "2023-03-15T03:25:34.263848271Z",
"confirmed": true,
"consumed_airtime": "0.061696s",
"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:01GVHMTEC6QJBG0WNHECW0T213",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMTE5P4E9VZF4GRECTKC43",
"ns:uplink:01GVHMTE5QM4E72MV3TWEX6S58",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMTE5QBTYP4QCRN3QZR6F5",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMTEC6PJG1MEV20FVQ84NN"
],
"origin": "ip-10-100-14-9.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01GVHMTEC9YXNY3VVQ5MB8TCA5"
},
{
"name": "as.up.data.forward",
"time": "2023-03-15T03:25:19.462812990Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B3854"
}
}
],
"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": "260B3854"
},
"correlation_ids": [
"as:up:01GVHMSZQ2EPV2JP89A53F2P4B",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMSZGJFK3RZ7KNRHTX3QXH",
"ns:uplink:01GVHMSZGKZ4R0XKKGE5GE1TSY",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMSZGK2E43W05Y68H4S21T",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMSZQ2DYP0AX8ZX30Q6889"
],
"received_at": "2023-03-15T03:25:19.458535003Z",
"uplink_message": {
"session_key_id": "AYbacTizO3mRnBhgTF76hw==",
"f_port": 1,
"f_cnt": 9160,
"frm_payload": "0D8JHssAA/sLCA==",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "brrjnasondasgw01",
"eui": "60C5A8FFFE74D380"
},
"time": "2023-03-15T03:25:17.976331949Z",
"timestamp": 3721704547,
"rssi": -12,
"channel_rssi": -12,
"snr": 9.75,
"location": {
"latitude": -22.998018054874855,
"longitude": -43.38812005529691,
"altitude": 5,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQ4+jS7g0aCwif9cSgBhDXwrl3ILjFgreo4Vc=",
"received_at": "2023-03-15T03:25:19.149046027Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "915400000",
"timestamp": 3721704547,
"time": "2023-03-15T03:25:17.976331949Z"
},
"received_at": "2023-03-15T03:25:19.251655518Z",
"confirmed": true,
"consumed_airtime": "0.061696s",
"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:01GVHMSZQ2EPV2JP89A53F2P4B",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMSZGJFK3RZ7KNRHTX3QXH",
"ns:uplink:01GVHMSZGKZ4R0XKKGE5GE1TSY",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMSZGK2E43W05Y68H4S21T",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMSZQ2DYP0AX8ZX30Q6889"
],
"origin": "ip-10-100-14-9.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01GVHMSZQ6ZJVEQV85DHTTSNM1"
},
{
"name": "as.up.data.forward",
"time": "2023-03-15T03:25:04.476803379Z",
"identifiers": [
{
"device_ids": {
"device_id": "eui-ac1f09fffe08e7af",
"application_ids": {
"application_id": "rakwireless-field-tester"
},
"dev_eui": "AC1F09FFFE08E7AF",
"join_eui": "AC1F09FFF9150701",
"dev_addr": "260B3854"
}
}
],
"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": "260B3854"
},
"correlation_ids": [
"as:up:01GVHMSH2S1DAAJ47WB5298Y9Z",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMSGW76ZGEY3XQDHB1JC3H",
"ns:uplink:01GVHMSGW81W7ERG2Z8ZB83WC2",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMSGW8N7C492F87W8JVD4E",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMSH2SXXCEE4F20VWNTMG3"
],
"received_at": "2023-03-15T03:25:04.473238366Z",
"uplink_message": {
"session_key_id": "AYbacTizO3mRnBhgTF76hw==",
"f_port": 1,
"f_cnt": 9159,
"frm_payload": "0D8KnssAA/4LCQ==",
"rx_metadata": [
{
"gateway_ids": {
"gateway_id": "brrjnasondasgw01",
"eui": "60C5A8FFFE74D380"
},
"time": "2023-03-15T03:25:02.986599922Z",
"timestamp": 3706705164,
"rssi": -15,
"channel_rssi": -15,
"snr": 10,
"location": {
"latitude": -22.998018054874855,
"longitude": -43.38812005529691,
"altitude": 5,
"source": "SOURCE_REGISTRY"
},
"uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQjKq/5w0aCwiQ9cSgBhDHp7t9IODt4Mbw4Fc=",
"received_at": "2023-03-15T03:25:04.161628946Z"
}
],
"settings": {
"data_rate": {
"lora": {
"bandwidth": 125000,
"spreading_factor": 7,
"coding_rate": "4/5"
}
},
"frequency": "916600000",
"timestamp": 3706705164,
"time": "2023-03-15T03:25:02.986599922Z"
},
"received_at": "2023-03-15T03:25:04.264145283Z",
"confirmed": true,
"consumed_airtime": "0.061696s",
"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:01GVHMSH2S1DAAJ47WB5298Y9Z",
"gs:conn:01GV64PY0FN9H2EKQJ1K7J4PYV",
"gs:up:host:01GV64PY0RJ82TYRA4G5JAHG6B",
"gs:uplink:01GVHMSGW76ZGEY3XQDHB1JC3H",
"ns:uplink:01GVHMSGW81W7ERG2Z8ZB83WC2",
"rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GVHMSGW8N7C492F87W8JVD4E",
"rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GVHMSH2SXXCEE4F20VWNTMG3"
],
"origin": "ip-10-100-14-9.eu-west-1.compute.internal",
"context": {
"tenant-id": "CgN0dG4="
},
"visibility": {
"rights": [
"RIGHT_APPLICATION_TRAFFIC_READ"
]
},
"unique_id": "01GVHMSH2WCD9SM43G7CDHMDCC"
},
{
"time": "2023-03-15T03:24:53.952Z",
"name": "synthetic.status.cleared",
"isError": false,
"isSynthetic": true,
"unique_id": "synthetic.1678850693952"
}
]