Home
last modified time | relevance | path

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

/Zephyr-latest/tests/bsim/bluetooth/host/adv/encrypted/ead_sample/src/
Dmain.c68 size_t expected_data_size = bt_data_get_len(ad, ARRAY_SIZE(ad)); in central_main() local
69 uint8_t expected_data[expected_data_size]; in central_main()
71 uint8_t received_data[expected_data_size]; in central_main()
79 err = run_central_sample(get_passkey_confirmation, received_data, expected_data_size, in central_main()
82 LOG_DBG("Expected data size: %zu", expected_data_size); in central_main()
84 LOG_HEXDUMP_DBG(received_data, expected_data_size, "Received data"); in central_main()
96 if (memcmp(expected_data, received_data, expected_data_size) != 0) { in central_main()