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