0

Feather 32u4 Bluefruit LE - Autoreconnect not working, only
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Feather 32u4 Bluefruit LE - Autoreconnect not working, only

by mtnst on Tue May 17, 2022 6:21 am

Hi Adafruit Community!

Im working on my first Bluetooth Project, its a device with physical buttons that reads the buttons, emulates them to keyboard keys and sends them via bluetooth.
For this i used one of the Adafruit examples and did edit the code to suit my needs.

The code works as intended but the device does not auto-reconnect.

Receiver: Oculus Quest 2 VR Goggles

Here is how the issue with the current Bluetooth version happens:
- We take our VR glasses and pair them with the bluetooth device first time. The device stays connected and works fine while it stayed connected
- We shut down the VR glasses and the bluetooth device.
- After turning both back on, they do not autoconnect again
- When we go to the VR-glasses and click on the known Bluetooth device, it still does not connect even when pressing pair in the VR glasses
- We have to fully remove the known glasses and do a full repairing. Then it works until we shut them both down again.

Is there anything wrong with my source code why it doesnt auto-reconnect with a previously paired device?

Sorry for the uncomment-mess :)
Thanks for your time!
Attachments
BluefruitConfig.h
(2.63 KiB) Not downloaded yet
hidkeyboard-mas.ino
(18.44 KiB) Downloaded 2 times

mtnst
 
Posts: 1
Joined: Tue May 17, 2022 5:15 am

Re: Feather 32u4 Bluefruit LE - Autoreconnect not working, o

by mikeysklar on Tue May 17, 2022 12:30 pm

There are some known reconnect issues resolved in the BLE firmware updates.

I believe that v0.8.1 is current, but just upgrading to 0.7.0 should help with reconnect.

Here is the guide on how to update.

https://learn.adafruit.com/adafruit-fea ... it-updates

https://github.com/adafruit/Adafruit_Bl ... E_Firmware

mikeysklar
 
Posts: 7753
Joined: Mon Aug 01, 2016 8:10 pm

Please be positive and constructive with your questions and comments.