1
0
mirror of https://github.com/oliexdev/openScale.git synced 2025-09-02 04:42:42 +02:00

BluetoothStandardWeightProfile: make debug messages about unhandled notifications more explicit;

This commit is contained in:
Krisjans Blukis
2021-07-27 16:36:39 +03:00
parent acd0c628a6
commit d501b97d8d

View File

@@ -225,8 +225,10 @@ public class BluetoothStandardWeightProfile extends BluetoothCommunication {
}
else if(characteristic.equals(BluetoothGattUuid.CHARACTERISTIC_USER_CONTROL_POINT)) {
handleUserControlPointNotify(value);
} else {
Timber.d(String.format("Got data: <%s>", byteInHex(value)));
}
else {
Timber.d(String.format("Notification from unhandled characteristic: %s, value: [%s]",
characteristic.toString(), byteInHex(value)));
}
}