From ef48898d5ce40b7eadb28dbc793f6c9d8072cba4 Mon Sep 17 00:00:00 2001 From: Piotr Narajowski Date: Fri, 27 Dec 2024 16:54:52 +0100 Subject: [PATCH] TMAP: Fix various issues in wid handlers wid_504_settings dictionary is adjusted accordingly to newest test case naming. WID 20107 which handles reading characteristics should use VCP API. --- autopts/wid/tmap.py | 42 +++++++++++++++++++++++++----------------- 1 file changed, 25 insertions(+), 17 deletions(-) diff --git a/autopts/wid/tmap.py b/autopts/wid/tmap.py index 1cf1fa5e97..a4b2de7f05 100644 --- a/autopts/wid/tmap.py +++ b/autopts/wid/tmap.py @@ -370,31 +370,31 @@ def hdl_wid_503(params: WIDParams): if params.test_case_name.endswith('LT2'): return True - btp.tbs_terminate_call(0) + btp.tbs_terminate_call(1) return True wid_504_settings = { # test_case_name: (lt count, iut as audio source: streams + channels, sink locations (0 - don't care), iut as audio sink streams, metadata) - 'TMAP/CG/VRC/BV-01-I': (1, 1, 1, 0, 1, 1, struct.pack('