Skip to content

Commit a9621d9

Browse files
author
dbaba
committed
Insert a debug log for service discovery operatoin
1 parent bbc00cb commit a9621d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/generic-ble.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,9 @@ async function toDetailedObject(peripheral, RED) {
215215
};
216216
peripheral.once('disconnect', discoveryInterrupted);
217217
peripheral.discoverAllServicesAndCharacteristics((err, services) => {
218+
debug(
219+
`<toDetailedObject${peripheral.uuid}:discoverAllServicesAndCharacteristics> Callback OK!`
220+
);
218221
peripheral.removeListener('disconnect', discoveryInterrupted);
219222
if (err) {
220223
return reject(err);

0 commit comments

Comments
 (0)