| # 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.1.1. [TC-DGETH-1.1] Global Attributes [{DUT_Server}] |
| |
| PICS: |
| - DGETH.S |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Commission DUT to TH" |
| verification: | |
| ./chip-tool pairing ble-wifi NODEID SSID PASSWD 20202021 3840 (commissioner side) |
| disabled: true |
| |
| - label: "TH reads the ClusterRevision from DUT." |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read cluster-revision 1 0 |
| |
| Verify cluster revision value is 1 in TH log: |
| |
| [1653911336.371533][3567:3572] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFD DataVersion: 2944003194 |
| [1653911336.371751][3567:3572] CHIP:TOO: ClusterRevision: 1 |
| [1653911336.371940][3567:3572] CHIP:EM: Sending Standalone Ack for MessageCounter:13743333 on exchange 10337i |
| disabled: true |
| |
| - label: "TH reads the FeatureMap from DUT." |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read feature-map 1 0 |
| |
| Verify featuremap value is 3 in TH log: |
| |
| [1651786827.582555][240914:240920] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFC DataVersion: 2811403040 |
| [1651786827.582608][240914:240920] CHIP:TOO: FeatureMap: 3 |
| disabled: true |
| |
| - label: "TH reads AttribubteList from DUT." |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read attribute-list 1 0 |
| |
| Verify list of supported attributes in TH log: |
| |
| [1651786900.043572][240929:240934] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFFB DataVersion: 2811403040 |
| [1651786900.043655][240929:240934] CHIP:TOO: AttributeList: 14 entries |
| [1651786900.043689][240929:240934] CHIP:TOO: [1]: 0 |
| [1651786900.043710][240929:240934] CHIP:TOO: [2]: 1 |
| [1651786900.043730][240929:240934] CHIP:TOO: [3]: 2 |
| [1651786900.043744][240929:240934] CHIP:TOO: [4]: 3 |
| [1651786900.043757][240929:240934] CHIP:TOO: [5]: 4 |
| [1651786900.043775][240929:240934] CHIP:TOO: [6]: 5 |
| [1651786900.043796][240929:240934] CHIP:TOO: [7]: 6 |
| [1651786900.043817][240929:240934] CHIP:TOO: [8]: 7 |
| [1651786900.043838][240929:240934] CHIP:TOO: [9]: 8 |
| [1651786900.043862][240929:240934] CHIP:TOO: [10]: 65528 |
| [1651786900.043884][240929:240934] CHIP:TOO: [11]: 65529 |
| [1651786900.043907][240929:240934] CHIP:TOO: [12]: 65531 |
| [1651786900.043930][240929:240934] CHIP:TOO: [13]: 65532 |
| [1651786900.043952][240929:240934] CHIP:TOO: [14]: 65533 |
| disabled: true |
| |
| - label: "TH reads AcceptedCommandList from DUT." |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read accepted-command-list 1 0 |
| |
| Verify list of Acccepted Command in TH log: |
| |
| [1651786971.201258][240944:240949] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFF9 DataVersion: 2811403040 |
| [1651786971.201322][240944:240949] CHIP:TOO: AcceptedCommandList: 1 entries |
| [1651786971.201347][240944:240949] CHIP:TOO: [1]: 0 |
| disabled: true |
| |
| - label: "TH reads GeneratedCommandList from DUT." |
| verification: | |
| ./chip-tool ethernetnetworkdiagnostics read generated-command-list 1 0 |
| |
| Verify list of Generated Command, this list SHALL have zero entry in TH log: |
| |
| [1651787190.403639][240971:240976] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0037 Attribute 0x0000_FFF8 DataVersion: 2811403040 |
| [1651787190.403729][240971:240976] CHIP:TOO: GeneratedCommandList: 0 entries |
| disabled: true |
| |
| - label: "TH reads EventList from DUT." |
| verification: | |
| Out of scope v1.0 |
| disabled: true |