Typedefs | |
typedef void( | wiced_bt_sco_data_cback_t )(uint16_t sco_index, BT_HDR *sco_data, wiced_bt_sco_data_packet_status_t status) |
typedef uint8_t | wiced_bt_sco_data_packet_status_t |
typedef uint8_t | wiced_bt_sco_esco_codec_setting_id_t |
Functions | |
wiced_bt_dev_status_t | wiced_bt_sco_accept_connection (uint16_t sco_index, uint8_t hci_status, wiced_bt_sco_esco_codec_setting_id_t esco_set_id) |
wiced_bt_dev_status_t | wiced_bt_sco_create_as_acceptor (uint16_t *p_sco_index) |
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_esco_codec_setting_id_t esco_set_id) |
void * | wiced_bt_sco_get_buffer_pool (void) |
wiced_bt_dev_status_t | wiced_bt_sco_remove (uint16_t sco_index) |
wiced_bt_dev_status_t | wiced_bt_sco_set_buffer_pool (uint16_t buffer_size, uint16_t buffer_count) |
wiced_bt_dev_status_t | wiced_bt_sco_set_data_callback (wiced_bt_sco_data_cback_t *p_cback) |
wiced_bt_dev_status_t | wiced_bt_sco_write_data (uint16_t sco_index, uint8_t *sco_data, uint16_t data_length) |
Bluetooth Synchronous Connection Oriented Channel Application Programming Interface
typedef void( wiced_bt_sco_data_cback_t)(uint16_t sco_index, BT_HDR *sco_data, wiced_bt_sco_data_packet_status_t status) |
Callback wiced_bt_sco_data_cback_t
SCO data packet callback (registered with wiced_bt_sco_set_data_callback)
sco_index | : SCO Index |
sco_data | : pointer to BT_HDR struct containing SCO data. |
status | : one of the following values - 0 = WICED_BT_SCO_DATA_CORRECT, 1 = WICED_BT_SCO_DATA_PARTIAL_ERROR, 2 = WICED_BT_SCO_DATA_NONE, 3 = WICED_BT_SCO_DATA_PARTIAL_LOST |
typedef uint8_t wiced_bt_sco_data_packet_status_t |
SCO Data Packet Status (See wiced_bt_sco_data_packet_status_e)
typedef uint8_t wiced_bt_sco_esco_codec_setting_id_t |
eSCO Codec Settings ID (See wiced_bt_sco_esco_codec_setting_id_e)