Closed eighteyes closed 7 years ago
I get this error after pairing and registering
Device registration failed: Device is already configured with id
Error: Device is already configured with id
at SendIdAndSecretCharacteristic.authenticateDevice (/home/pi/matrix-os/lib/device/bluetooth/Characteristics/sendIdAndSecret.js:21:11)
at emitOne (events.js:96:13)
at SendIdAndSecretCharacteristic.emit (events.js:188:7)
at SendIdAndSecretCharacteristic.Characteristic.onWriteRequest (/home/pi/matrix-os/lib/device/bluetooth/blockCharacteristic.js:73:10)
at emitMany (events.js:127:13)
at SendIdAndSecretCharacteristic.emit (events.js:201:7)
at Gatt.handleExecuteWriteRequest (/home/pi/matrix-os/node_modules/bleno/lib/hci-socket/gatt.js:1007:51)
at Gatt.handleRequest (/home/pi/matrix-os/node_modules/bleno/lib/hci-socket/gatt.js:340:23)
at Gatt.onAclStreamData (/home/pi/matrix-os/node_modules/bleno/lib/hci-socket/gatt.js:274:8)
at emitTwo (events.js:111:20)
{"id":"dac81a493e52","secret":"ae2a6c950082384f8d326e9ee84fe71079ec622f15ff7b6255045debe6ae1a9e916cdb277a01acc1c154d2168f","env":"dev"}
Me thinks it should just restart MOS, so we have a clean boot.
Egad, need to fix travis again. :( As much as I love the idea of CI, the reality of it is that it's a PITA.