Searched refs:p_auth_cmpl (Results 1 – 2 of 2) sorted by relevance
/hal_espressif-3.6.0/components/bt/host/bluedroid/btc/core/ |
D | btc_dm.c | 251 static void btc_dm_ble_auth_cmpl_evt (tBTA_DM_AUTH_CMPL *p_auth_cmpl) in btc_dm_ble_auth_cmpl_evt() argument 254 BTC_TRACE_DEBUG("%s, status = %d", __func__, p_auth_cmpl->success); in btc_dm_ble_auth_cmpl_evt() 258 bdcpy(bdaddr.address, p_auth_cmpl->bd_addr); in btc_dm_ble_auth_cmpl_evt() 259 bdcpy(btc_dm_cb.pairing_cb.bd_addr, p_auth_cmpl->bd_addr); in btc_dm_ble_auth_cmpl_evt() 261 if (p_auth_cmpl->success) { in btc_dm_ble_auth_cmpl_evt() 264 …(p_auth_cmpl->bd_addr[0] << 24) + (p_auth_cmpl->bd_addr[1] << 16) + (p_auth_cmpl->bd_addr[2] << 8)… in btc_dm_ble_auth_cmpl_evt() 265 (p_auth_cmpl->bd_addr[4] << 8) + p_auth_cmpl->bd_addr[5]); in btc_dm_ble_auth_cmpl_evt() 268 if((p_auth_cmpl->auth_mode & SMP_AUTH_GEN_BOND) == 0) { in btc_dm_ble_auth_cmpl_evt() 273 btc_storage_set_remote_addr_type(&bdaddr, p_auth_cmpl->addr_type, true); in btc_dm_ble_auth_cmpl_evt() 275 btc_storage_set_ble_dev_auth_mode(&bdaddr, p_auth_cmpl->auth_mode, true); in btc_dm_ble_auth_cmpl_evt() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/dm/ |
D | bta_dm_act.c | 3002 tBTA_DM_AUTH_CMPL *p_auth_cmpl; in bta_dm_new_link_key_cback() local 3011 p_auth_cmpl = &sec_event.auth_cmpl; in bta_dm_new_link_key_cback() 3013 bdcpy(p_auth_cmpl->bd_addr, bd_addr); in bta_dm_new_link_key_cback() 3015 memcpy(p_auth_cmpl->bd_name, bd_name, (BD_NAME_LEN - 1)); in bta_dm_new_link_key_cback() 3016 p_auth_cmpl->bd_name[BD_NAME_LEN - 1] = 0; in bta_dm_new_link_key_cback() 3018 p_auth_cmpl->key_present = TRUE; in bta_dm_new_link_key_cback() 3019 p_auth_cmpl->key_type = key_type; in bta_dm_new_link_key_cback() 3020 p_auth_cmpl->success = TRUE; in bta_dm_new_link_key_cback() 3021 p_auth_cmpl->sc_support = sc_support; in bta_dm_new_link_key_cback() 3023 memcpy(p_auth_cmpl->key, key, LINK_KEY_LEN); in bta_dm_new_link_key_cback()
|