zephyr/tests/bsim/bluetooth/host/privacy/device
Rubin Gerritsen 1aa33fe368 tests: bsim: Use the pre_init_f instead of post_init_f
When using the post_init_f to initialize the `bst_result`,
it is not possible to mark the test as
passed immediately as the `bst_result` will be
initialized after the test completes.

This change should overcome this limitation.

Bluetooth mesh tests are kept as is as we are not
sure if this will change the behavior.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
2024-05-30 03:00:58 -07:00
..
src tests: bsim: Use the pre_init_f instead of post_init_f 2024-05-30 03:00:58 -07:00
test_scripts tests/bsim sh scripts: Reduce boilerplate 2024-03-25 16:17:13 +01:00
CMakeLists.txt
README.rst
prj.conf

README.rst

.. _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.