| # 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: 3.3.1. [TC-DGETH-3.1] Attributes [{DUT_Client}] |
| |
| PICS: |
| - DGETH.C |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Commission TH to DUT" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "DUT reads PHYRate attribute from TH." |
| PICS: DGETH.S.A0000 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read phyrate 1 0 |
| |
| Verify the value of PHYRate is in range of PHYRate enum in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0000 DataVersion: 3872576452 |
| [1649663425.191426][8076:8082] CHIP:TOO: PHYRate: 1 |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0001 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read full-duplex 1 0 |
| |
| Verify the value of FullDuplex is boolean in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0001 DataVersion: 3872576452 |
| [1649663520.936873][8088:8093] CHIP:TOO: FullDuplex: TRUE |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0002 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read packet-rx-count 1 0 |
| |
| Verify the value of PacketRxCount is in range uint64 in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0002 DataVersion: 3872576452 |
| [1649663623.009973][8103:8108] CHIP:TOO: PacketRxCount: 3322 |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0003 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read packet-tx-count 1 0 |
| |
| Verify the value of PacketTxCount is in range uint64 in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0003 DataVersion: 3872576452 |
| [1649663793.192934][8117:8122] CHIP:TOO: PacketTxCount: 3220 |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0004 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read tx-err-count 1 1 |
| |
| Verify the value of TxErrCount is in range uint64 in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0004 DataVersion: 3872576452 |
| [1649663843.295395][8123:8128] CHIP:TOO: TxErrCount: 0 |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0005 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read collision-count 1 1 |
| |
| Verify the value of CollisionCount is in range uint64 in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0005 DataVersion: 3872576452 |
| [1649663870.221742][8133:8138] CHIP:TOO: CollisionCount: 0 |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0006 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read overrun-count 1 1 |
| |
| Verify in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0006 DataVersion: 3872576452 |
| [1649663948.738274][8142:8147] CHIP:TOO: OverrunCount: 0 |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0007 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read carrier-detect 1 1 |
| |
| Verify the value of CarrierDetect is either bool or null in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0007 DataVersion: 3872576452 |
| [1649663972.829304][8149:8154] CHIP:TOO: CarrierDetect: null |
| disabled: true |
| |
| - label: "DUT reads a attribute value from TH." |
| PICS: DGETH.S.A0008 |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read time-since-reset 1 1 |
| |
| Verify the value of TimeSinceReset is in range uint64 in DUT as Client side Log |
| |
| CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_0008 DataVersion: 3872576452 |
| [1649664046.010810][8158:8163] CHIP:TOO: TimeSinceReset: 5219 |
| disabled: true |