Infineon Logo AIROC BTSDK v4.7 - Documentation
 
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Advanced Audio (A2DP)

Advanced Audio Distribution Profile. More...

Modules

 A2DP Helper Functions
 Advanced Audio Distribution Profile.
 
 A2DP SBC Support
 

Functions

uint8_t wiced_bt_a2d_set_trace_level (uint8_t new_level)
 
uint8_t wiced_bt_a2d_bits_set (uint8_t mask)
 Function wiced_bt_a2d_bits_set. More...
 
wiced_bt_a2d_status_t wiced_bt_a2d_find_service (uint16_t service_uuid, BD_ADDR bd_addr, wiced_bt_a2d_sdp_db_params_t *p_db, wiced_bt_a2d_find_cback *p_cback)
 Function wiced_bt_a2d_find_service. More...
 

Detailed Description

Advanced Audio Distribution Profile.

Function Documentation

uint8_t wiced_bt_a2d_bits_set ( uint8_t  mask)

Function wiced_bt_a2d_bits_set.

Check the number of bits set in a given mask (used to parse stream configuration masks)

Parameters
[in]mask: mask to check
Returns
A2D_SET_ONE_BIT, if one and only one bit is set A2D_SET_ZERO_BIT, if all bits clear A2D_SET_MULTL_BIT, if multiple bits are set
wiced_bt_a2d_status_t wiced_bt_a2d_find_service ( uint16_t  service_uuid,
BD_ADDR  bd_addr,
wiced_bt_a2d_sdp_db_params_t p_db,
wiced_bt_a2d_find_cback p_cback 
)

Function wiced_bt_a2d_find_service.

Performs Service Discovery and fetches SRC/SINK SDP Record Info. Information is returned for the first service record found on the server that matches the service UUID.There can only be one outstanding call to wiced_bt_a2d_find_service() at a time; the application must wait for the callback before it makes another call to the function.

Parameters
[in]service_uuid: Indicates SRC or SNK.
[in]bd_addr: BD address of the peer device.
[in]p_db: Pointer to the information to initialize the discovery database.
[in]p_cback: Pointer to the wiced_bt_a2d_find_service() callback function.
Returns
wiced_bt_a2d_status_t