mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-28 21:06:50 +01:00
Be dump the content of the notification to the debug log
This commit is contained in:
parent
4e0fed8857
commit
6460b391d9
@ -409,7 +409,11 @@ public final class BtLEQueue {
|
|||||||
@Override
|
@Override
|
||||||
public void onCharacteristicChanged(BluetoothGatt gatt,
|
public void onCharacteristicChanged(BluetoothGatt gatt,
|
||||||
BluetoothGattCharacteristic characteristic) {
|
BluetoothGattCharacteristic characteristic) {
|
||||||
LOG.debug("characteristic changed: " + characteristic.getUuid());
|
String content = "";
|
||||||
|
for (byte b : characteristic.getValue()) {
|
||||||
|
content += String.format(" 0x%1x", b);
|
||||||
|
}
|
||||||
|
LOG.debug("characteristic changed: " + characteristic.getUuid() + " value: " + content );
|
||||||
if (!checkCorrectGattInstance(gatt, "characteristic changed")) {
|
if (!checkCorrectGattInstance(gatt, "characteristic changed")) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user