From 4f7fb8117eff5f6e97aeb8d73dfc436c1d65c531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Rebelo?= Date: Sun, 1 Sep 2024 13:41:37 +0100 Subject: [PATCH] BtLEQueue: Log MTU changes --- .../freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java index d588f2990..bf585ce28 100644 --- a/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java +++ b/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/btle/BtLEQueue.java @@ -598,6 +598,8 @@ public final class BtLEQueue { public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) { super.onMtuChanged(gatt, mtu, status); + LOG.debug("mtu changed to {}{}", mtu, getStatusString(status)); + if(getCallbackToUse() != null){ getCallbackToUse().onMtuChanged(gatt, mtu, status); }