/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/ |
D | bta_hf_client_sco.c | 127 if (bta_hf_client_cb.scb.sco_idx != BTM_INVALID_SCO_INDEX) { in bta_hf_client_sco_remove() 128 status = BTM_RemoveSco(bta_hf_client_cb.scb.sco_idx); in bta_hf_client_sco_remove() 130 …APPL_TRACE_DEBUG("%s idx 0x%04x, status:0x%x", __FUNCTION__, bta_hf_client_cb.scb.sco_idx, status); in bta_hf_client_sco_remove() 137 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_sco_remove() 206 …APPL_TRACE_DEBUG("%s: negotiated codec = %d", __FUNCTION__, bta_hf_client_cb.scb.negotiated_codec); in bta_hf_client_sco_conn_rsp() 208 if (bta_hf_client_cb.scb.sco_state == BTA_HF_CLIENT_SCO_LISTEN_ST) { in bta_hf_client_sco_conn_rsp() 212 if ((bta_hf_client_cb.scb.negotiated_codec == BTM_SCO_CODEC_CVSD) && in bta_hf_client_sco_conn_rsp() 213 (bta_hf_client_cb.scb.features && BTA_HF_CLIENT_FEAT_ESCO_S4) && in bta_hf_client_sco_conn_rsp() 214 (bta_hf_client_cb.scb.peer_features && BTA_HF_CLIENT_PEER_ESCO_S4)) { in bta_hf_client_sco_conn_rsp() 216 } else if (bta_hf_client_cb.scb.negotiated_codec == BTM_SCO_CODEC_MSBC) { in bta_hf_client_sco_conn_rsp() [all …]
|
D | bta_hf_client_rfc.c | 51 if (port_handle != bta_hf_client_cb.scb.conn_handle) { in bta_hf_client_port_cback() 53 port_handle, bta_hf_client_cb.scb.conn_handle); in bta_hf_client_port_cback() 79 … code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_mgmt_cback() 82 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle)) { in bta_hf_client_mgmt_cback() 88 …if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* … in bta_hf_client_mgmt_cback() 89 … (port_handle == bta_hf_client_cb.scb.serv_handle)) { /* incoming connection */ in bta_hf_client_mgmt_cback() 97 else if (port_handle == bta_hf_client_cb.scb.conn_handle) { in bta_hf_client_mgmt_cback() 140 if (bta_hf_client_cb.scb.serv_handle > 0) { in bta_hf_client_start_server() 141 …APPL_TRACE_DEBUG("%s already started, handle: %d", __FUNCTION__, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_start_server() 145 … BTM_SetSecurityLevel(FALSE, "", BTM_SEC_SERVICE_HF_HANDSFREE, bta_hf_client_cb.scb.serv_sec_mask, in bta_hf_client_start_server() [all …]
|
D | bta_hf_client_act.c | 67 bta_hf_client_cb.scb.serv_sec_mask = p_data->api_register.sec_mask; in bta_hf_client_register() 68 bta_hf_client_cb.scb.features = p_data->api_register.features; in bta_hf_client_register() 105 bta_hf_client_cb.scb.deregister = TRUE; in bta_hf_client_deregister() 133 bta_hf_client_cb.scb.deregister = TRUE; in bta_hf_client_start_dereg() 153 bta_dm_pm_active(bta_hf_client_cb.scb.peer_addr); in bta_hf_client_start_close() 155 L2CA_SetIdleTimeoutByBdAddr(bta_hf_client_cb.scb.peer_addr, 0, BT_TRANSPORT_BR_EDR); in bta_hf_client_start_close() 158 if (bta_hf_client_cb.scb.sco_state == BTA_HF_CLIENT_SCO_OPEN_ST) { in bta_hf_client_start_close() 159 bta_hf_client_cb.scb.sco_close_rfc = TRUE; in bta_hf_client_start_close() 184 bdcpy(bta_hf_client_cb.scb.peer_addr, p_data->api_open.bd_addr); in bta_hf_client_start_open() 185 bta_hf_client_cb.scb.cli_sec_mask = p_data->api_open.sec_mask; in bta_hf_client_start_open() [all …]
|
D | bta_hf_client_sdp.c | 60 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_ACP) { in bta_hf_client_sdp_cback() 230 bta_hf_client_cb.scb.peer_version = HFP_VERSION_1_1; /* Default version */ in bta_hf_client_sdp_find_attr() 235 …if ((p_rec = SDP_FindServiceInDb(bta_hf_client_cb.scb.p_disc_db, UUID_SERVCLASS_AG_HANDSFREE, p_re… in bta_hf_client_sdp_find_attr() 240 if (bta_hf_client_cb.scb.role == BTA_HF_CLIENT_INT) { in bta_hf_client_sdp_find_attr() 242 bta_hf_client_cb.scb.peer_scn = (UINT8) pe.params[0]; in bta_hf_client_sdp_find_attr() 249 …SDP_FindProfileVersionInRec(p_rec, UUID_SERVCLASS_HF_HANDSFREE, &bta_hf_client_cb.scb.peer_version… in bta_hf_client_sdp_find_attr() 256 if (bta_hf_client_cb.scb.peer_features == 0) { in bta_hf_client_sdp_find_attr() 257 bta_hf_client_cb.scb.peer_features = p_attr->attr_value.v.u16; in bta_hf_client_sdp_find_attr() 260 if (bta_hf_client_cb.scb.peer_features & 0x0020) { in bta_hf_client_sdp_find_attr() 261 bta_hf_client_cb.scb.peer_features &= ~0x0020; in bta_hf_client_sdp_find_attr() [all …]
|
D | bta_hf_client_at.c | 101 tBTA_HF_CLIENT_AT_QCMD *cur = bta_hf_client_cb.scb.at_cb.queued_cmd; in bta_hf_client_clear_queued_at() 110 bta_hf_client_cb.scb.at_cb.queued_cmd = NULL; in bta_hf_client_clear_queued_at() 125 if (bta_hf_client_cb.scb.at_cb.queued_cmd != NULL) { in bta_hf_client_queue_at() 126 tBTA_HF_CLIENT_AT_QCMD *qcmd = bta_hf_client_cb.scb.at_cb.queued_cmd; in bta_hf_client_queue_at() 134 bta_hf_client_cb.scb.at_cb.queued_cmd = new_cmd; in bta_hf_client_queue_at() 142 bta_hf_client_cb.scb.at_cb.resp_timer_on = FALSE; in bta_hf_client_at_resp_timer_cback() 152 if (bta_hf_client_cb.scb.at_cb.resp_timer_on) { in bta_hf_client_stop_at_resp_timer() 153 bta_hf_client_cb.scb.at_cb.resp_timer_on = FALSE; in bta_hf_client_stop_at_resp_timer() 154 bta_sys_stop_timer (&bta_hf_client_cb.scb.at_cb.resp_timer); in bta_hf_client_stop_at_resp_timer() 160 bta_hf_client_cb.scb.at_cb.resp_timer_on = FALSE; in bta_hf_client_free_at_resp_timer() [all …]
|
D | bta_hf_client_main.c | 259 memset(&bta_hf_client_cb.scb, 0, sizeof(tBTA_HF_CLIENT_SCB)); in bta_hf_client_scb_init() 260 bta_hf_client_cb.scb.sco_idx = BTM_INVALID_SCO_INDEX; in bta_hf_client_scb_init() 261 bta_hf_client_cb.scb.negotiated_codec = BTM_SCO_CODEC_CVSD; in bta_hf_client_scb_init() 298 if (bta_hf_client_cb.scb.state == BTA_HF_CLIENT_INIT_ST) { in bta_hf_client_resume_open() 299 bta_hf_client_cb.scb.state = BTA_HF_CLIENT_OPENING_ST; in bta_hf_client_resume_open() 319 bta_hf_client_cb.scb.colli_tmr_on = FALSE; in bta_hf_client_colli_timer_cback() 343 if (bta_hf_client_cb.scb.state == BTA_HF_CLIENT_OPENING_ST) { in bta_hf_client_collision_cback() 352 bta_hf_client_cb.scb.state = BTA_HF_CLIENT_INIT_ST; in bta_hf_client_collision_cback() 355 if (bta_hf_client_cb.scb.p_disc_db) { in bta_hf_client_collision_cback() 356 (void)SDP_CancelServiceSearch (bta_hf_client_cb.scb.p_disc_db); in bta_hf_client_collision_cback() [all …]
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/ |
D | bta_ag_main.c | 417 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_scb_alloc() 476 if (bta_ag_cb.scb[idx].in_use) { in bta_ag_scb_dealloc() 500 return ((UINT16) (p_scb - bta_ag_cb.scb)) + 1; in bta_ag_scb_to_idx() 518 p_scb = &bta_ag_cb.scb[idx - 1]; in bta_ag_scb_by_idx() 561 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_idx_by_bdaddr() 588 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_other_scb_open() 630 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_get_other_idle_scb() 763 bta_ag_cb.scb->negotiated_codec = BTM_SCO_CODEC_MSBC; in bta_ag_api_enable() 766 bta_ag_cb.scb->negotiated_codec = BTM_SCO_CODEC_CVSD; in bta_ag_api_enable() 789 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_api_disable() [all …]
|
D | bta_ag_sco.c | 182 tBTA_AG_SCB *p_scb = &bta_ag_cb.scb[0]; in bta_ag_sco_conn_cback() 255 …ed int) &bta_ag_cb.scb[0], (unsigned int)bta_ag_cb.scb[0].in_use, (unsigned int)bta_ag_cb.scb[0].s… in bta_ag_sco_disc_cback() 257 …d int) &bta_ag_cb.scb[1], (unsigned int) bta_ag_cb.scb[1].in_use, (unsigned int) bta_ag_cb.scb[1].… in bta_ag_sco_disc_cback()
|
D | bta_ag_act.c | 425 if (bta_ag_cb.scb[i].in_use && bta_ag_cb.scb[i].svc_conn) { in bta_ag_rfc_close() 505 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) { in bta_ag_rfc_acp_open()
|
D | bta_ag_api.c | 65 if (bta_ag_cb.scb[idx].in_use) { in BTA_AgEnable()
|
D | bta_ag_sdp.c | 239 tBTA_AG_SCB *p = &bta_ag_cb.scb[0]; in bta_ag_del_records()
|
D | bta_ag_cmd.c | 924 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) { in bta_ag_at_hfp_cback() 1024 for (i = 0, ag_scb = &bta_ag_cb.scb[0]; i < BTA_AG_NUM_SCB; i++, ag_scb++) { in bta_ag_at_hfp_cback()
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_scb.c | 581 memset(&avdt_cb.scb[0], 0, sizeof(tAVDT_SCB) * AVDT_NUM_SEPS); in avdt_scb_init() 599 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_scb_alloc() 680 return (UINT8) (p_scb - avdt_cb.scb + 1); in avdt_scb_to_hdl() 700 p_scb = &avdt_cb.scb[hdl - 1]; in avdt_scb_by_hdl()
|
D | avdt_ccb_act.c | 128 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_chk_close() 160 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_hdl_discover_cmd() 646 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in avdt_ccb_clear_cmds()
|
D | avdt_api.c | 179 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Activate() 208 tAVDT_SCB *p_scb = &avdt_cb.scb[0]; in AVDT_SINK_Deactivate()
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_client/include/ |
D | bta_hf_client_int.h | 185 tBTA_HF_CLIENT_SCB scb; /* service control block */ member
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/hf_ag/include/ |
D | bta_ag_int.h | 332 tBTA_AG_SCB scb[BTA_AG_NUM_SCB]; /* service control blocks */ member
|
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/avdt/include/ |
D | avdt_int.h | 555 tAVDT_SCB scb[AVDT_NUM_SEPS]; /* stream control blocks */ member
|