1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-23 13:30:48 +02:00

add attribute to set the source of the gps signal

This commit is contained in:
Lukas 2023-06-08 14:48:40 +02:00 committed by José Rebelo
parent d54b7426cc
commit 6e3ce89ae5

View File

@ -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) {