Home
last modified time | relevance | path

Searched refs:cb_evt (Results 1 – 11 of 11) sorted by relevance

/hal_espressif-latest/components/bt/host/bluedroid/stack/btm/
Dbtm_ble_adv_filter.c119 void btm_ble_advfilt_enq_op_q(UINT8 action, UINT8 ocf, tBTM_BLE_FILT_CB_EVT cb_evt, in btm_ble_advfilt_enq_op_q() argument
125 btm_ble_adv_filt_cb.op_q.cb_evt[btm_ble_adv_filt_cb.op_q.next_idx] = cb_evt; in btm_ble_advfilt_enq_op_q()
131 ocf, cb_evt, p_cmpl_cback); in btm_ble_advfilt_enq_op_q()
154 *p_cb_evt = btm_ble_adv_filt_cb.op_q.cb_evt[btm_ble_adv_filt_cb.op_q.pending_idx]; in btm_ble_advfilt_deq_op_q()
267 UINT8 num_avail = 0, cb_evt = 0; in btm_ble_scan_pf_cmpl_cback() local
275 btm_ble_advfilt_deq_op_q(&action, &ocf, &cb_evt, &ref_value, &p_scan_cfg_cback, in btm_ble_scan_pf_cmpl_cback()
280 btm_ble_advfilt_deq_op_q(&action, &ocf, &cb_evt, &ref_value, &p_scan_cfg_cback, in btm_ble_scan_pf_cmpl_cback()
343 BTM_TRACE_DEBUG("btm_ble_scan_pf_cmpl_cback: calling the cback: %d", cb_evt); in btm_ble_scan_pf_cmpl_cback()
344 switch (cb_evt) { in btm_ble_scan_pf_cmpl_cback()
545 tBTM_BLE_FILT_CB_EVT cb_evt, in btm_ble_update_pf_manu_data() argument
[all …]
Dbtm_ble_batchscan.c141 UINT8 cb_evt, tBTM_BLE_REF_VALUE ref_value) in btm_ble_batchscan_enq_op_q() argument
143 ble_batchscan_cb.op_q.sub_code[ble_batchscan_cb.op_q.next_idx] = (opcode | (cb_evt << 4)); in btm_ble_batchscan_enq_op_q()
355 UINT8 report_format = 0, num_records = 0, cb_evt = 0; in btm_ble_batchscan_vsc_cmpl_cback() local
363 btm_ble_batchscan_deq_op_q(&opcode, &cur_state, &cb_evt, &ref_value); in btm_ble_batchscan_vsc_cmpl_cback()
370 btm_ble_batchscan_deq_op_q(&opcode, &cur_state, &cb_evt, &ref_value); in btm_ble_batchscan_vsc_cmpl_cback()
373 opcode, cur_state, cb_evt, ref_value); in btm_ble_batchscan_vsc_cmpl_cback()
390 status, ble_batchscan_cb.cur_state, cb_evt); in btm_ble_batchscan_vsc_cmpl_cback()
392 if (cb_evt != 0 && NULL != ble_batchscan_cb.p_setup_cback) { in btm_ble_batchscan_vsc_cmpl_cback()
393 ble_batchscan_cb.p_setup_cback(cb_evt, ref_value, status); in btm_ble_batchscan_vsc_cmpl_cback()
400 status, cb_evt); in btm_ble_batchscan_vsc_cmpl_cback()
[all …]
Dbtm_ble_multi_adv.c74 void btm_ble_multi_adv_enq_op_q(UINT8 opcode, UINT8 inst_id, UINT8 cb_evt) in btm_ble_multi_adv_enq_op_q() argument
80 p_op_q->p_sub_code[p_op_q->next_idx] = (opcode | (cb_evt << 4)); in btm_ble_multi_adv_enq_op_q()
123 UINT8 cb_evt = 0, opcode; in btm_ble_multi_adv_vsc_cmpl_cback() local
133 btm_ble_multi_adv_deq_op_q(&opcode, &inst_id, &cb_evt); in btm_ble_multi_adv_vsc_cmpl_cback()
135 BTM_TRACE_DEBUG("op_code = %02x inst_id = %d cb_evt = %02x", opcode, inst_id, cb_evt); in btm_ble_multi_adv_vsc_cmpl_cback()
149 if (HCI_SUCCESS != status && BTM_BLE_MULTI_ADV_ENB_EVT == cb_evt) { in btm_ble_multi_adv_vsc_cmpl_cback()
179 if (cb_evt != 0 && p_inst->p_cback != NULL) { in btm_ble_multi_adv_vsc_cmpl_cback()
180 (p_inst->p_cback)(cb_evt, inst_id, p_inst->p_ref, status); in btm_ble_multi_adv_vsc_cmpl_cback()
197 tBTM_STATUS btm_ble_enable_multi_adv (BOOLEAN enable, UINT8 inst_id, UINT8 cb_evt) in btm_ble_enable_multi_adv() argument
217 btm_ble_multi_adv_enq_op_q(BTM_BLE_MULTI_ADV_ENB, inst_id, cb_evt); in btm_ble_enable_multi_adv()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_api.c266 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || in SMP_SecurityGrant()
273 smp_cb.cb_evt = 0; in SMP_SecurityGrant()
280 smp_cb.cb_evt != SMP_SEC_REQUEST_EVT || in SMP_SecurityGrant()
286 smp_cb.cb_evt = 0; in SMP_SecurityGrant()
312 if (p_cb->cb_evt != SMP_PASSKEY_REQ_EVT) { in SMP_PasskeyReply()
387 if (p_cb->cb_evt != SMP_NC_REQ_EVT) { in SMP_ConfirmReply()
432 if (p_cb->state != SMP_STATE_WAIT_APP_RSP || p_cb->cb_evt != SMP_OOB_REQ_EVT) { in SMP_OobDataReply()
482 if (p_cb->state != SMP_STATE_WAIT_APP_RSP || p_cb->cb_evt != SMP_SC_OOB_REQ_EVT) { in SMP_SecureConnectionOobDataReply()
Dsmp_act.c118 SMP_TRACE_DEBUG("%s p_cb->cb_evt=%d\n", __func__, p_cb->cb_evt); in smp_send_app_cback()
119 if (p_cb->p_callback && p_cb->cb_evt != 0) { in smp_send_app_cback()
120 switch (p_cb->cb_evt) { in smp_send_app_cback()
154 callback_rc = (*p_cb->p_callback)(p_cb->cb_evt, p_cb->pairing_bda, &cb_data); in smp_send_app_cback()
156 SMP_TRACE_DEBUG("callback_rc=%d p_cb->cb_evt=%d\n", callback_rc, p_cb->cb_evt ); in smp_send_app_cback()
159 switch (p_cb->cb_evt) { in smp_send_app_cback()
221 if (!p_cb->cb_evt && p_cb->discard_sec_req) { in smp_send_app_cback()
460 p_cb->cb_evt = 0; in smp_proc_sec_req()
484 p_cb->cb_evt = SMP_SEC_REQUEST_EVT; in smp_proc_sec_req()
511 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_proc_sec_grant()
[all …]
Dsmp_l2c.c134 p_cb->cb_evt = SMP_IO_CAP_REQ_EVT; in smp_connect_callback()
280 p_cb->cb_evt = SMP_BR_KEYS_REQ_EVT; in smp_br_connect_callback()
Dsmp_utils.c1637 p_cb->cb_evt = SMP_SC_OOB_REQ_EVT; in smp_request_oob_data()
Dsmp_keys.c1383 p_cb->cb_evt = SMP_NC_REQ_EVT; in smp_calculate_numeric_comparison_display_number()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_le.c2117 UINT16 cb_evt = p_dev_cb->w4_evt; in bta_hh_le_write_cmpl() local
2119 if (p_data == NULL || cb_evt == 0) { in bta_hh_le_write_cmpl()
2137 (* bta_hh_cb.p_cback)(cb_evt, (tBTA_HH *)&cback_data); in bta_hh_le_write_cmpl()
2148 (* bta_hh_cb.p_cback)(cb_evt, (tBTA_HH *)&cback_data); in bta_hh_le_write_cmpl()
2962 UINT16 cb_evt = p_dev_cb->w4_evt; in bta_hh_le_register_scpp_notif_cmpl() local
2971 (* bta_hh_cb.p_cback)(cb_evt, (tBTA_HH *)&cback_data); in bta_hh_le_register_scpp_notif_cmpl()
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h279 UINT8 cb_evt; member
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbtm_ble_api.h882 UINT8 cb_evt[BTM_BLE_PF_TYPE_MAX]; member