| # 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: 65.2.2. [TC-PSCFG-2.2] Primary functionality with server as DUT |
| |
| PICS: |
| - PSCFG.S |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Commission DUT to TH" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "TH reads the Sources attribute from the DUT" |
| PICS: PSCFG.S.A0000 |
| verification: | |
| ./chip-tool powersourceconfiguration read sources 1 0 |
| |
| On TH, verify that that the DUT response provides a list |
| |
| [...] |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002E Attribute 0x0000_0000DataVersion: 502821112 |
| CHIP:TOO: Sources: 3 entries |
| CHIP:TOO: [1]: 2 |
| CHIP:TOO: [2]: 1 |
| CHIP:TOO: [3]: 0 |
| disabled: true |
| |
| - label: |
| "TH reads the Order attribute from Power Source Cluster at |
| Enpoint[eNr] of the DUT" |
| verification: | |
| ./chip-tool powersource read order 1 1 |
| |
| On TH, verify that that the DUT Respond succeeds with no error.The order value is the same or greater than the order value of the previous iteration |
| |
| [...] |
| [1653564242.694964][36231:36236] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_002F Attribute 0x0000_0001 DataVersion: 4212858705 |
| [1653564242.695038][36231:36236] CHIP:TOO: Order: 2 |
| disabled: true |