Home
last modified time | relevance | path

Searched refs:new_id (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/tests/bluetooth/host/id/bt_id_create/src/
Dtest_suite_privacy_enabled.c59 int id_count, new_id; in ZTEST() local
68 new_id = bt_id_create(&addr, NULL); in ZTEST()
71 expect_single_call_bt_rand(&bt_dev.irk[new_id], 16); in ZTEST()
73 zassert_true(new_id >= 0, "Unexpected error code '%d' was returned", new_id); in ZTEST()
76 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_1, sizeof(bt_addr_le_t), in ZTEST()
78 zassert_mem_equal(&bt_dev.irk[new_id], testing_irk_value, sizeof(testing_irk_value), in ZTEST()
100 int id_count, new_id; in ZTEST() local
110 new_id = bt_id_create(&addr, zero_irk); in ZTEST()
113 expect_single_call_bt_rand(&bt_dev.irk[new_id], 16); in ZTEST()
115 zassert_true(new_id >= 0, "Unexpected error code '%d' was returned", new_id); in ZTEST()
[all …]
Dmain.c63 int id_count, new_id; in ZTEST() local
69 new_id = bt_id_create(NULL, NULL); in ZTEST()
73 zassert_true(new_id >= 0, "Unexpected error code '%d' was returned", new_id); in ZTEST()
76 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_1, sizeof(bt_addr_le_t), in ZTEST()
97 int id_count, new_id; in ZTEST() local
106 new_id = bt_id_create(NULL, NULL); in ZTEST()
110 zassert_true(new_id >= 0, "Unexpected error code '%d' was returned", new_id); in ZTEST()
113 zassert_mem_equal(&bt_dev.id_addr[new_id], BT_STATIC_RANDOM_LE_ADDR_2, sizeof(bt_addr_le_t), in ZTEST()
135 int id_count, new_id; in ZTEST() local
142 new_id = bt_id_create(&addr, NULL); in ZTEST()
[all …]
/Zephyr-latest/samples/subsys/usb/testusb/
DREADME.rst61 $ sudo sh -c "echo 0x2fe3 0x0009 0 0x0525 0xa4a0 > /sys/bus/usb/drivers/usbtest/new_id"
/Zephyr-latest/subsys/bluetooth/host/
Did.c1337 int new_id, err; in bt_id_create() local
1380 new_id = bt_dev.id_count++; in bt_id_create()
1381 err = id_create(new_id, addr, irk); in bt_id_create()
1387 return new_id; in bt_id_create()