Infineon Logo AIROC BTSDK v4.2 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Types

Data Types for SCO Hook. More...

Data Structures

struct  wiced_bt_sco_hook_event_mic_samples_t
 Data associated with WICED_BT_SCO_HOOK_EVT_MIC_SAMPLES. More...
 
union  wiced_bt_sco_hook_event_data_t
 Union of data associated with SCO Hook events. More...
 

Modules

 API Functions
  API Functions module for SCO Hook.
 

Typedefs

typedef
wiced_bt_sco_hook_event_mic_samples_t 
wiced_bt_sco_hook_event_spk_samples_t
 Data associated with WICED_BT_SCO_HOOK_EVT_SPK_SAMPLES. More...
 
typedef
wiced_bt_sco_hook_event_mic_samples_t 
wiced_bt_sco_hook_event_spk_inserted_zeros_t
 Data associated with WICED_BT_SCO_HOOK_EVT_SPK_INSERTED_ZEROS. More...
 
typedef void( wiced_bt_sco_hook_callback_t )(wiced_bt_sco_hook_event_t event, wiced_bt_sco_hook_event_data_t *p_data)
 SCO Hook Callback function type wiced_bt_sco_hook_callback_t. More...
 

Enumerations

enum  wiced_bt_sco_hook_event_t { WICED_BT_SCO_HOOK_EVT_MIC_SAMPLES = 1, WICED_BT_SCO_HOOK_EVT_SPK_SAMPLES = 2, WICED_BT_SCO_HOOK_EVT_SPK_INSERTED_ZEROS = 3 }
 SCO Hook Events. More...
 

Functions

wiced_result_t sco_aud_init (wiced_bt_sco_hook_callback_t *p_callback)
 Low Level external FW function definition.
 

Detailed Description

Data Types for SCO Hook.

Typedef Documentation

typedef void( wiced_bt_sco_hook_callback_t)(wiced_bt_sco_hook_event_t event, wiced_bt_sco_hook_event_data_t *p_data)

SCO Hook Callback function type wiced_bt_sco_hook_callback_t.

SCO Hook Event callback (registered with wiced_bt_sco_hook_init)

Parameters
[in]eventSCO Hook event received
[in]p_data: Data (pointer on union of structure) associated with the event
Returns
NONE

Data associated with WICED_BT_SCO_HOOK_EVT_SPK_INSERTED_ZEROS.

This event is received when Zeros are inserted for the Speaker

Data associated with WICED_BT_SCO_HOOK_EVT_SPK_SAMPLES.

This event is received when Audio samples will be send to the Speaker

Enumeration Type Documentation

SCO Hook Events.

SCO Hook events received by the SCO Hook callback (see wiced_bt_sco_hook_callback_t)

Enumerator
WICED_BT_SCO_HOOK_EVT_MIC_SAMPLES 

FW delivers Mic samples for processing.

WICED_BT_SCO_HOOK_EVT_SPK_SAMPLES 

FW delivers Spk samples for processing.