Home
last modified time | relevance | path

Searched refs:BT_ID_DEFAULT (Results 1 – 25 of 87) sorted by relevance

1234

/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_le_oob_get_local/src/
Dtest_suite_invalid_inputs.c114 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
116 expect_single_call_bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in ZTEST()
157 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
160 expect_single_call_bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in ZTEST()
202 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_RPA_LE_ADDR); in ZTEST()
207 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
210 expect_single_call_bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in ZTEST()
252 adv.id = BT_ID_DEFAULT; in ZTEST()
255 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_RPA_LE_ADDR); in ZTEST()
260 err = bt_le_oob_get_local(BT_ID_DEFAULT, &oob); in ZTEST()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_id_reset/src/
Dtest_suite_invalid_inputs.c37 err = bt_id_reset(BT_ID_DEFAULT, NULL, NULL); in ZTEST()
82 err = bt_id_reset(BT_ID_DEFAULT, NULL, valid_irk_ptr); in ZTEST()
103 err = bt_id_reset(BT_ID_DEFAULT, BT_LE_ADDR, NULL); in ZTEST()
124 err = bt_id_reset(BT_ID_DEFAULT, BT_RPA_LE_ADDR, NULL); in ZTEST()
149 err = bt_id_reset(BT_ID_DEFAULT, BT_STATIC_RANDOM_LE_ADDR_1, NULL); in ZTEST()
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_id_set_private_addr/src/
Dtest_suite_invalid_cases.c56 err = bt_id_set_private_addr(BT_ID_DEFAULT); in ZTEST()
80 err = bt_id_set_private_addr(BT_ID_DEFAULT); in ZTEST()
115 err = bt_id_set_private_addr(BT_ID_DEFAULT); in ZTEST()
Dmain.c73 uint8_t id = BT_ID_DEFAULT; in ZTEST()
109 uint8_t id = BT_ID_DEFAULT; in ZTEST()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/security/security_changed_callback/src/
Dperipheral.c33 bt_unpair(BT_ID_DEFAULT, bt_conn_get_dst(conn)); in peripheral_security_changed_unpair()
56 advertise_connectable(BT_ID_DEFAULT, NULL); in peripheral_unpair_in_sec_cb()
100 advertise_connectable(BT_ID_DEFAULT, NULL); in peripheral_disconnect_in_sec_cb()
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_setup_public_id_addr/src/
Dtest_suite_bt_privacy_enabled.c88 expect_single_call_bt_rand(&bt_dev.irk[BT_ID_DEFAULT], 16); in ZTEST()
120 expect_single_call_bt_rand(&bt_dev.irk[BT_ID_DEFAULT], 16); in ZTEST()
162 expect_single_call_bt_rand(&bt_dev.irk[BT_ID_DEFAULT], 16); in ZTEST()
206 zassert_mem_equal(&bt_dev.irk[BT_ID_DEFAULT], testing_irk_value, sizeof(testing_irk_value), in ZTEST()
Dtest_suite_bt_settings_enabled.c118 zassert_mem_equal(&bt_dev.id_addr[BT_ID_DEFAULT], BT_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
155 zassert_mem_equal(&bt_dev.id_addr[BT_ID_DEFAULT], BT_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
Dmain.c100 zassert_mem_equal(&bt_dev.id_addr[BT_ID_DEFAULT], BT_LE_ADDR, sizeof(bt_addr_le_t), in ZTEST()
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_id_set_create_conn_own_addr/src/
Dtest_suite_invalid_inputs.c59 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_RPA_LE_ADDR); in ZTEST()
100 expect_single_call_bt_rpa_create(bt_dev.irk[BT_ID_DEFAULT]); in ZTEST()
Dmain.c52 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_LE_ADDR); in ZTEST()
82 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_RPA_LE_ADDR); in ZTEST()
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_id_set_scan_own_addr/src/
Dtest_suite_invalid_inputs.c91 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_RPA_LE_ADDR); in ZTEST()
130 expect_single_call_bt_rpa_create(bt_dev.irk[BT_ID_DEFAULT]); in ZTEST()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/audio/
Dbtp_ccp.c312 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_discover_tbs()
328 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_accept_call()
344 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_terminate_call()
361 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_originate_call()
377 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_read_call_state()
393 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_read_bearer_name()
414 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_read_bearer_uci()
435 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_read_bearer_tech()
455 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_read_uri_list()
476 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in ccp_read_signal_strength()
[all …]
Dbtp_mcp.c709 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_discover()
733 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_track_duration_read()
756 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_track_position_read()
780 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_track_position_set()
803 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_playback_speed_read()
826 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_playback_speed_set()
849 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_seeking_speed_read()
872 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_read_icon_obj_id()
895 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_read_next_track_obj_id()
919 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in mcp_set_next_track_obj_id()
[all …]
Dbtp_hap.c173 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in iac_discover()
192 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in iac_set_alert()
211 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in hauc_discover()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/l2cap/ecred/peer/src/
Dpeer.c34 err = bt_testlib_adv_conn(&conn, BT_ID_DEFAULT, bt_get_name()); in entrypoint_peer()
/Zephyr-Core-3.7.0/subsys/bluetooth/mesh/
Dpb_gatt_srv.c96 bt_mesh_is_provisioned() || info.id != BT_ID_DEFAULT || cli) { in gatt_connected()
112 info.id != BT_ID_DEFAULT || !cli || cli->conn != conn) { in gatt_disconnected()
284 .id = BT_ID_DEFAULT, in bt_mesh_pb_gatt_srv_adv_start()
297 .id = BT_ID_DEFAULT, in bt_mesh_pb_gatt_srv_adv_start()
/Zephyr-Core-3.7.0/subsys/bluetooth/host/
Did.c439 if (adv == bt_le_adv_lookup_legacy() && adv->id == BT_ID_DEFAULT) { in bt_id_set_adv_private_addr()
443 err = bt_id_set_private_addr(BT_ID_DEFAULT); in bt_id_set_adv_private_addr()
595 uint8_t id = BT_ID_DEFAULT; in le_update_private_addr()
679 bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in rpa_timeout()
737 adv->id != BT_ID_DEFAULT) { in bt_id_scan_random_addr_check()
782 param->id != BT_ID_DEFAULT) { in bt_id_adv_random_addr_check()
787 bt_dev.id_addr[BT_ID_DEFAULT].type == BT_ADDR_LE_RANDOM) { in bt_id_adv_random_addr_check()
801 param->id != BT_ID_DEFAULT) { in bt_id_adv_random_addr_check()
1009 conn = bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, BT_CONN_INITIATING); in bt_id_add()
1158 conn = bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, BT_CONN_INITIATING); in bt_id_del()
[all …]
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_le_ext_adv_oob_get_local/src/
Dtest_suite_invalid_inputs.c118 expect_single_call_bt_conn_lookup_state_le(BT_ID_DEFAULT, NULL, in ZTEST()
150 bt_addr_le_copy(&bt_dev.id_addr[BT_ID_DEFAULT], BT_RPA_LE_ADDR); in ZTEST()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/security/bond_per_connection/src/
Dcentral.c29 unpair(BT_ID_DEFAULT); in central()
/Zephyr-Core-3.7.0/tests/bluetooth/host/id/bt_id_adv_random_addr_check/src/
Dmain.c159 bt_dev.id_addr[BT_ID_DEFAULT].type = BT_ADDR_LE_RANDOM; in ZTEST()
193 bt_dev.id_addr[BT_ID_DEFAULT].type = BT_ADDR_LE_RANDOM; in ZTEST()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/read_fill_buf/server/
Dmain.c48 err = bt_testlib_adv_conn(NULL, BT_ID_DEFAULT, bt_get_name()); in the_test()
/Zephyr-Core-3.7.0/samples/boards/nrf/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dble_mesh.c72 if (bt_le_oob_get_local(BT_ID_DEFAULT, &oob)) { in bt_ready()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/privacy/legacy/src/
Ddut.c62 bt_le_oob_get_local(BT_ID_DEFAULT, &oob_local); in generate_new_rpa()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/
Dmain.c42 err = bt_testlib_adv_conn(conn, BT_ID_DEFAULT, bt_get_name()); in test_common()
/Zephyr-Core-3.7.0/tests/bluetooth/tester/src/
Dbtp_gatt.c1004 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in exchange_mtu()
1085 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in disc_all_prim()
1126 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in disc_prim_uuid()
1213 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in find_included()
1291 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in disc_all_chrc()
1332 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in disc_chrc_uuid()
1415 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in disc_all_desc()
1529 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in read_data()
1570 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in read_uuid()
1611 conn = bt_conn_lookup_addr_le(BT_ID_DEFAULT, &cp->address); in read_long()
[all …]

1234