esp_bt_hid_host_init() function
This function initializes HID host. 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_register_callback(). When the operation is complete the callback function will be called with ESP_HIDH_INIT_EVT.
Return value
- ESP_OK: success - other: failed
esp_bt_hid_host_init() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_init()
esp_bt_hid_host_init() reads 5 variables and writes 3 variables:
![]()
esp_bt_hid_host_init()