mirror of
https://github.com/espressif/openthread.git
synced 2026-08-05 18:37:45 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user