-
Notifications
You must be signed in to change notification settings - Fork 490
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
Connection problem #396
Comments
I have noticed that although I have updated BlueZ from 5.43 to 5.48 the tools Bluetoothd and hcitool are still 5.43. Is that normal? |
Hi there, would you be able to share some working code? I've tried to use an RPI3 B+ with bluepy and while I can connect to devices and get some notifications, there are some data losses. There appears to be a bug in the RPI firmware that makes BLE unstable. So if you're trying to do something really complex with it, I would advise you not to use an RPI until they fix the firmware issue. The RPI4 uses the same wifi/Bluetooth chip so I assume it's gonna present the same problem. I also tried using a USB dongle but I got the same data losses and disconnection problems. |
Hi Thanks for the comment. Unfortunately there is no code to share. I stopped using BLE/BT and changed to use my ESP32 directly via WiFi. Do you know where I can follow how BLE is fixed on RPI? Regards, Ramon. |
No problem. You can find see the current issue here. Hopefully, they will fix it soon. |
Hi @CLDiego I've tried my RPI 4 and getting some problems with the notifications too Did you managed to solved yours? |
Hi @RulerKun, sadly not being able to determine the real issue with the loss of data on the PI I decided to switch to an ESP32 to handle my BLE data and then transmit it over wifi to the PI. Playing more with BLE I can make some suggestions that might help:
Hope that helps! |
thank you very much for your suggestions!! |
Hello All,
After installing bluepy in my RPI3 (to be central) and getting started with it I have detected connection issues:
Either the connection is not done or it is inmediately (2-5 sec.) disconnected after succesfull connection.
I am trying to connect to an ESP32 device (to be peripheral), which properly gets connected with an Android Smartphone.
The devices get properly connected via hcitool, but when trying with gatttool the problem is as described: no success or disconnection right after connection.
I have done a lot of search and after updating the BlueZ from 5.43 to 5.48 the issue remains.
It may be sth related to timeouts, but not sure. I guess it may also be sth related to versions incompatibility or sth in my system that is not properly configured.
Find below description of my system:
Any advice will be welcome.
Regards, Ramon.
The text was updated successfully, but these errors were encountered: