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!