esp_bt_hid_host_get_report() function
Send a GET_REPORT to HID device. When the operation is complete the callback function will be called with ESP_HIDH_GET_RPT_EVT.
Arguments
bd_addr
Remote device bluetooth device address.
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_bt_hid_host_get_report(esp_bd_addr_t bd_addr, esp_hidh_report_type_t report_type, uint8_t report_id,
esp_bt_hid_host_get_report() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_get_report()
esp_bt_hid_host_get_report() reads 7 variables and writes 6 variables:
![]()
esp_bt_hid_host_get_report()