RAK7244 GPS data

I want to use my RAK7244 also as a simple GPS. So, is it there a way to get (i.e.: export to a bash variable) the current (human readable) GPS location coordinates?


I don’t understand what you mean, when you connect the GPS antenna to the gateway, its GPS value will appear in the log.

I will check the logs but I am quite sure you are right. Anyway I would like to get the GPS value into a system variable so I can use it for other applications. For sure I will be able to do a “cat” into the logs and use “grep” to get this data out of the logs. But… Is it there any easier way to do it?

Hi @moacir maybe you can try to use the MQTT broker to get the json data and extract only GPS data :wink:

Dear Nicholas
Sorry for my intrusion into the post, in my case I don’t want to use GPS, but when I get a log of the gateway, what I show in the image appears. It seems that the GPS is continually being enabled and disabled. Is there a way to disable GPS permanently through software or hardware?

Dear Danny,

Maybe you can delete or disable the GPS section in the global_conf.json file!

Enter modify command:

`sudo nano /opt/ttn-gateway/packet_forwarder/lora_pkt_fwd/global_conf.json`


Best regards!

1 Like