-
Notifications
You must be signed in to change notification settings - Fork 185
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
Raspberry Pi 3 UART BT LE Reconnects not working... #23
Comments
@robotastic please make sure you are using the latest 0.4.3 release. This has been resolved by 4bcafd6. See discussion in noble/bleno#180. Let me know if you think it is unrelated to the above. |
I double checked and I am running v0.4.3. I erased the node_modules dir and reinstalled to be sure. Reconnecting a paired link works perfectly fine when I use a USB BT Dongle. Anything else I can try? My code is up here: https://github.com/robotastic/ble-ancs Here is a larger snippet of the HCIDump for more context, this is after the initial pairing and a disconnect:
|
This is happening because the kernel is going down a different path than the USB adapter:
because |
* Update usb.js * Update usb.js
Any idea why there would be a problem with the built in BT chip on the Raspberry Pi 3? I am able to do an initial BT LE Pairing and have an encrypted connection setup correctly. However, after I break the connection and reconnect, the connection will not stay up. Judging by the HCIDump, the encryption is reestablished fine and some initial data packets are able to go back and forth correctly, however after about 2 seconds of being idle the connection drops.
I have it working fine on the same raspberry Pi using a BroadComm USB Dongle. The RPI 3 bluetooth is also a BroadComm chip connected over UART. The only obvious difference I can see is that the internal Bluetooth is v4.1 and the USB Dongle is v4.0.
From HCIDump it looks like it is the Pi initiating the disconnect:
The text was updated successfully, but these errors were encountered: