mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2025-01-14 11:47:32 +01:00
add attribute to set the source of the gps signal
This commit is contained in:
parent
d54b7426cc
commit
6e3ce89ae5
@ -990,6 +990,7 @@ public class BangleJSDeviceSupport extends AbstractBTLEDeviceSupport {
|
||||
}
|
||||
o.put("hdop", location.getAccuracy());
|
||||
o.put("externalSource", true);
|
||||
o.put("gpsSource", location.getProvider());
|
||||
LOG.debug("Sending gps value: " + o.toString());
|
||||
uartTxJSON("gps", o);
|
||||
} catch (JSONException e) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user