Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants