mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-22 16:23:09 +02:00
BluetoothBeurerBF600 and BluetoothSwpSBF77: show debug message if setNotifyVendorSpecificUserList() passed or failed;
This commit is contained in:
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user