Lines Matching refs:BT_ID_DEFAULT
442 if (adv == bt_le_adv_lookup_legacy() && adv->id == BT_ID_DEFAULT) { in bt_id_set_adv_private_addr()
446 err = bt_id_set_private_addr(BT_ID_DEFAULT); in bt_id_set_adv_private_addr()
598 uint8_t id = BT_ID_DEFAULT; in le_update_private_addr()
682 bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in rpa_timeout()
740 adv->id != BT_ID_DEFAULT) { in bt_id_scan_random_addr_check()
785 param->id != BT_ID_DEFAULT) { in bt_id_adv_random_addr_check()
790 bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_RANDOM) { in bt_id_adv_random_addr_check()
804 param->id != BT_ID_DEFAULT) { in bt_id_adv_random_addr_check()
1017 conn = bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, BT_CONN_INITIATING); in bt_id_add()
1166 conn = bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, BT_CONN_INITIATING); in bt_id_del()
1353 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], addr); in bt_id_create()
1355 return BT_ID_DEFAULT; in bt_id_create()
1410 if (id == BT_ID_DEFAULT || id >= bt_dev.id_count) { in bt_id_reset()
1444 if (id == BT_ID_DEFAULT || id >= bt_dev.id_count) { in bt_id_delete()
1596 return id_create(BT_ID_DEFAULT, &addr, irk); in bt_setup_public_id_addr()
1730 err = bt_id_set_private_addr(BT_ID_DEFAULT); in bt_id_set_create_conn_own_addr()
1747 const bt_addr_le_t *addr = &bt_dev.id_addr[BT_ID_DEFAULT]; in bt_id_set_create_conn_own_addr()
1808 err = bt_id_set_private_addr(BT_ID_DEFAULT); in bt_id_set_scan_own_addr()
1824 err = bt_id_set_private_addr(BT_ID_DEFAULT); in bt_id_set_scan_own_addr()
1836 if (bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_RANDOM) { in bt_id_set_scan_own_addr()
1842 err = set_random_address(&bt_dev.id_addr[BT_ID_DEFAULT].a); in bt_id_set_scan_own_addr()
1848 } else if (bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_PUBLIC) { in bt_id_set_scan_own_addr()
2025 conn = bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in bt_le_oob_get_local()
2049 id != BT_ID_DEFAULT && in bt_le_oob_get_local()
2101 BT_ID_DEFAULT, NULL, in bt_le_ext_adv_oob_get_local()