From 395f63d3c19bf11d02a868544889bab4252ad178 Mon Sep 17 00:00:00 2001 From: Cre3per Date: Wed, 16 Oct 2019 16:41:32 +0200 Subject: [PATCH] makibes hr3 now pairs/bonds. that way gb can reconnect after the band was disconnected. --- .../devices/makibeshr3/MakibesHR3Coordinator.java | 2 +- .../service/devices/makibeshr3/MakibesHR3DeviceSupport.java | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/makibeshr3/MakibesHR3Coordinator.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/makibeshr3/MakibesHR3Coordinator.java index 6187db77b..ca023bc5c 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/makibeshr3/MakibesHR3Coordinator.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/devices/makibeshr3/MakibesHR3Coordinator.java @@ -170,7 +170,7 @@ public class MakibesHR3Coordinator extends AbstractDeviceCoordinator { @Override public int getBondingStyle() { - return BONDING_STYLE_NONE; + return BONDING_STYLE_BOND; } @Override diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java index bc6830e25..cb78d9629 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/makibeshr3/MakibesHR3DeviceSupport.java @@ -1,7 +1,3 @@ -// TODO: GB sometimes fails to connect until a connection with WearFit was made. This must be caused -// TODO: by GB, not by Makibes hr3 support. Charging the watch, attempting to pair, delete and -// TODO: re-add, scan for devices and go back, might also help. This needs further research. - // TODO: All the commands that aren't supported by GB should be added to device specific settings. // TODO: It'd be cool if we could change the language. There's no official way to do so, but the