Home
last modified time | relevance | path

Searched refs:BT_SECURITY_L2 (Results 1 – 25 of 65) sorted by relevance

123

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dserver.c48 set_security(conn, BT_SECURITY_L2); in server_round_1()
67 set_security(conn, BT_SECURITY_L2); in server_round_2()
84 set_security(conn, BT_SECURITY_L2); in server_round_3()
103 set_security(conn, BT_SECURITY_L2); in server_round_4()
127 set_security(conn, BT_SECURITY_L2); in server_round_6()
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_per_connection/src/
Dcentral.c27 set_security(BT_SECURITY_L2); in central()
40 set_security(BT_SECURITY_L2); in central()
50 set_security(BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bsim/bluetooth/host/security/bond_overwrite_denied/src/
Dcentral.c25 set_security(BT_SECURITY_L2); in central()
34 set_security(BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bsim/bluetooth/audio/src/
Dcsip_notify_client_test.c75 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()
Dpacs_notify_client_test.c521 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()
Dhas_client_test.c652 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/
Dcentral.c27 set_security(BT_SECURITY_L2); in central()
36 set_security(BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bsim/bluetooth/host/security/security_changed_callback/src/
Dcentral.c30 set_security(BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_common.c42 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c108 .sec_level = BT_SECURITY_L2, in init()
133 iso_chan.required_sec_level = BT_SECURITY_L2, in init()
/Zephyr-latest/tests/bsim/bluetooth/host/security/id_addr_update/central/src/
Dcentral.c46 set_security(conn_b, BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_common.c41 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
/Zephyr-latest/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/
Dmain.c62 err = bt_testlib_secure(conn, BT_SECURITY_L2); in test_server_security_request()
/Zephyr-latest/subsys/bluetooth/host/classic/
Davctp.c150 session->br_chan.required_sec_level = BT_SECURITY_L2; in bt_avctp_connect()
248 .sec_level = BT_SECURITY_L2, in bt_avctp_init()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dcentral.c209 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_pair_subscribe()
238 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_restore_sec()
/Zephyr-latest/tests/bsim/bluetooth/host/att/read_fill_buf/client/
Dmain.c88 err = bt_testlib_secure(conn, BT_SECURITY_L2); in test_cli_main()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_stress/src/
Dgatt_client_test.c69 } else if (level < BT_SECURITY_L2) { in security_changed()
270 err = bt_conn_set_security(g_conn, BT_SECURITY_L2); in setup()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/device_name/src/
Dserver.c87 err = bt_conn_set_security(*conn, BT_SECURITY_L2); in connect_and_set_security()
/Zephyr-latest/samples/bluetooth/peripheral_hids/src/
Dmain.c52 if (bt_conn_set_security(conn, BT_SECURITY_L2)) { in connected()
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/
Dcentral.c216 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_pair_subscribe()
262 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in connect_restore_sec()
/Zephyr-latest/tests/bsim/bluetooth/host/att/eatt/src/
Dcommon.c111 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in central_setup_and_connect()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings_clear/src/
Dserver.c99 err = bt_conn_set_security(*conn, BT_SECURITY_L2); in connect_and_set_security()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify_multiple/src/
Dgatt_client_test.c90 } else if (level < BT_SECURITY_L2) { in security_changed()
334 err = bt_conn_set_security(g_conn, BT_SECURITY_L2); in test_main()
/Zephyr-latest/tests/bsim/bluetooth/host/att/retry_on_sec_err/client/
Dmain.c58 if (err != BT_SECURITY_ERR_SUCCESS || level < BT_SECURITY_L2) { in security_changed_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/att/open_close/src/
Dmain.c147 EXPECT_ZERO(bt_testlib_secure(conn, BT_SECURITY_L2)); in a_test_iteration()

123