| # Copyright (c) 2021 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. |
| # You may obtain a copy of the License at |
| # |
| # http://www.apache.org/licenses/LICENSE-2.0 |
| # |
| # Unless required by applicable law or agreed to in writing, software |
| # distributed under the License is distributed on an "AS IS" BASIS, |
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| # See the License for the specific language governing permissions and |
| # limitations under the License. |
| # Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default |
| |
| name: |
| 102.3.1. [TC-LCFG-3.1] Localization Configuration Cluster |
| Attributes[DUT-Client] |
| |
| PICS: |
| - LCFG.C |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Note" |
| verification: | |
| Chip-tool command used below are an example to verify the DUT as client test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command. |
| disabled: true |
| |
| - label: "DUT reads SupportedLocales attribute from TH" |
| PICS: LCFG.C.A0001 |
| verification: | |
| Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) |
| |
| ./chip-tool localizationconfiguration read supported-locales 1 0 |
| Verify DUT receives supported-locales attribute response on the TH(all-clusters-app) Log: |
| 659616748.134098][11438:11438] CHIP:IM: Received Read request |
| [1659616748.134248][11438:11438] CHIP:DMG: ReadRequestMessage = |
| [1659616748.134307][11438:11438] CHIP:DMG: { |
| [1659616748.134355][11438:11438] CHIP:DMG: AttributePathIBs = |
| [1659616748.134410][11438:11438] CHIP:DMG: [ |
| [1659616748.134463][11438:11438] CHIP:DMG: AttributePathIB = |
| [1659616748.134536][11438:11438] CHIP:DMG: { |
| [1659616748.134599][11438:11438] CHIP:DMG: Endpoint = 0x0, |
| [1659616748.134673][11438:11438] CHIP:DMG: Cluster = 0x2b, |
| [1659616748.134743][11438:11438] CHIP:DMG: Attribute = 0x0000_0001, |
| [1659616748.134808][11438:11438] CHIP:DMG: } |
| [1659616748.134875][11438:11438] CHIP:DMG: |
| [1659616748.134936][11438:11438] CHIP:DMG: ], |
| [1659616748.134996][11438:11438] CHIP:DMG: |
| [1659616748.135053][11438:11438] CHIP:DMG: isFabricFiltered = true, |
| [1659616748.135109][11438:11438] CHIP:DMG: InteractionModelRevision = 1 |
| [1659616748.135160][11438:11438] CHIP:DMG: }, |
| [1659616748.135322][11438:11438] CHIP:DMG: IM RH moving to [GeneratingReports] |
| disabled: true |
| |
| - label: "DUT reads ActiveLocale attribute from the TH" |
| PICS: LCFG.C.A0000 |
| verification: | |
| Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) |
| |
| ./chip-tool localizationconfiguration read active-locale 1 0 |
| Verify DUT receives active-locale attribute response on the TH(all-clusters-app) Log: |
| |
| [1659616904.401632][11438:11438] CHIP:DMG: ReadRequestMessage = |
| [1659616904.401657][11438:11438] CHIP:DMG: { |
| [1659616904.401676][11438:11438] CHIP:DMG: AttributePathIBs = |
| [1659616904.401699][11438:11438] CHIP:DMG: [ |
| [1659616904.401720][11438:11438] CHIP:DMG: AttributePathIB = |
| [1659616904.401754][11438:11438] CHIP:DMG: { |
| [1659616904.401786][11438:11438] CHIP:DMG: Endpoint = 0x0, |
| [1659616904.401819][11438:11438] CHIP:DMG: Cluster = 0x2b, |
| [1659616904.401851][11438:11438] CHIP:DMG: Attribute = 0x0000_0000, |
| [1659616904.401880][11438:11438] CHIP:DMG: } |
| [1659616904.401906][11438:11438] CHIP:DMG: |
| [1659616904.401930][11438:11438] CHIP:DMG: ], |
| [1659616904.401955][11438:11438] CHIP:DMG: |
| [1659616904.401978][11438:11438] CHIP:DMG: isFabricFiltered = true, |
| [1659616904.402000][11438:11438] CHIP:DMG: InteractionModelRevision = 1 |
| [1659616904.402020][11438:11438] CHIP:DMG: }, |
| [1659616904.402087][11438:11438] CHIP:DMG: IM RH moving to [GeneratingReports] |
| disabled: true |