AIROC™ BTSDK v4.9 - Documentation | ||||
Bluetooth Synchronous Connection Oriented Channel Application Programming Interface. More...
Data Structures | |
struct | wiced_bt_sco_params_t |
Subset for the enhanced setup/accept synchronous connection paramters See Bluetooth 4.1 or later HCI spec for details. More... | |
struct | wiced_bt_voice_path_setup_t |
SCO path config. More... | |
Macros | |
#define | WICED_BT_SCO_CONNECTION_ACCEPT 0x00 |
#define | WICED_BT_SCO_CONNECTION_REJECT_RESOURCES 0x0D |
#define | WICED_BT_SCO_CONNECTION_REJECT_SECURITY 0x0E |
#define | WICED_BT_SCO_CONNECTION_REJECT_DEVICE 0x0F |
#define | WICED_INVALID_SCO_INDEX 0xFFFF |
Default SCO index. | |
#define | WICED_SCO_LINK_ALL_PKT_MASK 0x003F |
SCO packet type all. | |
#define | WICED_SCO_PKT_TYPES_MASK_HV3 0x0004 |
SCO packet type HV3. | |
#define | WICED_SCO_PKT_TYPES_MASK_EV3 0x0008 |
SCO packet type EV3. | |
#define | WICED_SCO_PKT_TYPES_MASK_EV4 0x0010 |
SCO packet type EV4. | |
#define | WICED_SCO_PKT_TYPES_MASK_EV5 0x0020 |
SCO packet type EV5. | |
#define | WICED_SCO_PKT_TYPES_MASK_NO_2_EV3 0x0040 |
SCO packet type 2-EV3. | |
#define | WICED_SCO_PKT_TYPES_MASK_NO_3_EV3 0x0080 |
SCO packet type 3-EV3. | |
#define | WICED_SCO_PKT_TYPES_MASK_NO_2_EV5 0x0100 |
SCO packet type 2-EV5. | |
#define | WICED_SCO_PKT_TYPES_MASK_NO_3_EV5 0x0200 |
SCO packet type 3-EV5. | |
#define | WICED_BT_SCO_DATA_CB_GET_LENGTH(ltch_len) ((ltch_len>>8)&0xff) |
SCO data callback length. | |
#define | wiced_bt_sco_create_as_acceptor(p_sco_index) wiced_bt_sco_create_as_acceptor_ex(NULL, p_sco_index) |
#define | wiced_bt_sco_create_as_acceptor_with_specific_ag(ag_addr, p_sco_index) wiced_bt_utils_sco_create_as_acceptor_with_specific_ag(ag_addr, p_sco_index) |
Typedefs | |
typedef void( | wiced_bt_sco_data_cb_t )(uint16_t sco_channel, uint16_t length, uint8_t *p_data) |
Call back function for pcm data transfer, ltch_len = (length)<<8|(sco_channel) | |
Enumerations | |
enum | wiced_bt_sco_route_path_t { WICED_BT_SCO_OVER_HCI, WICED_BT_SCO_OVER_PCM } |
SCO route path. More... | |
Functions | |
wiced_bt_dev_status_t | wiced_bt_sco_create_as_initiator (wiced_bt_device_address_t bd_addr, uint16_t *p_sco_index, wiced_bt_sco_params_t *p_params) |
The wiced_sco_lib.a was required to included before we link this function. More... | |
wiced_bt_dev_status_t | wiced_bt_sco_create_as_acceptor_ex (wiced_bt_device_address_t remote_bda, uint16_t *p_sco_index) |
Creates a synchronous connection oriented connection as acceptor. More... | |
wiced_bt_dev_status_t | wiced_bt_utils_sco_create_as_acceptor_with_specific_ag (wiced_bt_device_address_t ag_addr, uint16_t *p_sco_index) |
Creates a synchronous connection oriented connection as acceptor with specific Audio Gateway. More... | |
wiced_bt_dev_status_t | wiced_bt_sco_remove (uint16_t sco_index) |
Removes a specific synchronous connection oriented connection. More... | |
void | wiced_bt_sco_accept_connection (uint16_t sco_index, uint8_t hci_status, wiced_bt_sco_params_t *p_params) |
The wiced_sco_lib.a was required to be included before we link this function. More... | |
wiced_bt_dev_status_t | wiced_bt_sco_setup_voice_path (wiced_bt_voice_path_setup_t *pData) |
The wiced_sco_lib.a was required to include before we link this function. More... | |
wiced_bt_dev_status_t | wiced_bt_sco_write_buffer (uint16_t sco_inx, uint8_t *p_data, uint8_t len) |
The wiced_sco_lib.a was required to include before we link this function. More... | |
uint16_t | wiced_bt_sco_output_stream (uint16_t sco_index, uint8_t *p_pcmsrc, uint16_t len) |
The wiced_sco_lib.a was required to include before we link this function. More... | |
void | wiced_bt_sco_turn_off_pcm_clock (void) |
The wiced_voice_path.a was required to include before we link this function. More... | |
Bluetooth Synchronous Connection Oriented Channel Application Programming Interface.