From a4882163d3f62920ba874a043d441a50ca869f10 Mon Sep 17 00:00:00 2001 From: Kishok G <133193761+KishokG@users.noreply.github.com> Date: Thu, 12 Feb 2026 12:10:34 +0530 Subject: [PATCH 1/2] Added the detailed instruction for validating this test on reference platform --- .../tcdd14/tcdd14.py | 23 +++++++++++++++---- 1 file changed, 19 insertions(+), 4 deletions(-) diff --git a/onboarding_payload_test_suite/tcdd14/tcdd14.py b/onboarding_payload_test_suite/tcdd14/tcdd14.py index f4ea435..e41999c 100644 --- a/onboarding_payload_test_suite/tcdd14/tcdd14.py +++ b/onboarding_payload_test_suite/tcdd14/tcdd14.py @@ -1,5 +1,5 @@ # -# Copyright (c) 2023 Project CHIP Authors +# Copyright (c) 2023-2026 Project CHIP Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -44,8 +44,7 @@ def pics(cls) -> set[str]: def create_test_steps(self) -> None: self.test_steps = [ TestStep( - "Step1: Scan the DUT’s QR code using a QR code\ - reader and verify the number of delimiters." + "Step1: Scan larger QR code that will support the commissioning of all the DUTs in the packaging using the QR code scanner" ), ] @@ -81,7 +80,23 @@ async def cleanup(self) -> None: def _create_qr_code_payload_prompt(self) -> PromptRequest: text_input_param = { - "prompt": "Please enter the concatenated QR code payload", + "prompt": """Please enter the concatenated QR code payload. + + Note: The reference platform(e.g., all-clusters-app) advertises only a single QR code, which is not sufficient to validate + concatenated QR code onboarding payloads. Therefore, the QR code payloads must be manually generated using chip-tool. + + Use the following commands to generate individual QR codes: + + ./chip-tool payload generate-qrcode --discriminator 3840 --setup-pin-code 20202021 --vendor-id 65521 --product-id 32768 + ./chip-tool payload generate-qrcode --discriminator 3841 --setup-pin-code 20202021 --vendor-id 65522 --product-id 32770 + + Save the generated QR codes for future validation. + + Example QR code payload: MT:Y.K90-Q000KA0648G00 + + The above steps are required only for the reference platform. Please skip these when validating with real devices and + directly enter the concatenated QR code payload. + """, "placeholder_text": "MT:YNJV75HZ00KA0648G00*W0GU2OTB00KA0648G00", } prompt_request = TextInputPromptRequest( From bced5a02d9ed16300333dc611667227a0296c544 Mon Sep 17 00:00:00 2001 From: Kishok G <133193761+KishokG@users.noreply.github.com> Date: Thu, 12 Feb 2026 12:28:15 +0530 Subject: [PATCH 2/2] Update onboarding_payload_test_suite/tcdd14/tcdd14.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- onboarding_payload_test_suite/tcdd14/tcdd14.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onboarding_payload_test_suite/tcdd14/tcdd14.py b/onboarding_payload_test_suite/tcdd14/tcdd14.py index e41999c..d197fa4 100644 --- a/onboarding_payload_test_suite/tcdd14/tcdd14.py +++ b/onboarding_payload_test_suite/tcdd14/tcdd14.py @@ -90,9 +90,9 @@ def _create_qr_code_payload_prompt(self) -> PromptRequest: ./chip-tool payload generate-qrcode --discriminator 3840 --setup-pin-code 20202021 --vendor-id 65521 --product-id 32768 ./chip-tool payload generate-qrcode --discriminator 3841 --setup-pin-code 20202021 --vendor-id 65522 --product-id 32770 - Save the generated QR codes for future validation. + Save the generated QR codes. To create the concatenated payload, join the individual payloads with a '*' delimiter, removing the 'MT:' prefix from the second and any subsequent payloads. - Example QR code payload: MT:Y.K90-Q000KA0648G00 + Example of a concatenated payload: MT:YNJV75HZ00KA0648G00*W0GU2OTB00KA0648G00 The above steps are required only for the reference platform. Please skip these when validating with real devices and directly enter the concatenated QR code payload.