Skip to content
This repository has been archived by the owner on Feb 20, 2025. It is now read-only.

Cannot intercept packets and report errors #65

Open
lyy905980571 opened this issue Nov 10, 2021 · 1 comment
Open

Cannot intercept packets and report errors #65

lyy905980571 opened this issue Nov 10, 2021 · 1 comment

Comments

@lyy905980571
Copy link

When I double-click to select a Bluetooth device, btlejuice will report the following error:
[info] Discovering services and characteristics ...
buffer.js:434
length += list[i].length;
^

TypeError: Cannot read property 'length' of undefined
at Function.Buffer.concat (buffer.js:434:25)
at Object.c1 (/root/.nvm/versions/node/v8.9.0/lib/node_modules/btlejuice/node_modules/noble/lib/hci-socket/crypto.js:8:19)
at Smp.handlePairingResponse (/root/.nvm/versions/node/v8.9.0/lib/node_modules/btlejuice/node_modules/noble/lib/hci-socket/smp.js:86:12)
at Smp.onAclStreamData (/root/.nvm/versions/node/v8.9.0/lib/node_modules/btlejuice/node_modules/noble/lib/hci-socket/smp.js:57:10)
at emitTwo (events.js:131:20)
at AclStream.emit (events.js:214:7)
at AclStream.push (/root/.nvm/versions/node/v8.9.0/lib/node_modules/btlejuice/node_modules/noble/lib/hci-socket/acl-stream.js:35:10)
at NobleBindings.onAclDataPkt (/root/.nvm/versions/node/v8.9.0/lib/node_modules/btlejuice/node_modules/noble/lib/hci-socket/bindings.js:286:15)
at emitThree (events.js:136:13)
at Hci.emit (events.js:217:7)
node.js version is 8.9.0
I was running btlejuice on two VMs and the bluetooth dongle was bt5.0.

@pi3ch
Copy link

pi3ch commented Jan 12, 2022

This seems to be related to underlying library, see abandonware/bleno#23

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants