Searched refs:returned_id (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/bluetooth/host/id/bt_id_reset/src/ |
D | main.c | 69 int id_count, returned_id; in ZTEST() local 77 returned_id = bt_id_reset(input_id, NULL, NULL); in ZTEST() 81 zassert_true(returned_id >= 0, "Unexpected error code '%d' was returned", returned_id); in ZTEST() 82 zassert_equal(returned_id, input_id, "Incorrect ID %d was returned", returned_id); in ZTEST() 84 zassert_mem_equal(&bt_dev.id_addr[returned_id], BT_STATIC_RANDOM_LE_ADDR_1, in ZTEST() 106 int id_count, returned_id; in ZTEST() local 116 returned_id = bt_id_reset(input_id, NULL, NULL); in ZTEST() 120 zassert_true(returned_id >= 0, "Unexpected error code '%d' was returned", returned_id); in ZTEST() 121 zassert_equal(returned_id, input_id, "Incorrect ID %d was returned", returned_id); in ZTEST() 123 zassert_mem_equal(&bt_dev.id_addr[returned_id], BT_STATIC_RANDOM_LE_ADDR_2, in ZTEST() [all …]
|