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
Discovering services and characteristics callback never called #545
Comments
@curioussavage are you using Linux? If so, an HCI dump capture would help debugging: |
yes. I will try to do that tomorrow and post it here. |
HCI sniffer - Bluetooth packet analyzer ver 5.23 |
@sandeepmistry here it is. I see at least two errors. That said I really have no idea what I'm looking at. |
I am facing a similar issue but its kind of intermittent for me. I am trying to connect my Mac (macOS Sierra) with the rolling spider drone using noble but whenever I call either |
@curioussavage I think it's related to this:
I think the Linux kernel is sending a disconnect out. Probably related to #465 and #480. |
i have the same issue, the noble bindings for the event servicesDiscover always returns undefined for the serviceUuids, but the callback way works |
@gandhimonik did you find any solution for this? I am also having the same problem intermittently with the rolling spider |
@ojack I've started using |
Thanks @gandhimonik ! |
I have the same problem that discoverAllServicesAndCharacteristics and discoverServices do not get a callback on Raspberry Pi 3 (stretch) with a CSR USB BT module in some cases. |
Eureka! After looking at dmesg output after reboot, it appeared that the USB BT dongle was enumerated before the Bluetooth drivers were loaded. And, when the USB BT dongle was replugged later, the USB device was obviously restarted after the Bluetooth drivers were loaded. |
Hi,
issue
I am connecting to a device and then calling
discoverSomeServicesAndCharacteristics
anddiscoverAllServicesAndCharacteristics
I passed a callback to both methods and it was never fired.I did try the
discoverServices
method and using the 'servicesDiscover' listener. The callback was fired but the services argument was an empty array.Steps taken to debug
I have been able to connect and listen to the particular service I want to with the lightBlue ios app.
Version
v1.6.0
v1.7.0
What do I need to do to debug this further?
The text was updated successfully, but these errors were encountered: