| # 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.7.6. [TC-CHANNEL-5.6] Skip Channel Verification (DUT as Client) |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "DUT sends SkipChannel command to TH" |
| PICS: CHANNEL.C.C0003 |
| verification: | |
| product maker needs to provide instructions for how to trigger the command: |
| Refer to device or application documentation for special argument values to each command, and/or additional steps required to put device into in correct state to exhibit test behavior. |
| |
| |
| If the DUT knows the Index value, then those can be sent as the argument. |
| Else User needs to execute the following command to know the index InputList |
| |
| ./chip-tool channel read channel-list 1 1 |
| |
| ./chip-tool channel skip-channel 33 1 1 |
| The following chip-tool command simulates the interaction of the DUT and the log below shows the resulting log on the TH. |
| |
| [1653915085.438537][18282:18287] CHIP:DMG: StatusIB = |
| [1653915085.438556][18282:18287] CHIP:DMG: { |
| [1653915085.438575][18282:18287] CHIP:DMG: status = 0x00 (SUCCESS), |
| [1653915085.438594][18282:18287] CHIP:DMG: }, |
| |
| |
| Enter the below command to read the current input. |
| ./chip-tool channel read current-channel 1 1 |
| disabled: true |