Comments (7)
Hi @erwinkendo,
Could you please share the full debug log on Windows? As well as the HCI dump capture from Linux (sudo hcidump -t -x
).
There might be a non-4
CID type for connection interval that the Linux kernel is handling.
from node-bluetooth-hci-socket.
Hi
Sorry for the delay, here attached are both logs
I do not see anything different after 1 minute of operation (time when the disconnection happens), but hopefully you are better at noticing anything unusual.
Kind regards,
hcidump.txt
outDebugWin.txt
from node-bluetooth-hci-socket.
Just a small update:
Tried using the latest version of all packages, as well as using different adapters and USB ports but it does no seem to improve. Could this be related to the node version I am using? (4.5)
from node-bluetooth-hci-socket.
I have the same issue.
Running node Version 6.6.0 on windows 10, 64 bit.
Last event:
hci-usb HCI event: 050400400013 +130ms
hci onSocketData: 04050400400013 +2ms
hci event type = 4 +1ms
hci sub event type = 5 +1ms
hci handle = 64 +0ms
hci reason = 19 +1ms
@erwinkendo how do you catch the disconnect?
from node-bluetooth-hci-socket.
Hi @mrothenbuecher , I am using noble-device example for hrm connection
My last event is similar to yours... but the names change for some way:
update measument: 81
hci-usb ACL Data In: 48200b00070004001b12001651f502 +990ms
hci onSocketData: 0248200b00070004001b12001651f502 +1ms
hci event type = 2 +1ms
hci cid = 4 +1ms
hci handle = 72 +0ms
hci data = 1b12001651f502 +1ms
update measument: 81
hci-usb HCI event: 05040048003b +478ms
hci onSocketData: 0405040048003b +1ms
hci event type = 4 +1ms
hci sub event type = 5 +0ms
hci handle = 72 +1ms
hci reason = 59 +0ms
disconnected!
hci set scan enabled - writing: 010c20020001 +3ms
hci-usb write: 010c20020001 +1ms
Is it normal that the HCI event and other data is not the same for our systems @sandeepmistry ?
from node-bluetooth-hci-socket.
The problem is nothing handles the following messages on Windows:
2016-09-10 21:21:44.061067 > ACL data: handle 33 flags 0x02 dlen 16
L2CAP(d): cid 0x0005 len 12 [psm 0]
12 39 08 00 FA 00 90 01 00 00 58 02
The Linux kernel responds with:
2016-09-10 21:21:44.061134 < ACL data: handle 33 flags 0x00 dlen 10
L2CAP(d): cid 0x0005 len 6 [psm 0]
13 39 02 00 00 00
2016-09-10 21:21:44.061140 < HCI Command: LE Connection Update (0x08|0x0013) plen 14
21 00 FA 00 90 01 00 00 58 02 00 00 00 00
2016-09-10 21:21:44.062661 > HCI Event: Command Status (0x0f) plen 4
LE Connection Update (0x08|0x0013) status 0x00 ncmd 1
There is nothing in noble to handle this event and reply.
Could you please close this issue and open a new one in the noble Github repo?
from node-bluetooth-hci-socket.
Thanks @sandeepmistry
Opened a new issue here
from node-bluetooth-hci-socket.
Related Issues (20)
- Segfaults/assertion errors (when no BT hardware is available?) HOT 1
- Failed Install - Win 10 HOT 1
- Error: No compatible USB Bluetooth 4.0 device found! HOT 1
- Dell precision m4800 Error: No compatible USB Bluetooth 4.0 device found!
- TypeError: Cannot read property 'endpoint' of undefined HOT 1
- . HOT 1
- Maintenance status ? HOT 6
- Add new device HOT 2
- Adapter unavailable in windows bluetooth settings
- Issues with bluetooth adapter 4.2 and 5.0
- raspberry pi3 HOT 3
- Installation fails in Docker-iobroker container on Raspi4 running Raspbian Buster HOT 1
- Add new device intel wireless bluetooth USB\VID_8087&PID_0AAA HOT 1
- Unable to install on Linux Mint HOT 1
- Adapter not found HOT 1
- Error : LIBUSB_ERROR_ACCES HOT 1
- Canβt install HOT 1
- Socket.write not writing commands HOT 1
- Installation fails (Arch Linux, node-gyp 9.3.0) HOT 3
- I need a C++ for windows sample
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-bluetooth-hci-socket.