docs(bt/bluedroid): Updated HID Device connect API description

Closes https://github.com/espressif/esp-idf/issues/16020
This commit is contained in:
liqigan
2025-05-27 11:12:04 +08:00
parent aa840f86a6
commit 56d0e3e297

View File

@@ -342,6 +342,11 @@ esp_err_t esp_bt_hid_device_unregister_app(void);
* esp_bluedroid_init() and esp_bluedroid_enable() success, and should be called after esp_bt_hid_device_init(). * esp_bluedroid_init() and esp_bluedroid_enable() success, and should be called after esp_bt_hid_device_init().
* When the operation is complete, the callback function will be called with ESP_HIDD_OPEN_EVT. * When the operation is complete, the callback function will be called with ESP_HIDD_OPEN_EVT.
* *
* @note The connection between the HID Host and the HID Device is established as a virtual cable by default.
* A new HID Host connection request will only be accepted after the previous HID Host has been
* explicitly unplugged. For details on disconnection and virtual cable unplugging, please refer to API
* `esp_bt_hid_device_disconnect` and `esp_bt_hid_device_virtual_cable_unplug`.
*
* @param[in] bd_addr: Remote host bluetooth device address. * @param[in] bd_addr: Remote host bluetooth device address.
* *
* @return * @return