This patch series adds BASS unit tests for the Service Procedures Error Handling suite. Some unit tests require the BASS Server to synchronize to a broadcast source, as instructed by a BASS Client. For this, a testing framework was added similar to the one used by iso-tester, to emulate hardware. Iulia Tanasescu (4): btio: Bind listener to bcaster addr based on dst opt hciemu: Add support for setting emulator bdaddr shared/bass: Add miscellaneous fixes test-bass: Add unit tests for the SPE suite Makefile.am | 7 +- btio/btio.c | 24 +- emulator/hciemu.c | 9 + emulator/hciemu.h | 2 + profiles/audio/bap.c | 4 +- src/shared/bass.c | 179 +++++++--- src/shared/bass.h | 1 + unit/test-bass.c | 781 ++++++++++++++++++++++++++++++++++++++++++- 8 files changed, 942 insertions(+), 65 deletions(-) base-commit: 5ab5352531a9cc7058cce569607f3a6831464443 -- 2.39.2