GPS unable to lock position, A-GPS not helping #7853
-
I make use of my Bangle.js 2's GPS feature several times a week. This is always done in conjunction with manually updating A-GPS data through the A-GPS Data Downloader App connected to the Bangle.js Gadgetbridge app. In my experience this is the only way to get a position lock before starting an activity; just leaving the watch to acquire satellites on its own never seems to work. However on the last two occasions, despite doing the usual manual A-GPS update, it has failed to acquire a GPS lock at all. I haven't updated any firmware/apps on the watch recently and can't think of anything that might have broken it. Have there been any back-end changes that might be causing an issue? I've noticed the updater app showing the usual
Is this the source of the A-GPS data? If so, I'm assuming it should be returning something. If I'm on the right track, I've got a few more questions to ask later. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Thanks for the report and looking into it, that was extremely helpful! We actually download the AGPS data from https://api.smawatch.cn/epo/ble_epo_offline.bin and host it on espruino.com to avoid spamming SMA's server with every user. However it looks like their certificate expired, and so the code to get the agps failed. I've just changed it to ignore certificates and it should hopefully be back to normal! |
Beta Was this translation helpful? Give feedback.
-
Following up this issue after doing some testing. For reference, my process/experience was always
Yesterday (~20hrs ago) I attempted to do the same
I repeated the process, but this time used Assisted GPS Updater (AGPS) through the Gadgetbridge App Manager. I saw options to select how long I wanted the A-GPS data to be valid for, in number of days up to a week. Which is different to the usual options for choosing GNSS system (GPS, BDS, GLONASS, etc.) I chose 7 days and it seemed to update successfully. However it took ~6 minutes to obtain a lock. Again outdoors, stationary, clear sky, leading me to believe lock had been acquired without the data. Have any changes been made to I've tried rebooting the watch for good measure (not that I expect it to do anything), but I can't seem to get a lock in ~20 seconds like I used to be able to do. Perhaps data supplied by the vendor has somehow changed. If there's anything else you'd like me to try, let me know. |
Beta Was this translation helpful? Give feedback.
Thanks for the report and looking into it, that was extremely helpful!
We actually download the AGPS data from https://api.smawatch.cn/epo/ble_epo_offline.bin and host it on espruino.com to avoid spamming SMA's server with every user. However it looks like their certificate expired, and so the code to get the agps failed. I've just changed it to ignore certificates and it should hopefully be back to normal!