Commit does the following changes: * Use functionality from the `babbelkit` library for common functions related to flags, test progression (failing, passing etc.) and synchronization between two devices. Locally defined equivalents are removed. * Removes the files containing only functionality that is provided by the `babblekit` library. * Remove the `test_pre_init_f` and `test_tick_f` functions (commonly implemented as `test_init` and `test_tick`) from the modified tests. These functions are not needed as they were only used to fail the test if a device didn't complete the test within a certain time frame. This is already handled by the `sim_length` argument used in the test scripts. Signed-off-by: Håvard Reierstad <haavard.reierstad@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| src | ||
| test_scripts | ||
| CMakeLists.txt | ||
| prj.conf | ||
| README.rst | ||
| testcase.yaml | ||
.. _bsim_test_bt_privacy: Privacy feature test ******************** Tests goals =========== The tests check the following aspects of the Bluetooth privacy feature: * In device privacy mode, a scanner shall accept advertising packets from peers with any address type. That, even if they have previously exchanged IRK; (Core Specification version 5.4, vol. 1 part A, 5.4.5.) * After devices have exchanged IRK, they must correctly resolve RPA when receiving packets from the peer. For references, see the Bluetooth Core specification version 5.4, vol. 1, part A, 5.4.5 and vol. 6, part B, 6.