Thanks for that testing! That's very surprising - the UBX-CFG-CFG command you're using sure looks like it'd be doing the correct thing.
Maybe leave it for now - if it turns out you don't have any success in a week or two then we can figure out what we're going to do.
Ok, sounds good - but how about just responding to the Bangle.on('GPS' event? That'd work on all devices. Also bear in mind that I've now renamed getGPSPower to isGPSOn because it turns out I already has isLCDOn and wanted to keep everything looking the same.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi,
Thanks for that testing! That's very surprising - the
UBX-CFG-CFG
command you're using sure looks like it'd be doing the correct thing.Maybe leave it for now - if it turns out you don't have any success in a week or two then we can figure out what we're going to do.
Ok, sounds good - but how about just responding to the
Bangle.on('GPS'
event? That'd work on all devices. Also bear in mind that I've now renamedgetGPSPower
toisGPSOn
because it turns out I already hasisLCDOn
and wanted to keep everything looking the same.