Log when no listener is registered for a characteristic change

live-activity-data
cpfeiffer 2015-09-09 23:23:38 +02:00
parent e80a3cc591
commit 22a9ff1819
1 changed files with 2 additions and 0 deletions

View File

@ -403,6 +403,8 @@ public final class BtLEQueue {
}
if (getCallbackToUse() != null) {
getCallbackToUse().onCharacteristicChanged(gatt, characteristic);
} else {
LOG.info("No gattcallback registered, ignoring characteristic change");
}
}