Go to the documentation of this file.
60 #define ISO_ADDR_LEN 6
61 #define ENC_CODE_LEN 16
63 #define ISO_SYNC0_PULSE (0x1 << 0)
64 #define ISO_SYNC1_PULSE (0x1 << 1)
644 void (*iso_rm_cig_cmpl_evt_cb)(uint8_t status, uint8_t cig_id);
646 void (*iso_reject_cis_req_cmpl_evt_cb)(uint8_t status, uint16_t cis_hdl);
648 void (*iso_set_data_path_cmpl_evt_cb)(uint8_t status, uint16_t con_hdl);
650 void (*iso_rm_data_path_cmpl_evt_cb)(uint8_t status, uint16_t con_hdl);
652 void (*iso_temi_big_sync_cmpl_evt_cb)(uint8_t status);
654 void (*iso_set_data_path_trigger_cmpl_evt_cb)(uint8_t status);
656 void (*iso_cmd_status_evt_cb)(uint16_t op_code, uint8_t status);
664 void (*gap_adv_report_ind_cb)(
const gap_ext_adv_report_ind_t *p_adv_report);
666 void (*gap_sync_established_cb)(uint8_t inst_idx, uint8_t status,
const gap_sync_established_ind_t *p_sync_est_evt);
@ ISO_SET_DEFAULT_PER_ADV_SYNC_TRAN_PARAM
uint16_t ble_iso_discover_ann(iso_disc_ann_t *param)
Discovery the audio announcement by using extended scan.
uint16_t ble_iso_set_iso_sync_pulse(uint8_t iso_sync_p_sel, uint8_t sync0_gpio_sel, uint8_t sync1_gpio_sel)
Set iso sync pulse GPIO trigger.
void ble_iso_register_ascp_gap_callback(ascp_gap_cb_fun_t *cb)
Register the gap evetn callback for ascp.
The parameter for terminating big complete event.
uint16_t ble_iso_rm_cig(uint8_t cig_id)
Remove the cig indicated by the cig_id.
The parameter for creating big.
uint16_t trans_latency_s2m
uint16_t ble_iso_start_target_ann(iso_start_target_ann_t *param)
Start target audio announcement by using extended adv.
The parameter for big lost event.
The parameter for set cig parameter complete event.
uint16_t ble_iso_start_bd_ann(iso_start_bd_ann_t *param, uint8_t *ext_adv_data, uint16_t ext_adv_data_len)
Start broadcast audio announcement by using periodic adv.
uint16_t ble_iso_stop_sync_bd_ann(uint8_t index)
Stop sync the broadcast audio announcement.
uint16_t ble_iso_stop_ann(uint8_t adv_idx)
Stop the audio announcement by using stop adv.
uint16_t ble_iso_set_cig_param(iso_set_cig_param_t *param)
Set CIG paramter.
The parameter for setting adv sync transport parameter.
uint16_t big_sync_timeout
uint32_t big_trans_latency
The parameter for starting genneral announcement.
iso_packing_type_t
Packing type.
iso_cis_param_t * cis_param
@ ISO_SET_PER_ADV_SYNC_TRAN_PARAM
The parameter for big info report event.
iso_framing_type_t
Framing type.
uint32_t tran_latency_m2s
The parameter for set cig parameter complete event.
The parameter for removing data path.
uint16_t ble_iso_create_cis(iso_create_cis_t *param)
Create CIS.
uint16_t ble_iso_stop_discover_ann(void)
Stop discovery the audio announcement by stop extended scan.
The parameter for creating big complete event.
uint16_t ble_iso_rm_data_path(iso_rm_data_path_t *param)
Remove the ISO data path.
iso_encryption_type_t
Encryption type.
uint16_t ble_iso_set_data_path(iso_set_data_path_t *param)
Set the ISO data path.
The parameter for discovery announcement.
uint16_t ble_iso_sync_bd_ann(uint8_t index, iso_sync_ann_t *param)
Sync the broadcast audio announcement by sync the period adv.
The parameter for starting broadcast announcement.
File that contains error codes.
uint16_t ble_iso_set_data_path_trigger(iso_set_data_path_trigger_t *param)
Set iso data path trigger.
The parameter for setting default periodic advertising synchronization transport.
uint16_t ble_iso_accept_cis_req(uint16_t cis_hdl)
Slave Host to inform the Controller to accept the request for the CIS that is identified by the cis_h...
The parameter for creating multi cis.
The parameter for starting target announcement.
The parameter for setting periodic advertising reciving enable.
The callback for gap event which need to be handled by ascp.
iso_create_cis_param_t * params
uint16_t ble_iso_create_big_sync(iso_create_big_sync_t *param)
Create the BIG sync.
The parameter for cis establish event.
The parameter for request peer sca complete event.
uint32_t tran_latency_s2m
iso_adv_type_t
Adv type for announcement.
The parameter for setting data path.
uint16_t ble_iso_terminate_big(uint8_t big_hdl, uint8_t reason)
Terminate the BIG.
@ ISO_SET_PER_ADV_SET_INFO_TRAN
The parameter for cis request event.
uint16_t ble_iso_create_big(iso_create_big_t *param)
Create the BIG.
iso_add_type_t
Address type.
uint16_t ble_iso_gpio_enable(uint8_t gpio_sel)
Un-mask the ISO GPIO.
uint16_t ble_iso_start_gen_ann(iso_start_gen_ann_t *param)
Start general audio announcement by using extended adv.
The parameter for receiving periodic advertising Synchronization transport event.
uint16_t ble_iso_disc_cis(uint16_t cis_hdl)
disconnect the CIS that is identified by the cis_hdl.
iso_data_path_type_t
Data path type.
iso_sync_mode_t
Sync mode type.
The parameter for read iso tx sync complete event.
uint16_t ble_iso_register_callback(iso_cb_fun_t *cb)
Register callback for iso.
The parameter for setting cis.
iso_data_path_direction_t
Data path direction type.
The parameter for creating big sync complete event.
The parameter for creating big sync.
uint32_t big_trans_latency
iso_termi_big_reason_t
Terminate big/big sync reason.
uint16_t ble_iso_terminate_big_sync(uint8_t big_hdl)
Terminate the BIG sync.
The parameter for set iso data path trigger.
uint16_t ble_iso_req_peer_sca(uint16_t conn_idx)
Read the Sleep Clock Accuracy of the peer device.
The structure for iso hci data.
uint16_t ble_iso_reject_cis_req(uint16_t cis_hdl, uint8_t reason)
slave Host to reject the request for the CIS that is identified by the cis_hdl.
The parameter for cis disconnect event.
uint16_t ble_iso_read_tx_sync(uint16_t conn_hdl)
read the Bluetooth_TimeStamp (BTS) of a packet identified by the Packet_Sequence_Number on a CIS or B...
The parameter for creating per cis.
The parameter for sync announcement.
The parameter for setting periodic advertising set information.
The parameter for periodic advertising synchronization transport.
uint16_t trans_latency_m2s
The parameter for setting cig.