esp_bt_hid_host_send_data() function
Send data to HID device. When the operation is complete the callback function will be called with ESP_HIDH_DATA_EVT.
Arguments
bd_addr
Remote device bluetooth device address.
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_bt_hid_host_send_data(esp_bd_addr_t bd_addr, uint8_t *data, size_t len)
esp_bt_hid_host_send_data() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_send_data()
esp_bt_hid_host_send_data() reads 9 variables and writes 5 variables:
![]()
esp_bt_hid_host_send_data()