T-vK / ESP32-BLE-Keyboard

Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
2.4k stars 399 forks source link

Two instances of BleKeyboard with different names #236

Open ThomasAtBBTF opened 1 year ago

ThomasAtBBTF commented 1 year ago

I tried to create two instances of BleKeyboard but after that, nothing worked. Is this at all possible on one ESP32? Where to start looking for making it possible? The final goal would be to be able to connect to multiple phones/laptops and be able to switch between them easily.

alextrical commented 11 months ago

I would also be interested in this functionality, as i believe that the ESP32 can connect to ~7 devices with the official IDE https://linuxhint.com/esp32-maximum-bluetooth-connections/

Also had no luck running a second instance with a different name.

Ideally I'm looking to have one device with multiple buttons, control 2 or more computers at the same time, sending different keystrokes to each PC as required.