Knowledgebase: KB000176
Submitted on Wed, 2016–01–13 11:39
Inquiry:
How to decode the hex file on the GSatMicro to get the latitude and longitude?Solution:
You'll first want to change the reporting format of the Micro to one of our public formats as it is likely still in the default proprietary format which we do not have documentation on:
0 = Proprietary format
1 = 10 byte format
2 = 18 byte high resolution format
settings.flash(settings.report_format, 1)
We have an encoding/decoding library written in C# that you can reference here that handles all the to-mobile and from-mobile messages:
https://github.com/darren1713/GSatMicroPublic
We also have a "cheat sheet" for the 18 byte format that you can reference here:
https://docs.google.com/spreadsheets/d/1hul-GmAiQQc3RCVPAT5al8BFWF549DuA...