esp_bt_hid_host_deinit() function
Closes the interface. This function should be called after esp_bluedroid_enable() and esp_bluedroid_init()/esp_bluedroid_init_with_cfg() success, and should be called after esp_bt_hid_host_init(). When the operation is complete the callback function will be called with ESP_HIDH_DEINIT_EVT.
Return value
- ESP_OK: success - other: failed
esp_bt_hid_host_deinit() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_deinit()
esp_bt_hid_host_deinit() reads 5 variables and writes 3 variables:
![]()
esp_bt_hid_host_deinit()