| # 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: |
| 12.1.3. [TC-CNET-1.3] Global Attributes for Networking commissioning cluster |
| [DUT-Server] |
| |
| PICS: |
| - CNET.S |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Commission TH and DUT over BLE to setup the Wi-Fi" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "TH reads the ClusterRevision from DUT" |
| verification: | |
| ./chip-tool networkcommissioning read cluster-revision 1 0 |
| |
| Verify ClusterRevision: 1 on the TH Log: |
| |
| [1649244866.275684][30440:30446] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFD DataVersion: 2702518944 |
| [1649244866.277721][30440:30446] CHIP:TOO: ClusterRevision: 1 |
| [1649244866.277827][30440:30446] CHIP:EM: Sending Standalone Ack for MessageCounter:10092551 on exchange 64234i |
| disabled: true |
| |
| - label: "TH reads the FeatureMap from DUT" |
| verification: | |
| ./chip-tool networkcommissioning read feature-map 1 0 |
| |
| Verify FeatureMap on the TH Log: |
| |
| [1651215443.195852][3285:3290] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFC DataVersion: 2584224280 |
| [1651215443.195939][3285:3290] CHIP:TOO: FeatureMap: 4 |
| disabled: true |
| |
| - label: "TH reads AttributeList from DUT" |
| verification: | |
| ./chip-tool networkcommissioning read attribute-list 1 0 |
| |
| Verify AttributeList on the TH Log: |
| |
| [1651215479.539148][3293:3298] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFFB DataVersion: 2584224280 |
| [1651215479.539230][3293:3298] CHIP:TOO: AttributeList: 13 entries |
| [1651215479.539262][3293:3298] CHIP:TOO: [1]: 0 |
| [1651215479.539288][3293:3298] CHIP:TOO: [2]: 1 |
| [1651215479.539323][3293:3298] CHIP:TOO: [3]: 2 |
| [1651215479.539348][3293:3298] CHIP:TOO: [4]: 3 |
| [1651215479.539373][3293:3298] CHIP:TOO: [5]: 4 |
| [1651215479.539397][3293:3298] CHIP:TOO: [6]: 5 |
| [1651215479.539420][3293:3298] CHIP:TOO: [7]: 6 |
| [1651215479.539444][3293:3298] CHIP:TOO: [8]: 7 |
| [1651215479.539468][3293:3298] CHIP:TOO: [9]: 65528 |
| [1651215479.539493][3293:3298] CHIP:TOO: [10]: 65529 |
| [1651215479.539517][3293:3298] CHIP:TOO: [11]: 65531 |
| [1651215479.539541][3293:3298] CHIP:TOO: [12]: 65532 |
| [1651215479.539564][3293:3298] CHIP:TOO: [13]: 65533 |
| disabled: true |
| |
| - label: "TH reads EventList from the DUT" |
| verification: | |
| out of scope for V1.0 |
| disabled: true |
| |
| - label: "TH reads AcceptedCommandList from DUT" |
| verification: | |
| ./chip-tool networkcommissioning read accepted-command-list 1 0 |
| |
| Verify AcceptedCommandList on the TH Log: |
| |
| [1653909914.972854][3424:3429] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF9 DataVersion: 880539056 |
| [1653909914.973027][3424:3429] CHIP:TOO: AcceptedCommandList: 5 entries |
| [1653909914.973102][3424:3429] CHIP:TOO: [1]: 0 |
| [1653909914.973166][3424:3429] CHIP:TOO: [2]: 2 |
| [1653909914.973228][3424:3429] CHIP:TOO: [3]: 4 |
| [1653909914.973289][3424:3429] CHIP:TOO: [4]: 6 |
| [1653909914.973350][3424:3429] CHIP:TOO: [5]: 8 |
| [1653909914.973574][3424:3429] CHIP:EM: Sending Standalone Ack for MessageCounter:4589161 on exchange 55554i |
| disabled: true |
| |
| - label: "TH reads GeneratedCommandList from DUT" |
| verification: | |
| ( WiFi) ./chip-tool networkcommissioning read generated-command-list 1 0 |
| |
| |
| Verify GeneratedCommandList on the TH Log: |
| |
| [1650370123.417759][42418:42423] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 3182776035 |
| [1650370123.417866][42418:42423] CHIP:TOO: GeneratedCommandList: 3 entries |
| [1650370123.417938][42418:42423] CHIP:TOO: [1]: 1 |
| [1650370123.417977][42418:42423] CHIP:TOO: [2]: 5 |
| [1650370123.418013][42418:42423] CHIP:TOO: [3]: 7 |
| [1650370123.418143][42418:42423] CHIP:EM: Sending Standalone Ack for MessageCounter:759910 on exchange 25409i |
| |
| ( Thread ) ./chip-tool networkcommissioning read generated-command-list 51 0 |
| |
| |
| Verify GeneratedCommandList on the TH Log: |
| |
| [1650370342.693373][7450:7455] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_FFF8 DataVersion: 1032683896 |
| [1650370342.693536][7450:7455] CHIP:TOO: GeneratedCommandList: 2 entries |
| 1650370123.417938][42418:42423] CHIP:TOO: [1]: 1 |
| [1650370123.417977][42418:42423] CHIP:TOO: [2]: 5 |
| [1650370123.418013][42418:42423] CHIP:TOO: [3]: 7 |
| [1650370342.693995][7450:7455] CHIP:EM: Sending Standalone Ack for MessageCounter:2345375 on exchange 25146i |
| disabled: true |
| |
| - label: |
| "NOTE: Repeat the test case by Commission DUT to TH on the Thread and |
| Ethernet setups" |
| verification: | |
| verification step to be updated. |
| disabled: true |