Home
last modified time | relevance | path

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

123

/Zephyr-latest/tests/bsim/bluetooth/host/gatt/settings/src/
Dserver.c46 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/
Dcentral.c24 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/
Dcentral.c22 set_security(BT_SECURITY_L2); in central()
31 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.c24 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/
Dcentral.c28 set_security(BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bluetooth/audio/cap_commander/src/
Dtest_common.c40 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
/Zephyr-latest/tests/bsim/bluetooth/host/iso/cis/src/
Dcis_peripheral.c106 .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/
Dcentral.c44 set_security(conn_b, BT_SECURITY_L2); in central()
/Zephyr-latest/tests/bluetooth/audio/cap_initiator/src/
Dtest_common.c39 conn->info.security.level = BT_SECURITY_L2; in test_conn_init()
/Zephyr-latest/tests/bsim/bluetooth/host/att/retry_on_sec_err/server/
Dmain.c60 err = bt_testlib_secure(conn, BT_SECURITY_L2); in test_server_security_request()
/Zephyr-latest/subsys/bluetooth/host/classic/
Davctp.c143 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/
Dmain.c88 err = bt_testlib_secure(conn, BT_SECURITY_L2); in the_test()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/ccc_store/src/
Dcentral.c206 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/
Dmain.c52 if (bt_conn_set_security(conn, BT_SECURITY_L2)) { in connected()
/Zephyr-latest/tests/bsim/bluetooth/host/security/ccc_update/src/
Dcentral.c214 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/
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.c79 } 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/
Dmain.c147 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/
Dmain.c56 if (err != BT_SECURITY_ERR_SUCCESS || level < BT_SECURITY_L2) { in security_changed_cb()
/Zephyr-latest/tests/bsim/bluetooth/host/gatt/notify/src/
Dgatt_client_test.c61 } 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/
Dcommon.c124 err = bt_conn_set_security(default_conn, BT_SECURITY_L2); in central_setup_and_connect()
/Zephyr-latest/tests/bsim/bluetooth/host/att/long_read/
Dmain.c205 EXPECT_ZERO(bt_testlib_secure(conn, BT_SECURITY_L2)); in the_test()

123