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?

Thanks,
Moacir

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`

image

Best regardsļ¼

1 Like