[tcat][ble] Fix BLE advertisement contents after Commissioner disconnect (#12913)

This fixes the issue observed in tests, that the BLE advertisement contents (flags) were not updated
after a TCAT Commissioner disconnects. A unit test is added for BLE advertisement contents to
validate the advertisement data changes.

It also adds an explicit 'disconnect' CLI command to the TCAT expect tests, which wasn't tested
before.
This commit is contained in:
Esko Dijk
2026-06-08 14:47:21 -07:00
committed by Jonathan Hui
parent fee7292f15
commit 9403edeaaf
5 changed files with 82 additions and 8 deletions
@@ -53,6 +53,9 @@ send "thread start\n"
expect_line "\tTYPE:\tRESPONSE_W_STATUS"
expect_line "\tVALUE:\t0x00"
send "disconnect\n"
expect_line "Done"
dispose_tcat_client 1
switch_node 1