diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF600.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF600.java index 05e9dced..cf48575b 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF600.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothBeurerBF600.java @@ -84,8 +84,13 @@ public class BluetoothBeurerBF600 extends BluetoothStandardWeightProfile { @Override protected void setNotifyVendorSpecificUserList() { - setNotificationOn(BluetoothGattUuidBF600.SERVICE_BEURER_CUSTOM_BF600, - BluetoothGattUuidBF600.CHARACTERISTIC_BEURER_BF600_USER_LIST); + if (setNotificationOn(BluetoothGattUuidBF600.SERVICE_BEURER_CUSTOM_BF600, + BluetoothGattUuidBF600.CHARACTERISTIC_BEURER_BF600_USER_LIST)) { + Timber.d("setNotifyVendorSpecificUserList() OK"); + } + else { + Timber.d("setNotifyVendorSpecificUserList() FAILED"); + } } @Override diff --git a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothSwpSBF77.java b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothSwpSBF77.java index a464f491..545c2d4c 100644 --- a/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothSwpSBF77.java +++ b/android_app/app/src/main/java/com/health/openscale/core/bluetooth/BluetoothSwpSBF77.java @@ -59,8 +59,13 @@ public class BluetoothSwpSBF77 extends BluetoothStandardWeightProfile { @Override protected void setNotifyVendorSpecificUserList() { - setNotificationOn(BluetoothGattUuidSBF77.SERVICE_CUSTOM_SBF77, - BluetoothGattUuidSBF77.CHARACTERISTIC_SBF77_USER_LIST); + if (setNotificationOn(BluetoothGattUuidSBF77.SERVICE_CUSTOM_SBF77, + BluetoothGattUuidSBF77.CHARACTERISTIC_SBF77_USER_LIST)) { + Timber.d("setNotifyVendorSpecificUserList() OK"); + } + else { + Timber.d("setNotifyVendorSpecificUserList() FAILED"); + } } @Override