AIROC™ BTSDK v4.7 - Documentation | ||||
HIDD Functions. More...
Functions | |
wiced_bt_hidd_status_t | wiced_bt_hidd_register (wiced_bt_hidd_reg_info_t *p_reg_info) |
Function wiced_bt_hidd_register. More... | |
wiced_bt_hidd_status_t | wiced_bt_hidd_deregister (void) |
Function wiced_bt_hidd_deregister. More... | |
wiced_bt_hidd_status_t | wiced_bt_hidd_connect (void) |
Function wiced_bt_hidd_connect. More... | |
wiced_bt_hidd_status_t | wiced_bt_hidd_disconnect (void) |
Function wiced_bt_hidd_disconnect. More... | |
wiced_bt_hidd_status_t | wiced_bt_hidd_hand_shake (uint8_t res_code) |
Function wiced_bt_hidd_hand_shake. More... | |
wiced_bt_hidd_status_t | wiced_bt_hidd_virtual_unplug (void) |
Function wiced_bt_hidd_virtual_unplug. More... | |
wiced_bt_hidd_status_t | wiced_bt_hidd_send_data (wiced_bool_t control_ch, uint8_t rep_type, uint8_t *p_data, uint16_t data_len) |
Function wiced_bt_hidd_send_data. More... | |
HIDD Functions.
wiced_bt_hidd_status_t wiced_bt_hidd_connect | ( | void | ) |
Function wiced_bt_hidd_connect.
Initiates a connection to the host.
[in] | None | |
[out] | None |
wiced_bt_hidd_status_t wiced_bt_hidd_deregister | ( | void | ) |
Function wiced_bt_hidd_deregister.
Remove HIDD service records and deregister L2CAP channel.
[in] | None | |
[out] | None |
wiced_bt_hidd_status_t wiced_bt_hidd_disconnect | ( | void | ) |
Function wiced_bt_hidd_disconnect.
Disconnects from the host.
[in] | None | |
[out] | None |
wiced_bt_hidd_status_t wiced_bt_hidd_hand_shake | ( | uint8_t | res_code | ) |
Function wiced_bt_hidd_hand_shake.
Sends HAND-SHAKE to host.
[in] | res_code | : Result code |
[out] | None |
wiced_bt_hidd_status_t wiced_bt_hidd_register | ( | wiced_bt_hidd_reg_info_t * | p_reg_info | ) |
Function wiced_bt_hidd_register.
Called at startup to register necessary info for HIDD.
[in] | p_reg_info | : Registration info |
[out] | None |
wiced_bt_hidd_status_t wiced_bt_hidd_send_data | ( | wiced_bool_t | control_ch, |
uint8_t | rep_type, | ||
uint8_t * | p_data, | ||
uint16_t | data_len | ||
) |
Function wiced_bt_hidd_send_data.
Sends input reports to host.
[in] | control_ch | : True if control block, False otherwise |
[in] | rep_type | : Report type |
[in] | p_data | : Report data |
[in] | data_len | : Data length |
wiced_bt_hidd_status_t wiced_bt_hidd_virtual_unplug | ( | void | ) |
Function wiced_bt_hidd_virtual_unplug.
Sends VIRTUAL-UNPLUG to host.
[in] | None | |
[out] | None |