mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-11-30 22:12:55 +01:00
BtLEQueue: Log MTU changes
This commit is contained in:
parent
593d6d6b25
commit
4f7fb8117e
@ -598,6 +598,8 @@ public final class BtLEQueue {
|
|||||||
public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
|
public void onMtuChanged(BluetoothGatt gatt, int mtu, int status) {
|
||||||
super.onMtuChanged(gatt, mtu, status);
|
super.onMtuChanged(gatt, mtu, status);
|
||||||
|
|
||||||
|
LOG.debug("mtu changed to {}{}", mtu, getStatusString(status));
|
||||||
|
|
||||||
if(getCallbackToUse() != null){
|
if(getCallbackToUse() != null){
|
||||||
getCallbackToUse().onMtuChanged(gatt, mtu, status);
|
getCallbackToUse().onMtuChanged(gatt, mtu, status);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user