esp_bt_hid_host_set_idle() function
Set the HID Idle Time. When the operation is complete the callback function will be called with ESP_HIDH_SET_IDLE_EVT.
Arguments
bd_addr
Remote device bluetooth device address.
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_bt_hid_host_set_idle(esp_bd_addr_t bd_addr, uint16_t idle_time)
esp_bt_hid_host_set_idle() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_set_idle()
esp_bt_hid_host_set_idle() reads 7 variables and writes 4 variables:
![]()
esp_bt_hid_host_set_idle()