esp_bt_hid_host_disconnect() function
Disconnect from HID device. When the operation is complete the callback function will be called with ESP_HIDH_CLOSE_EVT.
Arguments
bd_addr
Remote device bluetooth device address.
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_bt_hid_host_disconnect(esp_bd_addr_t bd_addr)
esp_bt_hid_host_disconnect() is called by 2 functions and calls 2 functions:
![]()
esp_bt_hid_host_disconnect()
esp_bt_hid_host_disconnect() reads 7 variables and writes 3 variables:
![]()
esp_bt_hid_host_disconnect()