diff --git a/src/mode/bluetooth.ts b/src/mode/bluetooth.ts index 7846684..4529cc1 100644 --- a/src/mode/bluetooth.ts +++ b/src/mode/bluetooth.ts @@ -97,6 +97,8 @@ export default class Bluetooth extends EventEmitter { "HaritoraX (1.0/1.1/1.1b) detected. Device is not fully supported and you may experience issues." ); + activeDevices.push([localName, peripheral, [], []]); + peripheral.connect((err: any) => { if (err) { error(`Error connecting to ${localName}: ${err}`);