blob: d72c40f56a8e4ce73b4fa301fe13dd0578460d19 [file] [log] [blame]
# 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:
11.4.6. [TC-CNET-4.6] [Thread] FAILSAFE_REQUIRED message Validation
[DUT-Server]
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label:
"TH sends the AddOrUpdateThreadNetwork command to the DUT with the
following argument: OperationalDataset argument value as 'Userth_op'
Breadcrumb argument value as 1"
PICS: CNET.S.C03.Rsp
verification: |
ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning add-or-update-thread-network 1232034768527434274 51 0
Verify on the TH Log:
[1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca
[1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED)
[1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"TH sends RemoveNetwork command to the DUT with NetworkID argument
value as 'Userth_op' and Breadcrumb argument value as 1"
PICS: CNET.S.C04.Rsp
verification: |
ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning remove-network 1232034768527434274 51 0
Verify on the TH Log:
[1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca
[1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED)
[1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"TH sends ConnectNetwork command to the DUT with NetworkID argument
value as 'Userth_op' and Breadcrumb argument value as 1"
PICS: CNET.S.C06.Rsp
verification: |
ubuntu@ubuntu:~/connectedhomeip/examples/chip-tool/out/debug$ ./chip-tool networkcommissioning connect-network 1232034768527434274 51 0
Verify on the TH Log:
[1657619600.364023][2056:2061] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0003 Status=0xca
[1657619600.364102][2056:2061] CHIP:TOO: Error: IM Error 0x000005CA: General error: 0xca (FAILSAFE_REQUIRED)
[1657619600.364186][2056:2061] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true