esp_bt_hid_host_set_protocol() function
Set the HID proto mode. When the operation is complete the callback function will be called with ESP_HIDH_SET_PROTO_EVT.
Arguments
bd_addr
Remote device bluetooth device address.
protocol_mode
Protocol mode type.
Return value
- ESP_OK: success - other: failed
![]()
esp_err_t esp_bt_hid_host_set_protocol(esp_bd_addr_t bd_addr, esp_hidh_protocol_mode_t protocol_mode)
esp_bt_hid_host_set_protocol() is called by 1 function and calls 2 functions:
![]()
esp_bt_hid_host_set_protocol()
esp_bt_hid_host_set_protocol() reads 7 variables and writes 4 variables:
![]()
esp_bt_hid_host_set_protocol()