esp_bt_hid_host_set_report() function
Send a SET_REPORT to HID device. When the operation is complete the callback function will be called with ESP_HIDH_SET_RPT_EVT.
Arguments
bd_addr
Remote device bluetooth device address.
report
Report data pointer
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_bt_hid_host_set_report(esp_bd_addr_t bd_addr, esp_hidh_report_type_t report_type, uint8_t *report,
esp_bt_hid_host_set_report() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_set_report()
esp_bt_hid_host_set_report() reads 9 variables and writes 6 variables:
![]()
esp_bt_hid_host_set_report()