continued work with bluez

This commit is contained in:
icanos 2020-01-18 15:50:46 +00:00
parent 18b94288e3
commit ff04e8da41
5 changed files with 135 additions and 11 deletions

View file

@ -28,6 +28,8 @@ async function main() {
// init the BLE interface
const plejd = new PlejdService(cryptoKey, true);
plejd.init();
plejd.on('authenticated', () => {
console.log('plejd: connected via bluetooth.');
});