(V2 stack) Everything is OK except fake GPS

QQ截图20210220212213

QQ截图20210220212252

QQ截图20210220212219

I can’t see the fake GPS option used in sx1302 on any TTN related page. Here is my example global.config :

    "gateway_conf": { //gateway parameters;所有prase的参数都存为全局变量
        "gateway_ID": "0016c001ff10d3f6", //raspberrypi1
        /* change with default server address/ports */
        //"server_address": "47.110.36.225", //private chirpstack server
        "server_address": "localhost", //Utility: Downlink server
        "serv_port_up": 1700,
        "serv_port_down": 1700,
        /* adjust the following parameters for your network */
        "keepalive_interval": 10,
        "stat_interval": 30,
        "push_timeout_ms": 100,
        /* forward only valid packets */
        "forward_crc_valid": true,
        "forward_crc_error": false,
        "forward_crc_disabled": false,
        /* GPS configuration */
        //"gps_tty_path": "/dev/ttyS0",
        /* GPS reference coordinates */
        "ref_latitude": 31.268575,
        "ref_longitude": 120.746857,
        "ref_altitude": 100,
        "fake_gps": true,
        /* Beaconing parameters */
        "beacon_period": 0,
        "beacon_freq_hz": 869525000,
        "beacon_datarate": 9,
        "beacon_bw_hz": 125000,
        "beacon_power": 14,
        "beacon_infodesc": 0
    },

You need to set

“gps”: true,

Also keep in mind not all software versions support fake gps.

When I added this line, nothing changed.

The above settings can receive GPS position information in chirpstack, so I think it may be the problem of TTN.

Of course, it’s just speculation

TTN v2 does not process any GPS info, fake or real.

Does that mean that you can only manually fill in the fixed GPS address in the gateway web interface?

What about v3, I haven’t tried it yet. :smiley:

No, you can either fill it in manually. Or not fill it in. The choice is yours, the question is, do you feel lucky?

I thing this is not right!

In V2 I could read the GPS-Information from GWs!

E_T

eui-0000024b08030412: object

id: “eui-0000024b08030412”

description: “Gateway in room TZR, 503”

owner: “physec”

owners: array[1]

location: object

latitude: 51.54691838

longitude: 7.06865532

altitude: 0

country_code: “de”

attributes: object

frequency_plan: “EU_863_870”

last_seen: “2021-02-28T12:22:50Z”

There is a difference between being able to get the gateway to show the GPS data in it’s log, it including it in the status information to the network server and the network server actually doing something with it.

AFAIK, the network server doesn’t process any GPS data.

So, you can either fill it in, or not. The choice is yours.

2 posts were merged into an existing topic: TTS GPS and Basicstation