This happens if I try and connect to it via Bluetooth from my Android phone. Maybe I'm not supposed to do that :)
noble: unknown peripheral 746c793faf24 connected!
buffer.js:491
length += buf.length;
^
TypeError: Cannot read property 'length' of undefined
at Function.Buffer.concat (buffer.js:491:20)
at Smp.handlePairingConfirm (/home/pi/EspruinoHub/node_modules/noble/lib/hci-socket/smp.js:93:21)
at Smp.onAclStreamData (/home/pi/EspruinoHub/node_modules/noble/lib/hci-socket/smp.js:59:10)
at emit (events.js:117:20)
at AclStream.push (/home/pi/EspruinoHub/node_modules/noble/lib/hci-socket/acl-stream.js:35:10)
at NobleBindings.onAclDataPkt (/home/pi/EspruinoHub/node_modules/noble/lib/hci-socket/bindings.js:272:15)
at emit (events.js:106:17)
at Hci.onSocketData (/home/pi/EspruinoHub/node_modules/noble/lib/hci-socket/hci.js:473:14)
at BluetoothHciSocket.emit (events.js:95:17)
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
This happens if I try and connect to it via Bluetooth from my Android phone. Maybe I'm not supposed to do that :)
EspruinoHub on RPi 2
Raspbian GNU/Linux 8 (jessie)
node --version v0.10.29