Lines Matching refs:rpa
266 bt_addr_copy(&bt_dev.rpa[adv->id], BT_ADDR_NONE); in adv_rpa_clear_data()
343 bt_addr_t rpa; in bt_id_set_private_addr() local
355 err = bt_rpa_create(bt_dev.irk[id], &rpa); in bt_id_set_private_addr()
357 err = set_random_address(&rpa); in bt_id_set_private_addr()
370 LOG_INF("RPA: %s", bt_addr_str(&rpa)); in bt_id_set_private_addr()
377 static int adv_rpa_get(struct bt_le_ext_adv *adv, bt_addr_t *rpa) in adv_rpa_get() argument
381 if (bt_addr_eq(&bt_dev.rpa[adv->id], BT_ADDR_NONE)) { in adv_rpa_get()
382 err = bt_rpa_create(bt_dev.irk[adv->id], &bt_dev.rpa[adv->id]); in adv_rpa_get()
388 bt_addr_copy(rpa, &bt_dev.rpa[adv->id]); in adv_rpa_get()
393 static int adv_rpa_get(struct bt_le_ext_adv *adv, bt_addr_t *rpa) in adv_rpa_get() argument
397 err = bt_rpa_create(bt_dev.irk[adv->id], rpa); in adv_rpa_get()
408 bt_addr_t rpa; in bt_id_set_adv_private_addr() local
459 err = adv_rpa_get(adv, &rpa); in bt_id_set_adv_private_addr()
461 err = bt_id_set_adv_random_addr(adv, &rpa); in bt_id_set_adv_private_addr()
476 LOG_INF("RPA: %s", bt_addr_str(&rpa)); in bt_id_set_adv_private_addr()
1318 bt_addr_copy(&bt_dev.rpa[id], BT_ADDR_NONE); in id_create()
2184 for (uint8_t id = 0U; id < ARRAY_SIZE(bt_dev.rpa); id++) { in bt_id_init()
2185 bt_addr_copy(&bt_dev.rpa[id], BT_ADDR_NONE); in bt_id_init()