Log when no listener is registered for a characteristic change
This commit is contained in:
parent
e80a3cc591
commit
22a9ff1819
|
@ -403,6 +403,8 @@ public final class BtLEQueue {
|
||||||
}
|
}
|
||||||
if (getCallbackToUse() != null) {
|
if (getCallbackToUse() != null) {
|
||||||
getCallbackToUse().onCharacteristicChanged(gatt, characteristic);
|
getCallbackToUse().onCharacteristicChanged(gatt, characteristic);
|
||||||
|
} else {
|
||||||
|
LOG.info("No gattcallback registered, ignoring characteristic change");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue