blob: 4e408c47fe0aedebbac92ce10fd5e7055675e5ef [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.14. [TC-CNET-4.16] [Thread] NetworkIDNotFound returned in
LastNetworkingStatus field validation [DUT-Server]
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label:
"* TH reads Network attribute from the DUT * TH saves the single
entrys NetworkID value as 'Userth_op' value for the future use"
verification: |
./chip-tool networkcommissioning read networks 162 0
Verify on the TH Log:
[1645772651.445097][3856:3861] CHIP:DMG: SuppressResponse = true,
[1645772651.445149][3856:3861] CHIP:DMG: InteractionModelRevision = 1
[1645772651.445209][3856:3861] CHIP:DMG: }
[1645772651.445754][3856:3861] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Attribute 0x0000_0001DataVersion: 92121563
[1645772651.445875][3856:3861] CHIP:TOO: Networks: 1 entries
[1645772651.446057][3856:3861] CHIP:TOO: [1]: {
[1645772651.446120][3856:3861] CHIP:TOO: NetworkID: 47524C50726976617465
[1650389742.394958][9809:9814] CHIP:TOO: Connected: TRUE
[1645772651.446228][3856:3861] CHIP:TOO: }
[1645772651.446431][3856:3861] CHIP:EM: Sending Standalone Ack for MessageCounter:12695576 on exchange 11133i
disabled: true
- label: "TH sends ArmFailSafe command to the DUT"
verification: |
./chip-tool generalcommissioning arm-fail-safe 900 0 62 0
Verify on the TH Log:
[1650392597.976230][10152:10157] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0030 Command=0x0000_0001
[1650392597.976363][10152:10157] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0030 Command 0x0000_0001
[1650392597.976539][10152:10157] CHIP:TOO: ArmFailSafeResponse: {
[1650392597.976665][10152:10157] CHIP:TOO: errorCode: 0
[1650392597.976729][10152:10157] CHIP:TOO: debugText:
[1650392597.976785][10152:10157] CHIP:TOO: }
[1650392597.976874][10152:10157] CHIP:DMG: ICR moving to [AwaitingDe]
[1650392597.976987][10152:10157] CHIP:EM: Sending Standalone Ack for MessageCounter:10494017 on exchange 14665i
disabled: true
- label:
"TH sendsRemoveNetworkCommand to theDUT withNetworkID fieldset to the
extendedr PAN ID ofPIXIT.CNET.THREAD_2ND_OPERATIONALDATASET,which does
notmatch thecommissionedr network, andBreadcrumb fieldset to 1"
verification: |
./chip-tool networkcommissioning remove-network 47524C50726976617465 62 0
Verify on the TH Log:
[1650392982.606392][10188:10193] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007
[1650392982.606501][10188:10193] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007
[1650392982.606653][10188:10193] CHIP:TOO: ConnectNetworkResponse: {
[1650392982.606753][10188:10193] CHIP:TOO: networkingStatus: 3
[1650392982.606815][10188:10193] CHIP:TOO: errorValue: 0
[1650392982.606872][10188:10193] CHIP:TOO: }
[1650392982.606960][10188:10193] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"TH sendsConnectNetwork Command to theDUT withNetworkID valueas the
extendedr PAN ID ofPIXIT.CNET.THREAD_2ND_OPERATIONALDATASET,which does
notmatch thecommissionedr network, andBreadcrumb fieldset to 1"
verification: |
./chip-tool networkcommissioning connect-network 47524C50726976617465 62 0
Verify on the TH Log:
[1650392982.606392][10188:10193] CHIP:DMG: Received Command Response Data, Endpoint=0 Cluster=0x0000_0031 Command=0x0000_0007
[1650392982.606501][10188:10193] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0031 Command 0x0000_0007
[1650392982.606653][10188:10193] CHIP:TOO: ConnectNetworkResponse: {
[1650392982.606753][10188:10193] CHIP:TOO: networkingStatus: 3
[1650392982.606815][10188:10193] CHIP:TOO: errorValue: 0
[1650392982.606872][10188:10193] CHIP:TOO: }
[1650392982.606960][10188:10193] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true