Searched refs:ble_key (Results 1 – 3 of 3) sorted by relevance
242 dst_dm_sec->ble_key.p_key_value = osi_malloc(sizeof(tBTM_LE_KEY_VALUE)); in btif_dm_data_copy()243 assert(src_dm_sec->ble_key.p_key_value); in btif_dm_data_copy()244 assert(dst_dm_sec->ble_key.p_key_value); in btif_dm_data_copy()245 …memcpy(dst_dm_sec->ble_key.p_key_value, src_dm_sec->ble_key.p_key_value, sizeof(tBTM_LE_KEY_VALUE)… in btif_dm_data_copy()252 osi_free(dm_sec->ble_key.p_key_value); in btif_dm_data_free()1792 BTIF_TRACE_DEBUG("BTA_DM_BLE_KEY_EVT key_type=0x%02x ", p_data->ble_key.key_type); in btif_dm_upstreams_evt()1800 bond_state_changed(BT_STATUS_SUCCESS, (bt_bdaddr_t*)p_data->ble_key.bd_addr, in btif_dm_upstreams_evt()1803 else if (memcmp (pairing_cb.bd_addr, p_data->ble_key.bd_addr, BD_ADDR_LEN)!=0) in btif_dm_upstreams_evt()1805 BTIF_TRACE_ERROR("BD mismatch discard BLE key_type=%d ",p_data->ble_key.key_type); in btif_dm_upstreams_evt()1809 switch (p_data->ble_key.key_type) in btif_dm_upstreams_evt()[all …]
938 tBTA_DM_BLE_KEY ble_key; /* BLE SMP keys used when pairing */ member
4490 bdcpy(sec_event.ble_key.bd_addr, bda); in bta_dm_ble_smp_cback()4491 sec_event.ble_key.key_type = p_data->key.key_type; in bta_dm_ble_smp_cback()4492 sec_event.ble_key.p_key_value = p_data->key.p_key_value; in bta_dm_ble_smp_cback()