/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/ |
D | server.c | 46 set_security(conn, BT_SECURITY_L2); in server_round_1() 65 set_security(conn, BT_SECURITY_L2); in server_round_2() 82 set_security(conn, BT_SECURITY_L2); in server_round_3() 101 set_security(conn, BT_SECURITY_L2); in server_round_4() 125 set_security(conn, BT_SECURITY_L2); in server_round_6()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_per_connection/src/ |
D | central.c | 24 set_security(BT_SECURITY_L2); in central() 37 set_security(BT_SECURITY_L2); in central() 47 set_security(BT_SECURITY_L2); in central()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_denied/src/ |
D | central.c | 22 set_security(BT_SECURITY_L2); in central() 31 set_security(BT_SECURITY_L2); in central()
|
/Zephyr-latest/tests/bsim/bluetooth/audio/src/ |
D | csip_notify_client_test.c | 75 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_main() 77 FAIL("Failed to ser security level %d (err %d)\n", BT_SECURITY_L2, err); in test_main() 108 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_main() 110 FAIL("Failed to ser security level %d (err %d)\n", BT_SECURITY_L2, err); in test_main()
|
D | pacs_notify_client_test.c | 521 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_main() 523 FAIL("Failed to ser security level %d (err %d)", BT_SECURITY_L2, err); in test_main() 567 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_main() 569 FAIL("Failed to ser security level %d (err %d)", BT_SECURITY_L2, err); in test_main() 591 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_main() 593 FAIL("Failed to ser security level %d (err %d)", BT_SECURITY_L2, err); in test_main() 615 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_main() 617 FAIL("Failed to ser security level %d (err %d)", BT_SECURITY_L2, err); in test_main()
|
D | has_client_test.c | 652 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_gatt_client() 654 FAIL("Failed to set security level %d (err %d)", BT_SECURITY_L2, err); in test_gatt_client() 658 WAIT_FOR_COND(security_level == BT_SECURITY_L2); in test_gatt_client() 685 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in test_gatt_client() 687 FAIL("Failed to set security level %d (err %d)\n", BT_SECURITY_L2, err); in test_gatt_client()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_allowed/src/ |
D | central.c | 24 set_security(BT_SECURITY_L2); in central() 33 set_security(BT_SECURITY_L2); in central()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/security_changed_callback/src/ |
D | central.c | 28 set_security(BT_SECURITY_L2); in central()
|
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/ |
D | test_common.c | 40 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
|
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/ |
D | cis_peripheral.c | 106 .sec_level = BT_SECURITY_L2, in init() 131 iso_chan.required_sec_level = BT_SECURITY_L2, in init()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/central/src/ |
D | central.c | 44 set_security(conn_b, BT_SECURITY_L2); in central()
|
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/ |
D | test_common.c | 39 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/ |
D | main.c | 60 err = bt_testlib_secure(conn, BT_SECURITY_L2); in test_server_security_request()
|
/Zephyr-latest/subsys/bluetooth/host/classic/ |
D | avctp.c | 143 session->br_chan.required_sec_level = BT_SECURITY_L2; in bt_avctp_connect() 230 .sec_level = BT_SECURITY_L2, in bt_avctp_init()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/read_fill_buf/client/ |
D | main.c | 88 err = bt_testlib_secure(conn, BT_SECURITY_L2); in the_test()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/ |
D | central.c | 206 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_pair_subscribe() 235 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_restore_sec()
|
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/ |
D | main.c | 52 if (bt_conn_set_security(conn, BT_SECURITY_L2)) { in connected()
|
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/ |
D | central.c | 214 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_pair_subscribe() 260 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_restore_sec()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/ |
D | server.c | 99 err = bt_conn_set_security(*conn, BT_SECURITY_L2); in connect_and_set_security()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/ |
D | gatt_client_test.c | 79 } else if (level < BT_SECURITY_L2) { in security_changed() 323 err = bt_conn_set_security(g_conn, BT_SECURITY_L2); in test_main()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/open_close/src/ |
D | main.c | 147 EXPECT_ZERO(bt_testlib_secure(conn, BT_SECURITY_L2)); in a_test_iteration()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/retry_on_sec_err/client/ |
D | main.c | 56 if (err != BT_SECURITY_ERR_SUCCESS || level < BT_SECURITY_L2) { in security_changed_cb()
|
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/ |
D | gatt_client_test.c | 61 } else if (level < BT_SECURITY_L2) { in security_changed() 321 err = bt_conn_set_security(g_conn, BT_SECURITY_L2); in setup()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/ |
D | common.c | 124 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in central_setup_and_connect()
|
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/ |
D | main.c | 205 EXPECT_ZERO(bt_testlib_secure(conn, BT_SECURITY_L2)); in the_test()
|