mirror of
https://github.com/oliexdev/openScale.git
synced 2025-08-23 08:43:15 +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
|
@Override
|
||||||
protected void setNotifyVendorSpecificUserList() {
|
protected void setNotifyVendorSpecificUserList() {
|
||||||
setNotificationOn(BluetoothGattUuidBF600.SERVICE_BEURER_CUSTOM_BF600,
|
if (setNotificationOn(BluetoothGattUuidBF600.SERVICE_BEURER_CUSTOM_BF600,
|
||||||
BluetoothGattUuidBF600.CHARACTERISTIC_BEURER_BF600_USER_LIST);
|
BluetoothGattUuidBF600.CHARACTERISTIC_BEURER_BF600_USER_LIST)) {
|
||||||
|
Timber.d("setNotifyVendorSpecificUserList() OK");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Timber.d("setNotifyVendorSpecificUserList() FAILED");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@@ -59,8 +59,13 @@ public class BluetoothSwpSBF77 extends BluetoothStandardWeightProfile {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void setNotifyVendorSpecificUserList() {
|
protected void setNotifyVendorSpecificUserList() {
|
||||||
setNotificationOn(BluetoothGattUuidSBF77.SERVICE_CUSTOM_SBF77,
|
if (setNotificationOn(BluetoothGattUuidSBF77.SERVICE_CUSTOM_SBF77,
|
||||||
BluetoothGattUuidSBF77.CHARACTERISTIC_SBF77_USER_LIST);
|
BluetoothGattUuidSBF77.CHARACTERISTIC_SBF77_USER_LIST)) {
|
||||||
|
Timber.d("setNotifyVendorSpecificUserList() OK");
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
Timber.d("setNotifyVendorSpecificUserList() FAILED");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Reference in New Issue
Block a user