-
-
Notifications
You must be signed in to change notification settings - Fork 47
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
Can't discover service, and then 'org.bluez.Error.Failed' after a minute #13
Comments
@mohse-n have your solved the problem, i catch the same case. |
i am use ubuntu18.04. when i connect to device,it never give a correct response, but a “Software caused connection abort” |
Same here, "Software caused connection abort" when trying to connect to the device. I run on Ubuntu 18.04 as well. |
I was using Raspberry Pi 3 and 4. Upgrading to the latest version of Raspbian (Raspberry Pi OS) solved the problem for me. |
I got the same problem. I am using node-ble inside a homebridge plugin. My Raspberry Pi Zero W is running the latest Raspberry Pi OS and node. Any ideas how to fix it? |
In order to debug the issue, I suggest you the following lines:
Does bluetoothctl list the expected services? |
Thank you for your quick respond. I think that was a mistake of mine. I will check it at the weekend and get back in touch here. |
I checked my implementation. I am getting the following error after a few seconds if the peripheral is not reachable:
Is it possible to search/wait for the peripheral till it is available? If my peripheral is reachable everything runs fine. |
Hello! I get the same error. It connects to the device and can display my phone's name, but when I try device.connect() it throws that error after a bit. I'm running it from a RPi 4 using Raspbian. Also, I can connect to my device using bluetoothctl, but nothing is listed when I use the list-attributes command. Has anyone found a solution? |
I get the same problem. I'm running in a Docker Image on a RPi4. I can ssh into the docker image and when I try #13 (comment) I get the following :
In my code, I can get the device, and getAddress and getName work as expected, but when I attempt to connect, I get : *** BLE devices: [ '7B:41:00:00:04:98', 'DC:0D:30:01:14:C3' ] |
I'm using RPi 4 (with node 14.9.0, BlueZ 5.50). I can discover the device, but not the service.
Console output
The text was updated successfully, but these errors were encountered: