I can’t change the GPS format.
Of the 3 formats, I want to use the (format: (-) dd.ddddd, (-) ddd.ddddd) display.
You can’t switch from the AT command, or at least I don’t know about it.
I saw that the RAK5205 has an AT command for this.
at + set_config = device: gps_format: X
Is there a solution for this from the AT command on the RAK5010?
Or can you change the firmware so that the query is in (2) format?
The current format, (1) can be interpreted by few sources.
(Lat: 4517.112343, Lon: 1823.707123)
Much more manageable and better known (2)
Lat: 45.237612, Lon: 18.224563
Yes I saw this, but if I create my own firmware, I could change the query format there. Of course, in the sources I do not achieve this, unfortunately.
The BG96 Acquire Positioning Information that the API actually uses can be retrieved in 3 different formats.
If you want to download it on the BG96 port, please also specify the decimal format.
This is AT + QGPSLOC = 2
The base program is likely to retrieve format 1.
I should add a change or change it in the appropriate source.
I don’t know if there is any other option to change this in the BG96 settings. Nor is it guaranteed that the base program will not restore this.
The solution would be to overwrite the format in the source.
Could this be solved? For example, in gps.c or BG96.c it should be rewritten where this definition can be found.
That would solve my problem with conversions.
Or do you have a better idea?
Could you help with this?
Sorry, you misunderstand.
I understand the mechanism of the switch, but I would make it easier to transfer the data.
Why convert coordinates if the device can send in the correct format? It’s just a matter of setup and no need to convert data.
I understand that it can be converted by calculations, but then you need to include a converter when analyzing the data.
This could be omitted if the device is already sending good data by default, as it is suitable for it.
That would be the simplest solution.
Or would you have a simple code for this that I can put into sending data definitions?
oo thanks, can you give me some more instructions on where to insert this line of code?
if it can be solved, can you send the file or upload it to github?
I would try right away.
there may again be a misunderstanding.
I want to use the code so that the data set sent with the at + send = hologram: sensor command already sends the (dd) format.
I can format the data sent in at.c, but I can’t include calculations, or if so, I don’t know how.
I have no separate code for retrieving and translating data in other ways. Can this be solved from the program?
or would there be a way to support the at + set_config = device: gps_format: X command with an update?