Searched refs:devcb (Results 1 – 10 of 10) sorted by relevance
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/ |
D | btm_devctl.c | 79 memset (&btm_cb.devcb, 0, sizeof (tBTM_DEVCB)); in btm_dev_init() 87 btm_cb.devcb.reset_timer.param = (TIMER_PARAM_TYPE)TT_DEV_RESET; in btm_dev_init() 88 btm_cb.devcb.rln_timer.param = (TIMER_PARAM_TYPE)TT_DEV_RLN; in btm_dev_init() 121 if (btm_cb.devcb.p_rln_cmpl_cb) { in btm_db_reset() 122 p_cb = btm_cb.devcb.p_rln_cmpl_cb; in btm_db_reset() 123 btm_cb.devcb.p_rln_cmpl_cb = NULL; in btm_db_reset() 130 if (btm_cb.devcb.p_rssi_cmpl_cb) { in btm_db_reset() 131 p_cb = btm_cb.devcb.p_rssi_cmpl_cb; in btm_db_reset() 132 btm_cb.devcb.p_rssi_cmpl_cb = NULL; in btm_db_reset() 250 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_rln_cmpl_cb; in btm_dev_timeout() [all …]
|
D | btm_acl.c | 400 if (btm_cb.devcb.p_switch_role_cb in btm_acl_report_role_change() 401 … && (bda && (0 == memcmp(btm_cb.devcb.switch_role_ref_data.remote_bd_addr, bda, BD_ADDR_LEN)))) { in btm_acl_report_role_change() 402 memcpy (&ref_data, &btm_cb.devcb.switch_role_ref_data, sizeof(tBTM_ROLE_SWITCH_CMPL)); in btm_acl_report_role_change() 404 (*btm_cb.devcb.p_switch_role_cb)(&ref_data); in btm_acl_report_role_change() 405 memset (&btm_cb.devcb.switch_role_ref_data, 0, sizeof(tBTM_ROLE_SWITCH_CMPL)); in btm_acl_report_role_change() 406 btm_cb.devcb.p_switch_role_cb = NULL; in btm_acl_report_role_change() 649 if (btm_cb.devcb.p_switch_role_cb && p_cb) { in BTM_SwitchRole() 651 p_bda = btm_cb.devcb.switch_role_ref_data.remote_bd_addr; in BTM_SwitchRole() 732 memcpy (btm_cb.devcb.switch_role_ref_data.remote_bd_addr, remote_bd_addr, in BTM_SwitchRole() 734 btm_cb.devcb.switch_role_ref_data.role = new_role; in BTM_SwitchRole() [all …]
|
D | btm_ble.c | 206 tBTM_DEVCB *p_devcb = &btm_cb.devcb; in BTM_BleLoadLocalKeys() 239 memcpy (ble_encr_key_value, btm_cb.devcb.ble_encryption_key_value, BT_OCTET16_LEN); in BTM_GetDeviceEncRoot() 257 memcpy (irk, btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN); in BTM_GetDeviceIDRoot() 273 memcpy (dhk, btm_cb.devcb.id_keys.dhk, BT_OCTET16_LEN); in BTM_GetDeviceDHK() 724 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleReceiverTest() 746 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTransmitterTest() 763 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleTestEnd() 775 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_le_test_cmd_cmpl_cb; in btm_ble_test_command_complete() 777 btm_cb.devcb.p_le_test_cmd_cmpl_cb = NULL; in btm_ble_test_command_complete() 800 btm_cb.devcb.p_le_test_cmd_cmpl_cb = p_cmd_cmpl_cback; in BTM_BleEnhancedReceiverTest() [all …]
|
D | btm_inq.c | 1225 if (btm_cb.devcb.p_txpwer_cmpl_cb) { in BTM_ReadInquiryRspTxPower() 1229 btu_start_timer (&btm_cb.devcb.txpwer_timer, BTU_TTYPE_BTM_ACL, BTM_INQ_REPLY_TIMEOUT ); in BTM_ReadInquiryRspTxPower() 1232 btm_cb.devcb.p_txpwer_cmpl_cb = p_cb; in BTM_ReadInquiryRspTxPower() 1235 btm_cb.devcb.p_txpwer_cmpl_cb = NULL; in BTM_ReadInquiryRspTxPower() 1236 btu_stop_timer (&btm_cb.devcb.txpwer_timer); in BTM_ReadInquiryRspTxPower() 2354 tBTM_CMPL_CB *p_cb = btm_cb.devcb.p_txpwer_cmpl_cb; in btm_read_linq_tx_power_complete() 2357 btu_stop_timer (&btm_cb.devcb.txpwer_timer); in btm_read_linq_tx_power_complete() 2359 btm_cb.devcb.p_txpwer_cmpl_cb = NULL; in btm_read_linq_tx_power_complete()
|
D | btm_sec.c | 240 if (memcmp(btm_cb.devcb.id_keys.ir, &temp_value, sizeof(BT_OCTET16)) == 0) { in BTM_SecRegister() 440 btm_cb.devcb.secure_connections_only = secure_connections_only_mode; in BTM_SetSecureConnectionsOnly() 1652 btm_cb.devcb.loc_auth_req = auth_req; in BTM_IoCapRsp() 1653 btm_cb.devcb.loc_io_caps = io_cap; in BTM_IoCapRsp() 1780 DEVCLASS_TO_STREAM(p, btm_cb.devcb.dev_class); in BTM_BuildOobData() 1994 && (btm_sec_io_map[p_dev_rec->rmt_io_caps][btm_cb.devcb.loc_io_caps])) in btm_sec_is_upgrade_possible() 2120 if ((btm_sec_is_serv_level0(psm)) && (!btm_cb.devcb.secure_connections_only)) { in btm_sec_l2cap_access_req() 2870 btm_cb.devcb.loc_io_caps = BTM_LOCAL_IO_CAPS; in btm_sec_dev_reset() 3260 evt_data.io_cap = btm_cb.devcb.loc_io_caps; in btm_io_capabilities_req() 3414 btm_cb.devcb.loc_auth_req = evt_data.auth_req; in btm_io_capabilities_req() [all …]
|
D | btm_ble_addr.c | 130 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) { in btm_gen_resolve_paddr_low()
|
D | btm_ble_privacy.c | 785 UINT8 *local_irk = btm_cb.devcb.id_keys.irk; in btm_ble_resolving_list_load_dev()
|
D | btm_ble_multi_adv.c | 409 if (!SMP_Encrypt(btm_cb.devcb.id_keys.irk, BT_OCTET16_LEN, p->param_buf, 3, &output)) { in btm_ble_multi_adv_gen_rpa_cmpl()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_co.c | 107 btm_cb.devcb.loc_io_caps = bt_io_cap; in bta_dm_co_bt_set_io_cap()
|
/hal_espressif-2.7.6/components/bt/host/bluedroid/stack/btm/include/ |
D | btm_int.h | 846 tBTM_DEVCB devcb; member
|