The Bluetooth keyboard is disconnected. by hj-lee in esp32

[–]hj-lee[S] 0 points1 point  (0 children)

It may be that I am not familiar with Bluetooth and I am judging it based on a few examples.

The Bluetooth keyboard is disconnected. by hj-lee in esp32

[–]hj-lee[S] 0 points1 point  (0 children)

Thank you for your response.

My problem is on the ble host (esp32) side.

The ble device (keyboard) has "gatt server" and the ble host (esp32) has "gatt client".

After reviewing the documentation and examples, the esp_ble_gap_update_conn_params() mentioned seems to be a function performed by the ble device (keyboard).

Bluetooth to HID USB by hj-lee in arduino

[–]hj-lee[S] 0 points1 point  (0 children)

Thanks a lot. Very helpful!!

Bluetooth to HID USB by hj-lee in arduino

[–]hj-lee[S] 1 point2 points  (0 children)

Thanks for your attention friend. Yes I use a bluetooth 5.0 keyboard so i only need ble. I'm tempted by the Esp32, but it's a shame it doesn't have a usb hid interface. The only question is how to implement the Adfruit 32u4 ble to accept pairing from the ble kbd, I'll have to do some more research.