blob: 0cd5f3da210b15f30511922d4f11e800d56807fd [file] [log] [blame]
# 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
verify on TH(chip-tool) that source attribute provides a list has not more than 6 entries.
[...]
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
verify on TH(chip-tool) that order attribute 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
./chip-tool powersource read order 1 2
verify on TH(chip-tool) that order attribute succeeds with no error.The order value is the same or greater than the order value of the previous iteration
[1659879820.566144][2615:2620] CHIP:TOO: Endpoint: 2 Cluster: 0x0000_002F Attribute 0x0000_0001 DataVersion: 1842182672
[1659879820.569572][2615:2620] CHIP:TOO: Order: 1
./chip-tool powersource read order 1 0
verify on TH(chip-tool) that order attribute succeeds with no error.The order value is the same or greater than the order value of the previous iteration
[1659879944.863570][2633:2638] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_002F Attribute 0x0000_0001 DataVersion: 1479870496
[1659879944.863664][2633:2638] CHIP:TOO: Order: 3
[1659879944.863854][2633:2638] CHIP:EM: Sending Standalone Ack for MessageCounter:4546692 on exchange 20518i
disabled: true