Did anyone manage to get SBAS reliable working on B2? #6144
Replies: 1 comment
-
Posted at 2023-07-23 by @halemmerich I have tried to make the PCAS-commands a bit more usable in a library, but some seem to do nothing at all (e.g. setting Standby mode) while other work fine (update interval). Is there a way to dump the current config to check? Does your command miss the checksum or did you omit that on purpose? https://github.com/halemmerich/BangleApps/blob/pcas/modules/pcas.js Posted at 2023-07-24 by @gfwilliams There is some helpful code at http://www.espruino.com/Bangle.js2+Technical#gps that might help? It at least calculates the CRC Posted at 2023-07-24 by HopeToBeUseful1day Thank for the reply. The post misses the checksum. The real code is:
Posted at 2023-07-24 by @halemmerich You are checksumming the command without the leading Posted at 2023-07-25 by HopeToBeUseful1day I thing line 19 of the presented code add the leading "$" Posted at 2023-07-25 by @halemmerich It does, but that happens after the checksum is calculated. The Posted at 2023-07-27 by HopeToBeUseful1day I'm not sure if "$" should be accounted in the checksum.
Posted at 2023-07-27 by @halemmerich I have tried it with
Posted at 2023-07-29 by HopeToBeUseful1day Looks like @billm implemented the checksum function another way. His version computes 28 without "$" sign. Attached screenshot Attachments: Posted at 2023-07-30 by @halemmerich Oh wow, the confusion was on my end 😑. |
Beta Was this translation helpful? Give feedback.
-
Posted at 2023-07-23 by HopeToBeUseful1day
Playing with @billm 's code. Despite forcing AT6558(R?) into the SBAS mode by sending
to the chip, the error is still over 7 meters.
Is there a way to get the error below 2 meters as stated in most SBAS articles?
UPD:
After taking weighted by time between records average of recorded coordinates at a static point and comparing those average coordinates to the true coordinates, the error seems to be closer to 20 meters.
UPD2:
The command checksum is not included in the post. When the command is sent to the GPS chip the checksum is added.
Beta Was this translation helpful? Give feedback.
All reactions