• Bangle.setGPSPower() is modified to handle the activation of the GPS sending by GadgetBridge. There is an open pull request that simplifies the code for using GPS by GadgetBridge and fixes some issues. The state in the pull request uses GPS events from the phone if they keep arriving and falls back to internal GPS if the last received GB-GPS event is too old.
    From app perspective nothing changes in the use of GPS. setGPSPower for "requesting" GPS use and on('GPS',func) for getting the events. The combination Bangle.js GadgetBridge nightly and the PR works fine for me.
    There are problems sending lots of messages to the Bangle, but I currently think that this is independent from GPS and a more generic problem with sending data via BT.


Avatar for halemmerich @halemmerich started