| # 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.2. [TC-DGETH-3.2] Command Generated {DUT_Client}] |
| |
| PICS: |
| - DGETH.C |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic Information" |
| endpoint: 0 |
| |
| tests: |
| - label: "Note" |
| verification: | |
| For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command. |
| disabled: true |
| |
| - label: "Commission TH to DUT" |
| verification: | |
| |
| disabled: true |
| |
| - label: "DUT sends ResetCounts to TH." |
| PICS: DGETH.C.C00.Tx |
| verification: | |
| Product maker needs to provide instructions for how to trigger the command on the DUT. For comparison, the DUT behavior for this test step can be simulated using chip-tool (when DUT is a commissioner/Client) |
| |
| ./chip-tool ethernetnetworkdiagnostics reset-counts 1 0 |
| |
| Verify Command data recieved from running the below command is a success on TH(all-clusters-app) Log |
| |
| [1659960382.148753][4826:4826] CHIP:DMG: InvokeRequestMessage = |
| [1659960382.148777][4826:4826] CHIP:DMG: { |
| [1659960382.148798][4826:4826] CHIP:DMG: suppressResponse = false, |
| [1659960382.148822][4826:4826] CHIP:DMG: timedRequest = false, |
| [1659960382.148856][4826:4826] CHIP:DMG: InvokeRequests = |
| [1659960382.148889][4826:4826] CHIP:DMG: [ |
| [1659960382.148921][4826:4826] CHIP:DMG: CommandDataIB = |
| [1659960382.148948][4826:4826] CHIP:DMG: { |
| [1659960382.148981][4826:4826] CHIP:DMG: CommandPathIB = |
| [1659960382.149013][4826:4826] CHIP:DMG: { |
| [1659960382.149051][4826:4826] CHIP:DMG: EndpointId = 0x0, |
| [1659960382.149081][4826:4826] CHIP:DMG: ClusterId = 0x37, |
| [1659960382.149119][4826:4826] CHIP:DMG: CommandId = 0x0, |
| [1659960382.149149][4826:4826] CHIP:DMG: }, |
| [1659960382.149178][4826:4826] CHIP:DMG: |
| [1659960382.149212][4826:4826] CHIP:DMG: CommandFields = |
| [1659960382.149239][4826:4826] CHIP:DMG: { |
| [1659960382.149276][4826:4826] CHIP:DMG: }, |
| [1659960382.149302][4826:4826] CHIP:DMG: }, |
| [1659960382.149337][4826:4826] CHIP:DMG: |
| [1659960382.149358][4826:4826] CHIP:DMG: ], |
| [1659960382.149392][4826:4826] CHIP:DMG: |
| [1659960382.149413][4826:4826] CHIP:DMG: InteractionModelRevision = 1 |
| [1659960382.149433][4826:4826] CHIP:DMG: }, |
| disabled: true |