zephyr/tests/bsim/bluetooth/host/privacy/device
Håvard Reierstad 7737483c06 Bluetooth: Host: More bsim refactoring
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>
2025-02-12 09:40:07 +01:00
..
src Bluetooth: Host: More bsim refactoring 2025-02-12 09:40:07 +01:00
test_scripts Bluetooth: Host: More bsim refactoring 2025-02-12 09:40:07 +01:00
CMakeLists.txt Bluetooth: Host: More bsim refactoring 2025-02-12 09:40:07 +01:00
prj.conf
README.rst
testcase.yaml tests: bsim: bluetooth: host: use twister to compile tests 2024-12-07 02:03:31 +01:00

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