RAK10701-P Field Tester number of discovered gateways is missed in the TTNV3 payload

Recently I bought a RAK10701-P Field Tester, and when I was reading the manual I discovered that the number of gateways that they have my device in the coverage zone depends on a after processing by a application server, in my case TagoIO. The RAK10701-P developers forgot to mention that first of all, the number of gateways information need to be sent to the application server by, in my case, by TTNV3 LNS API.

By the RAK10701-P Quick Start Guide manual, in the TTNV3 the application server ( https://dev.disk91.com/fieldtester/ttn/v3 ) is the application server, but I could not find any information about the TTNV3 payload information.

@beegee is helping me to find a solution for this problem and he wrote that in the TTNV3 payload information about just one satellite, different from ChirpStack that it has information about all satellites in the coverage zone.

My doubt is how the disk91 solution is working if the information about the gateways in the coverage zone is not being sent by TTNV3 payload?

Any idea?

Claudio

the disk91 backend gets the information through the API of TTNV3, it’s how it can know how many gw got each beep from the field tester :wink: not sure why you speak of satellite :confused:

Thank you by your support.

Sure it is by API of TTNV3, by the GNSS satellite information in the payload that comes from this API don´t have this information as the manual explain about Chirpstack/Datacake. Take a look in the diagram below from the RAK10701-P manual: RAK10701-P Field Tester Pro for LoRaWAN Quick Start Guide | RAKwireless Documentation Center

Blockquote

RAK10701-P Field Tester Pro Guide for Chirpstack
#How Does It Work?
There are two steps under the hood of the Field Tester. In step one, the Field Tester is sending out data packets over LoRaWAN. These packets are received by one or multiple gateways. These packets are forwarded from the LoRaWAN network server to another backend server. When the packets are forwarded, they include information about signal strength and the number of gateways that have received the packet.

image

Step 1 - Field Tester Sending Uplink Payload
Figure 49: Step 1 - Field Tester Sending Uplink Payload
In the second step, the backend server is calculating the minimum and maximum distance between the Field Tester Pro and the gateways that received the data. Together with the minimum and maximum RSSI levels, this information is then sent back to the Field Tester Pro as a LoRaWAN downlink.

image

Step 2 - Backend Server Sending Useful Information as Downlink

To use Chirpstack for RAK10701-P, you must have a working installation of the Chirpstack LoRaWAN network server. It can be on a dedicated machine, Raspberry Pi, or in a cloud VPS instance. It should have a fixed IP address and port to where Datacake.co will connect to.

Blockquote

Now I found in the TTN payload, gateways ids for my two LoRaGateways, and I will continue to develop the Payload decoder for TTN and TagoIO. I will share it when I had finished/tested

{
    "name": "as.up.data.forward",
    "time": "2023-03-23T11:02:08.442016478Z",
    "identifiers": [
      {
        "device_ids": {
          "device_id": "eui-ac1f09fffe08e7af",
          "application_ids": {
            "application_id": "rakwireless-field-tester"
          },
          "dev_eui": "AC1F09FFFE08E7AF",
          "join_eui": "AC1F09FFF9150701",
          "dev_addr": "260B218D"
        }
      }
    ],
    "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": "260B218D"
      },
      "correlation_ids": [
        "as:up:01GW72469PNQV409YM8H1HYKH2",
        "gs:conn:01GW595BKTEQ0X7C5DYC0ZGMXP",
        "gs:up:host:01GW595BM3WJ9P4KR2ZG9RPCGY",
        "gs:uplink:01GW724632XEBZC34GZC7C99D8",
        "ns:uplink:01GW724634P15027XEK74Z1K37",
        "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GW72463445NRMFMZQN25SHA6",
        "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GW72469PSKRPDFDKH4QDGP1K"
      ],
      "received_at": "2023-03-23T11:02:08.438550175Z",
      "uplink_message": {
        "session_key_id": "AYcLtE//FdjGYCRDhKrEiQ==",
        "f_port": 1,
        "f_cnt": 1413,
        "frm_payload": "0D8Nnsr7A+IHDQ==",
        "rx_metadata": [
          {
            "gateway_ids": {
              "gateway_id": "brrjnasondasgw01",
              "eui": "60C5A8FFFE74D380"
            },
            "time": "2023-03-23T11:02:07.849514961Z",
            "timestamp": 3894624931,
            "rssi": -80,
            "channel_rssi": -80,
            "snr": 9.5,
            "location": {
              "latitude": -22.998018054874855,
              "longitude": -43.38812005529691,
              "altitude": 5,
              "source": "SOURCE_REGISTRY"
            },
            "uplink_token": "Ch4KHAoQYnJyam5hc29uZGFzZ3cwMRIIYMWo//5004AQo4WNwQ4aCwiw4/CgBhDbntdrILiZ8c2syg0=",
            "received_at": "2023-03-23T11:02:08.127537073Z"
          },
          {
            "gateway_ids": {
              "gateway_id": "eui-60c5a8fffe74d472",
              "eui": "60C5A8FFFE74D472"
            },
            "time": "2023-03-23T11:02:07.078655958Z",
            "timestamp": 1703380539,
            "rssi": -54,
            "channel_rssi": -54,
            "snr": 10.25,
            "uplink_token": "CiIKIAoUZXVpLTYwYzVhOGZmZmU3NGQ0NzISCGDFqP/+dNRyELuMnqwGGgwIsOPwoAYQ9KfqsQEg+KyRy8nebg==",
            "received_at": "2023-03-23T11:02:08.120798893Z"
          }
        ],
        "settings": {
          "data_rate": {
            "lora": {
              "bandwidth": 125000,
              "spreading_factor": 7,
              "coding_rate": "4/5"
            }
          },
          "frequency": "916000000",
          "timestamp": 3894624931,
          "time": "2023-03-23T11:02:07.849514961Z"
        },
        "received_at": "2023-03-23T11:02:08.228969009Z",
        "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:01GW72469PNQV409YM8H1HYKH2",
      "gs:conn:01GW595BKTEQ0X7C5DYC0ZGMXP",
      "gs:up:host:01GW595BM3WJ9P4KR2ZG9RPCGY",
      "gs:uplink:01GW724632XEBZC34GZC7C99D8",
      "ns:uplink:01GW724634P15027XEK74Z1K37",
      "rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01GW72463445NRMFMZQN25SHA6",
      "rpc:/ttn.lorawan.v3.NsAs/HandleUplink:01GW72469PSKRPDFDKH4QDGP1K"
    ],
    "origin": "ip-10-100-5-244.eu-west-1.compute.internal",
    "context": {
      "tenant-id": "CgN0dG4="
    },
    "visibility": {
      "rights": [
        "RIGHT_APPLICATION_TRAFFIC_READ"
      ]
    },
    "unique_id": "01GW72469TS0MGEJ8KGEMZ2TE8"
  }
2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.