TheThingsArchive / ttn

The Things Network Stack V2
https://www.thethingsnetwork.org
MIT License
461 stars 276 forks source link

fix gateway gps position #187

Closed cambierr closed 8 years ago

cambierr commented 8 years ago

Hey!

One of my kerlink GW is inside a building for now and can't get a GPS signal... Is there a way for me to fix its GPS location for now ?

htdvisser commented 8 years ago

I guess something like this should work:

"fake_gps": true,
"ref_latitude": 10,
"ref_longitude": 10,
"ref_altitude": 10,

See also https://github.com/TheThingsNetwork/packet_forwarder/blob/master/poly_pkt_fwd/global_conf.json