Is it possible to maintain 3 different bluetooth connections?

gruvineo
Posts: 6
Joined: Sun Dec 31, 2023 5:26 am

Is it possible to maintain 3 different bluetooth connections?

Postby gruvineo » Sun Feb 04, 2024 7:15 pm

Hello! I have a keyboard that changes bluetooth devices, but it does so slowly, disconnecting from one device and connecting to another, which takes 3 seconds and sometimes doesn't even work.

I want to create a ESP32 firmware which receives my keyboard and mouse as bluetooth devices, and then also maintain 3 or even more connections to different devices, and I can multiplex between them instantly, as the connections would be always on. The switch would be with a button.

Is it possible in ESP32?

User avatar
jgustavoam
Posts: 165
Joined: Thu Feb 01, 2018 2:43 pm
Location: Belo Horizonte , Brazil
Contact:

Re: Is it possible to maintain 3 different bluetooth connections?

Postby jgustavoam » Fri Apr 05, 2024 1:34 am

I have a keyboard that changes bluetooth devices, but it does so slowly, disconnecting from one device and connecting to another, which takes 3 seconds and sometimes doesn't even work.


The connecting and pairing process usually takes a few seconds, with any BLE device.

See this:
https://github.com/hbldh/bleak/blob/dev ... devices.py
Retired IBM Brasil
Electronic hobbyist since 1976.

Who is online

Users browsing this forum: Baidu [Spider], username and 74 guests