Infineon Logo AIROC BTSDK v4.8 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HIDD over BR/EDR

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...
 

Detailed Description

HIDD Functions.

Function Documentation

wiced_bt_hidd_status_t wiced_bt_hidd_connect ( void  )

Function wiced_bt_hidd_connect.

Initiates a connection to the host.

Parameters
[in]None
[out]None
Returns
status code (see wiced_bt_hidd_status_t)
wiced_bt_hidd_status_t wiced_bt_hidd_deregister ( void  )

Function wiced_bt_hidd_deregister.

Remove HIDD service records and deregister L2CAP channel.

Parameters
[in]None
[out]None
Returns
status code (see wiced_bt_hidd_status_t)
wiced_bt_hidd_status_t wiced_bt_hidd_disconnect ( void  )

Function wiced_bt_hidd_disconnect.

Disconnects from the host.

Parameters
[in]None
[out]None
Returns
status code (see wiced_bt_hidd_status_t)
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.

Parameters
[in]res_code: Result code
[out]None
Returns
status code (see wiced_bt_hidd_status_t)
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.

Parameters
[in]p_reg_info: Registration info
[out]None
Returns
status code (see wiced_bt_hidd_status_t)
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.

Parameters
[in]control_ch: True if control block, False otherwise
[in]rep_type: Report type
[in]p_data: Report data
[in]data_len: Data length
Returns
status code (see wiced_bt_hidd_status_t)
wiced_bt_hidd_status_t wiced_bt_hidd_virtual_unplug ( void  )

Function wiced_bt_hidd_virtual_unplug.

Sends VIRTUAL-UNPLUG to host.

Parameters
[in]None
[out]None
Returns
status code (see wiced_bt_hidd_status_t)