Skip to content

Commit 23dde13

Browse files
author
Daisuke Baba
committed
Emit the initial status on starting up the nodes
1 parent 776d6e9 commit 23dde13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generic-ble.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -552,6 +552,7 @@ export default function(RED) {
552552
}
553553
});
554554
});
555+
this.emit('disconnected');
555556
this.on('close', (done) => {
556557
Object.keys(configBleDevices).forEach(k => delete configBleDevices[k]);
557558
this.operations.shutdown().then(done).catch(done);

0 commit comments

Comments
 (0)