How to write to Bangle2 GPS? #5880
Replies: 1 comment
-
Posted at 2021-12-01 by Mark_M I've got it. It is Serial1. Posted at 2021-12-01 by @gfwilliams Yes, That's right. If you've got some commands that work it'd be great to see them and have a play. Posted at 2021-12-01 by @fanoush you can try enabling glonass as per http://forum.espruino.com/conversations/369403/#16285535 if you get better/faster fixes Posted at 2021-12-02 by Mark_M Yes, I also found couple of docs on web. Chinese ones and translated. Like Multimode_satellite_navigation_receiver_cn.pdf I use CAS commands from it. I am going to create some Setup GNSS app or at least an example in Wiki. Also I am looking to try CASIC binary format instead of NMEA for logging, probably it will be more efficient from space and performance perspective. Posted at 2021-12-02 by @fanoush
just checked my comments I no longer remember what they mean exactly and there are more columns for PCAS03 than documented in chinese doc, at least 12
the B5 firmware has a string EDIT: oh your second pdf has even more columns there, great :-) The Chinese one has only 8 fields there. EDIT2: I had old chinese version they updated it in 2020 and there are more fields there too Posted at 2021-12-02 by @fanoush And BTW the message Hmm, I guess I could flash the firmware back and check the spi flash what is there after the android app downloads agps data. Even now I still should have something there in flash. will check when I get back home. Attachments: Posted at 2021-12-02 by Mark_M yeah, I also was puzzled regarding this "$GPSTXT,01,01,02,MS=..." sentence. It looks like it is indicator how stale is AGPS data? Posted at 2023-05-05 by @gfwilliams Just to resurrect this thread (I'm not sure if there's a better one?) I updated the Bangle.js reference with more info on GPS commands. Until it updates on the main site you can see it on GitHub: https://github.com/espruino/EspruinoDocs/blob/master/boards/Bangle.js2.md#advanced-gps Looking at this again (manually copy/pasting from the most recent CASIC reference I can find) there do seem to be some interesting binary commands like NAV-TIMEUTC that might speed up time to fix. I implemented PCAS60 as a test (the text version) but as far as I can tell it's not implemented on our software version |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2021-12-01 by Mark_M
Hi,
I want to set some configuration to Bangle2 GPS.
Should I send commands to Serial1 or something else?
thanks,
Mark
Beta Was this translation helpful? Give feedback.
All reactions