continued work with bluez
This commit is contained in:
parent
18b94288e3
commit
ff04e8da41
5 changed files with 135 additions and 11 deletions
|
|
@ -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.');
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue