blob: 844c50fc29f8076ece8a42aebf48e48910440d56 [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:
4.1.2. [TC-CADMIN-1.2] Administrator Behavior using BCM [DUT - Commissioner]
PICS:
- CADMIN.C
- CADMIN.C.C01.Tx
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "Note"
verification: |
For DUT as comissioner 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: "Precondition"
verification: |
Reset Devices to factory defaults
disabled: true
- label: "TH_CR1 starts a commissioning process with TH_CE"
PICS: CADMIN.C
verification: |
Provision the device using chip tool on first controller
disabled: true
- label:
"TH_CR1 sends command to TH_CE to open a commissioning window with a
commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM
(Basic Commissioning Method)"
PICS: CADMIN.C.C01.Tx
verification: |
On first controller, usinadministratorcommissioningg chip tool open commissioning window.
./chip-tool administratorcommissioning open-basic-commissioning-window 500 1 0 --timedInteractionTimeoutMs 1000
CHIP:DMG: InvokeResponseMessage =
[1650278416.248379][11064:11069] CHIP:DMG: {
[1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false,
[1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs =
[1650278416.248570][11064:11069] CHIP:DMG: [
[1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB =
[1650278416.248718][11064:11069] CHIP:DMG: {
[1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB =
[1650278416.248860][11064:11069] CHIP:DMG: {
[1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB =
[1650278416.249011][11064:11069] CHIP:DMG: {
[1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0,
[1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c,
[1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1,
[1650278416.249347][11064:11069] CHIP:DMG: },
[1650278416.249430][11064:11069] CHIP:DMG:
[1650278416.249501][11064:11069] CHIP:DMG: StatusIB =
[1650278416.249581][11064:11069] CHIP:DMG: {
[1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS),
[1650278416.249738][11064:11069] CHIP:DMG: },
[1650278416.249823][11064:11069] CHIP:DMG:
[1650278416.249889][11064:11069] CHIP:DMG: },
[1650278416.249969][11064:11069] CHIP:DMG:
[1650278416.250035][11064:11069] CHIP:DMG: },
[1650278416.250113][11064:11069] CHIP:DMG:
[1650278416.250169][11064:11069] CHIP:DMG: ],
[1650278416.250241][11064:11069] CHIP:DMG:
[1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1
[1650278416.250355][11064:11069] CHIP:DMG: },
[1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0
[1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label: "TH_CR1 sends command to TH_CE to read the list of Fabrics"
PICS: OPCREDS.C.A0001
verification: |
On first controller, using chip tool read fabricList
./chip-tool operationalcredentials read fabrics 1 0 --fabric-filtered 0
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3621507058
[1649245801.244173][10091:10096] CHIP:TOO: Fabrics: 1 entries
[1649245801.244305][10091:10096] CHIP:TOO: [1]: {
[1649245801.244348][10091:10096] CHIP:TOO: RootPublicKey: 045541017FCEFD0D83963C9ED7F21380C6B789EB989B5D20DC318FAE92D60D0F685666505E9C4F86C49ADC71AB3A8B9B44FD43214CF9BE2B6D47DE01F28FE1544F
[1649245801.244400][10091:10096] CHIP:TOO: VendorId: 65521
[1649245801.244431][10091:10096] CHIP:TOO: FabricId: 1
[1649245801.244461][10091:10096] CHIP:TOO: NodeId: 1
[1649245801.244491][10091:10096] CHIP:TOO: Label:
[1649245801.244521][10091:10096] CHIP:TOO: FabricIndex: 1
[1649245801.244552][10091:10096] CHIP:TOO: }
[1649245801.244671][10091:10096] CHIP:EM: Sending Standalone Ack for MessageCounter:8407998 on exchange 12989i
disabled: true
- label: "DUT_CR2 starts a commissioning process with TH_CE"
PICS: CADMIN.C
verification: |
On second Controller connect to the accessory.
Below is the example when using chip tool as controller
./chip-tool pairing onnetwork 2 20202021 --commissioner-name beta
Verify you got below message
Device commissioning completed with success
disabled: true
- label: "Verify TH_CE is now discoverable over DNS-SD with two SRV Records"
verification: |
On the raspi , Verify if the DUT is broadcasting using
ubuntu@ubuntu:~/may10_cntrl2/connectedhomeip/examples/chip-tool/out/debug$ avahi-browse -rt _matter._tcp
+ eth0 IPv6 E0AF53B23E580769-0000000000000002 _matter._tcp local
+ eth0 IPv6 7FF84D214A19B581-0000000000000001 _matter._tcp local
= eth0 IPv6 E0AF53B23E580769-0000000000000002 _matter._tcp local
hostname = [E45F010F3BAF0000.local]
address = [fe80::e65f:1ff:fe0f:3baf]
port = [5540]
txt = ["T=1" "CRA=300" "CRI=5000"]
= eth0 IPv6 7FF84D214A19B581-0000000000000001 _matter._tcp local
hostname = [E45F010F3BAF0000.local]
address = [fe80::e65f:1ff:fe0f:3baf]
port = [5540]
txt = ["T=1" "CRA=300" "CRI=5000"]
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to write and read the Basic
Information Clusters NodeLabel mandatory attribute"
PICS: BINFO.C.A0005
verification: |
On the 2nd controller write attribute and read attribute to and from TH_CE
Below is the example while using chip tool on second controller,
./chip-tool basic write node-label te5new 2 0 --commissioner-name beta
CHIP:DMG: WriteResponseMessage =
[1649245940.788522][10110:10115] CHIP:DMG: {
[1649245940.788577][10110:10115] CHIP:DMG: AttributeStatusIBs =
[1649245940.788653][10110:10115] CHIP:DMG: [
[1649245940.788713][10110:10115] CHIP:DMG: AttributeStatusIB =
[1649245940.788787][10110:10115] CHIP:DMG: {
[1649245940.788852][10110:10115] CHIP:DMG: AttributePathIB =
[1649245940.788931][10110:10115] CHIP:DMG: {
[1649245940.789009][10110:10115] CHIP:DMG: Endpoint = 0x0,
[1649245940.789143][10110:10115] CHIP:DMG: Cluster = 0x28,
[1649245940.789228][10110:10115] CHIP:DMG: Attribute = 0x0000_0005,
[1649245940.789313][10110:10115] CHIP:DMG: }
[1649245940.789388][10110:10115] CHIP:DMG:
[1649245940.789454][10110:10115] CHIP:DMG: StatusIB =
[1649245940.789519][10110:10115] CHIP:DMG: {
[1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS),
[1649245940.789654][10110:10115] CHIP:DMG: },
[1649245940.789719][10110:10115] CHIP:DMG:
[1649245940.789778][10110:10115] CHIP:DMG: },
[1649245940.789841][10110:10115] CHIP:DMG:
[1649245940.789885][10110:10115] CHIP:DMG: ],
[1649245940.789941][10110:10115] CHIP:DMG:
[1649245940.789984][10110:10115] CHIP:DMG: InteractionModelRevision = 1
[1649245940.790033][10110:10115] CHIP:DMG: }
[1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe]
Verify read attribute returns the updated value written
./chip-tool basic read node-label 1 0 --commissioner-name beta
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068
[1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te5new
[1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to read the list of Fabrics on TH_CE"
PICS: OPCREDS.C.A0001
verification: |
On second controller controller read fabricList
Below is the example while using chip tool on second controller,
./chip-tool operationalcredentials read fabrics 2 0 --fabric-filtered 0 --commissioner-name beta
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_003E Attribute 0x0000_0001 DataVersion: 3229397217
[1650277071.834099][40790:40795] CHIP:TOO: Fabrics: 2 entries
[1650277071.834120][40790:40795] CHIP:TOO: [1]: {
[1650277071.834126][40790:40795] CHIP:TOO: RootPublicKey: 0426F120BC098B3BDBA37807F6C2F7F396F5CD89F81F4AF4C80C1089B9B856F1FCDC10AA8A0CF30F629FA9E13E131330C3C53D917C3048456D73E943DB63910823
[1650277071.834134][40790:40795] CHIP:TOO: VendorId: 65521
[1650277071.834137][40790:40795] CHIP:TOO: FabricId: 1
[1650277071.834141][40790:40795] CHIP:TOO: NodeId: 1
[1650277071.834147][40790:40795] CHIP:TOO: Label:
[1650277071.834151][40790:40795] CHIP:TOO: FabricIndex: 1
[1650277071.834155][40790:40795] CHIP:TOO: }
[1650277071.834161][40790:40795] CHIP:TOO: [2]: {
[1650277071.834165][40790:40795] CHIP:TOO: RootPublicKey: 045B7C9F80F17A0D5B2EA727562424A0AC978C2F4A7BBE659C9076978A6630771166AB1506D714279AFDF2A3B33A643025E0194A376A520B1F6773DB2E4993B5CF
[1650277071.834169][40790:40795] CHIP:TOO: VendorId: 65521
[1650277071.834173][40790:40795] CHIP:TOO: FabricId: 1
[1650277071.834176][40790:40795] CHIP:TOO: NodeId: 2
[1650277071.834179][40790:40795] CHIP:TOO: Label:
[1650277071.834182][40790:40795] CHIP:TOO: FabricIndex: 2
[1650277071.834186][40790:40795] CHIP:TOO: }
[1650277071.834215][40790:40795] CHIP:EM: Sending Standalone Ack for MessageCounter:15057119 on exchange 50631i
disabled: true
- label:
"TH_CR1 sends command to TH_CE to write and read the Basic Information
Clusters NodeLabel mandatory attribute"
PICS: BINFO.C.A0005
verification: |
On first controller, using chip-tool write attribute, Verify read attribute returns the updated value written.
./chip-tool basic write node-label te8 1 0
CHIP:DMG: WriteResponseMessage =
[1649245940.788522][10110:10115] CHIP:DMG: {
[1649245940.788577][10110:10115] CHIP:DMG: AttributeStatusIBs =
[1649245940.788653][10110:10115] CHIP:DMG: [
[1649245940.788713][10110:10115] CHIP:DMG: AttributeStatusIB =
[1649245940.788787][10110:10115] CHIP:DMG: {
[1649245940.788852][10110:10115] CHIP:DMG: AttributePathIB =
[1649245940.788931][10110:10115] CHIP:DMG: {
[1649245940.789009][10110:10115] CHIP:DMG: Endpoint = 0x0,
[1649245940.789143][10110:10115] CHIP:DMG: Cluster = 0x28,
[1649245940.789228][10110:10115] CHIP:DMG: Attribute = 0x0000_0005,
[1649245940.789313][10110:10115] CHIP:DMG: }
[1649245940.789388][10110:10115] CHIP:DMG:
[1649245940.789454][10110:10115] CHIP:DMG: StatusIB =
[1649245940.789519][10110:10115] CHIP:DMG: {
[1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS),
[1649245940.789654][10110:10115] CHIP:DMG: },
[1649245940.789719][10110:10115] CHIP:DMG:
[1649245940.789778][10110:10115] CHIP:DMG: },
[1649245940.789841][10110:10115] CHIP:DMG:
[1649245940.789885][10110:10115] CHIP:DMG: ],
[1649245940.789941][10110:10115] CHIP:DMG:
[1649245940.789984][10110:10115] CHIP:DMG: InteractionModelRevision = 1
[1649245940.790033][10110:10115] CHIP:DMG: }
[1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe]
Verify read attribute returns the updated value written
./chip-tool basic read node-label 1 0
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068
[1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te8
[1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to read, write and then read the Basic
Information Clusters NodeLabel mandatory attribute"
PICS: BINFO.C.A0005
verification: |
On second controller read, write attribute and then read attribute to and from TH_CE
Below is the example while using chip tool on second controller,
./chip-tool basic write node-label te5new 2 0 --commissioner-name beta
CHIP:DMG: WriteResponseMessage =
[1649245940.788522][10110:10115] CHIP:DMG: {
[1649245940.788577][10110:10115] CHIP:DMG: AttributeStatusIBs =
[1649245940.788653][10110:10115] CHIP:DMG: [
[1649245940.788713][10110:10115] CHIP:DMG: AttributeStatusIB =
[1649245940.788787][10110:10115] CHIP:DMG: {
[1649245940.788852][10110:10115] CHIP:DMG: AttributePathIB =
[1649245940.788931][10110:10115] CHIP:DMG: {
[1649245940.789009][10110:10115] CHIP:DMG: Endpoint = 0x0,
[1649245940.789143][10110:10115] CHIP:DMG: Cluster = 0x28,
[1649245940.789228][10110:10115] CHIP:DMG: Attribute = 0x0000_0005,
[1649245940.789313][10110:10115] CHIP:DMG: }
[1649245940.789388][10110:10115] CHIP:DMG:
[1649245940.789454][10110:10115] CHIP:DMG: StatusIB =
[1649245940.789519][10110:10115] CHIP:DMG: {
[1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS),
[1649245940.789654][10110:10115] CHIP:DMG: },
[1649245940.789719][10110:10115] CHIP:DMG:
[1649245940.789778][10110:10115] CHIP:DMG: },
[1649245940.789841][10110:10115] CHIP:DMG:
[1649245940.789885][10110:10115] CHIP:DMG: ],
[1649245940.789941][10110:10115] CHIP:DMG:
[1649245940.789984][10110:10115] CHIP:DMG: InteractionModelRevision = 1
[1649245940.790033][10110:10115] CHIP:DMG: }
[1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe]
Verify read attribute returns the updated value written
./chip-tool basic read node-label 2 0 --commissioner-name beta
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068
[1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te5new
[1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i
disabled: true
- label: "Turn off TH_CR1"
verification: |
No need to do anything as chip-tool process exits after each command
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to open a commissioning window with a
commissioning timeout of PIXIT.CADMIN.CwDuration seconds using BCM
(Basic Commissioning Method)"
PICS: CADMIN.C.C01.Tx
verification: |
On second controller using chip-tool open commissioning widow using BCM.
Below is the example while using chip tool on second controller,
./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 --commissioner-name beta
CHIP:DMG: InvokeResponseMessage =
[1650278416.248379][11064:11069] CHIP:DMG: {
[1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false,
[1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs =
[1650278416.248570][11064:11069] CHIP:DMG: [
[1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB =
[1650278416.248718][11064:11069] CHIP:DMG: {
[1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB =
[1650278416.248860][11064:11069] CHIP:DMG: {
[1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB =
[1650278416.249011][11064:11069] CHIP:DMG: {
[1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0,
[1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c,
[1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1,
[1650278416.249347][11064:11069] CHIP:DMG: },
[1650278416.249430][11064:11069] CHIP:DMG:
[1650278416.249501][11064:11069] CHIP:DMG: StatusIB =
[1650278416.249581][11064:11069] CHIP:DMG: {
[1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS),
[1650278416.249738][11064:11069] CHIP:DMG: },
[1650278416.249823][11064:11069] CHIP:DMG:
[1650278416.249889][11064:11069] CHIP:DMG: },
[1650278416.249969][11064:11069] CHIP:DMG:
[1650278416.250035][11064:11069] CHIP:DMG: },
[1650278416.250113][11064:11069] CHIP:DMG:
[1650278416.250169][11064:11069] CHIP:DMG: ],
[1650278416.250241][11064:11069] CHIP:DMG:
[1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1
[1650278416.250355][11064:11069] CHIP:DMG: },
[1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0
[1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to revoke the commissioning window
using the Revoke Commissioning command"
PICS: CADMIN.C.C02.Tx
verification: |
On second controller using chip-tool run revoke command
Below is the example while using chip tool on second controller,
./chip-tool administratorcommissioning revoke-commissioning 2 0 --timedInteractionTimeoutMs 1000 --commissioner-name beta
CHIP:DMG: InvokeResponseMessage =
[1650278416.248379][11064:11069] CHIP:DMG: {
[1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false,
[1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs =
[1650278416.248570][11064:11069] CHIP:DMG: [
[1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB =
[1650278416.248718][11064:11069] CHIP:DMG: {
[1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB =
[1650278416.248860][11064:11069] CHIP:DMG: {
[1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB =
[1650278416.249011][11064:11069] CHIP:DMG: {
[1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0,
[1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c,
[1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1,
[1650278416.249347][11064:11069] CHIP:DMG: },
[1650278416.249430][11064:11069] CHIP:DMG:
[1650278416.249501][11064:11069] CHIP:DMG: StatusIB =
[1650278416.249581][11064:11069] CHIP:DMG: {
[1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS),
[1650278416.249738][11064:11069] CHIP:DMG: },
[1650278416.249823][11064:11069] CHIP:DMG:
[1650278416.249889][11064:11069] CHIP:DMG: },
[1650278416.249969][11064:11069] CHIP:DMG:
[1650278416.250035][11064:11069] CHIP:DMG: },
[1650278416.250113][11064:11069] CHIP:DMG:
[1650278416.250169][11064:11069] CHIP:DMG: ],
[1650278416.250241][11064:11069] CHIP:DMG:
[1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1
[1650278416.250355][11064:11069] CHIP:DMG: },
[1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0
[1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"TH_CR3 attempts to execute a PASE to starts a commissioning process
with TH_CE"
PICS: CADMIN.C
verification: |
1. On third controller, using chip-tool connect to the accessory. Connect attempt should fail, i.e
./chip-tool pairing onnetwork 3 20202021 --commissioner-name gamma
verify you got the following message in the TH log
CHIP:SC: PASESession timed out while waiting for a response from the peer. Expected message type was 33
CHIP:TOO: Secure Pairing Failed
CHIP:TOO: Pairing Failure: ../../third_party/connectedhomeip/src/protocols/secure_channel/PASESession.cpp:324: CHIP Error 0x00000032: Timeout
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to write and read the Basic
Information Clusters NodeLabel mandatory attribute"
PICS: BINFO.C.A0005
verification: |
On second controller, write attribute and read attribute to and from TH_CE
Below is the example while using chip tool on second controller,
./chip-tool basic write node-label te5new 2 0 --commissioner-name beta
CHIP:DMG: WriteResponseMessage =
[1649245940.788522][10110:10115] CHIP:DMG: {
[1649245940.788577][10110:10115] CHIP:DMG: AttributeStatusIBs =
[1649245940.788653][10110:10115] CHIP:DMG: [
[1649245940.788713][10110:10115] CHIP:DMG: AttributeStatusIB =
[1649245940.788787][10110:10115] CHIP:DMG: {
[1649245940.788852][10110:10115] CHIP:DMG: AttributePathIB =
[1649245940.788931][10110:10115] CHIP:DMG: {
[1649245940.789009][10110:10115] CHIP:DMG: Endpoint = 0x0,
[1649245940.789143][10110:10115] CHIP:DMG: Cluster = 0x28,
[1649245940.789228][10110:10115] CHIP:DMG: Attribute = 0x0000_0005,
[1649245940.789313][10110:10115] CHIP:DMG: }
[1649245940.789388][10110:10115] CHIP:DMG:
[1649245940.789454][10110:10115] CHIP:DMG: StatusIB =
[1649245940.789519][10110:10115] CHIP:DMG: {
[1649245940.789588][10110:10115] CHIP:DMG: status = 0x00 (SUCCESS),
[1649245940.789654][10110:10115] CHIP:DMG: },
[1649245940.789719][10110:10115] CHIP:DMG:
[1649245940.789778][10110:10115] CHIP:DMG: },
[1649245940.789841][10110:10115] CHIP:DMG:
[1649245940.789885][10110:10115] CHIP:DMG: ],
[1649245940.789941][10110:10115] CHIP:DMG:
[1649245940.789984][10110:10115] CHIP:DMG: InteractionModelRevision = 1
[1649245940.790033][10110:10115] CHIP:DMG: }
[1649245940.790167][10110:10115] CHIP:DMG: WriteClient moving to [AwaitingDe]
Verify read attribute returns the updated value written
./chip-tool basic read node-label 2 0 --commissioner-name beta
CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0028 Attribute 0x0000_0005 DataVersion: 3061847068
[1649245950.006849][10116:10121] CHIP:TOO: NodeLabel: te5new
[1649245950.007024][10116:10121] CHIP:EM: Sending Standalone Ack for MessageCounter:12495101 on exchange 24816i
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to open a commissioning window using
BCM"
PICS: CADMIN.C.C01.Tx
verification: |
On second controller using chip-tool open commissioning widow using BCM.
Below is the example while using chip tool on second controller,
./chip-tool administratorcommissioning open-basic-commissioning-window 180 2 0 --timedInteractionTimeoutMs 1000 --commissioner-name beta
CHIP:DMG: InvokeResponseMessage =
[1650278416.248379][11064:11069] CHIP:DMG: {
[1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false,
[1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs =
[1650278416.248570][11064:11069] CHIP:DMG: [
[1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB =
[1650278416.248718][11064:11069] CHIP:DMG: {
[1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB =
[1650278416.248860][11064:11069] CHIP:DMG: {
[1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB =
[1650278416.249011][11064:11069] CHIP:DMG: {
[1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0,
[1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c,
[1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1,
[1650278416.249347][11064:11069] CHIP:DMG: },
[1650278416.249430][11064:11069] CHIP:DMG:
[1650278416.249501][11064:11069] CHIP:DMG: StatusIB =
[1650278416.249581][11064:11069] CHIP:DMG: {
[1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS),
[1650278416.249738][11064:11069] CHIP:DMG: },
[1650278416.249823][11064:11069] CHIP:DMG:
[1650278416.249889][11064:11069] CHIP:DMG: },
[1650278416.249969][11064:11069] CHIP:DMG:
[1650278416.250035][11064:11069] CHIP:DMG: },
[1650278416.250113][11064:11069] CHIP:DMG:
[1650278416.250169][11064:11069] CHIP:DMG: ],
[1650278416.250241][11064:11069] CHIP:DMG:
[1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1
[1650278416.250355][11064:11069] CHIP:DMG: },
[1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0
[1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"Wait for commissioning window that was opened in step 13 to timeout"
verification: |
Wait for the timeout of commissioning window in the above step
disabled: true
- label:
"DUT_CR2 sends command to TH_CE to open a commissioning window using
BCM"
PICS: CADMIN.C.C01.Tx
verification: |
On second controller using chip-tool open commissioning widow using BCM.
Below is the example while using chip tool on second controller,
./chip-tool administratorcommissioning open-basic-commissioning-window 500 2 0 --timedInteractionTimeoutMs 1000 --commissioner-name beta
CHIP:DMG: InvokeResponseMessage =
[1650278416.248379][11064:11069] CHIP:DMG: {
[1650278416.248436][11064:11069] CHIP:DMG: suppressResponse = false,
[1650278416.248495][11064:11069] CHIP:DMG: InvokeResponseIBs =
[1650278416.248570][11064:11069] CHIP:DMG: [
[1650278416.248630][11064:11069] CHIP:DMG: InvokeResponseIB =
[1650278416.248718][11064:11069] CHIP:DMG: {
[1650278416.248783][11064:11069] CHIP:DMG: CommandStatusIB =
[1650278416.248860][11064:11069] CHIP:DMG: {
[1650278416.248931][11064:11069] CHIP:DMG: CommandPathIB =
[1650278416.249011][11064:11069] CHIP:DMG: {
[1650278416.249100][11064:11069] CHIP:DMG: EndpointId = 0x0,
[1650278416.249186][11064:11069] CHIP:DMG: ClusterId = 0x3c,
[1650278416.249268][11064:11069] CHIP:DMG: CommandId = 0x1,
[1650278416.249347][11064:11069] CHIP:DMG: },
[1650278416.249430][11064:11069] CHIP:DMG:
[1650278416.249501][11064:11069] CHIP:DMG: StatusIB =
[1650278416.249581][11064:11069] CHIP:DMG: {
[1650278416.249664][11064:11069] CHIP:DMG: status = 0x00 (SUCCESS),
[1650278416.249738][11064:11069] CHIP:DMG: },
[1650278416.249823][11064:11069] CHIP:DMG:
[1650278416.249889][11064:11069] CHIP:DMG: },
[1650278416.249969][11064:11069] CHIP:DMG:
[1650278416.250035][11064:11069] CHIP:DMG: },
[1650278416.250113][11064:11069] CHIP:DMG:
[1650278416.250169][11064:11069] CHIP:DMG: ],
[1650278416.250241][11064:11069] CHIP:DMG:
[1650278416.250298][11064:11069] CHIP:DMG: InteractionModelRevision = 1
[1650278416.250355][11064:11069] CHIP:DMG: },
[1650278416.250535][11064:11069] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_003C Command=0x0000_0001 Status=0x0
[1650278416.250634][11064:11069] CHIP:DMG: ICR moving to [AwaitingDe]
disabled: true
- label:
"TH_CR1 starts a commissioning process with TH_CE before the timeout
from step 15"
PICS: CADMIN.C
verification: |
Using your 1st Controller connect to the accessory.
Below is the example when using chip tool as controller
./chip-tool pairing onnetwork 1 20202021
[1651786200275] [36301:315544] CHIP: [DMG] Received Command Response Data, Endpoint=0 Cluster=0x0000_003E Command=0x0000_0008
[1651786200275] [36301:315544] CHIP: [CTL] Device returned status 9 on receiving the NOC
[1651786200275] [36301:315544] CHIP: [CTL] Add NOC failed with error ../../src/controller/CHIPDeviceController.cpp:1187: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists
[1651786200275] [36301:315544] CHIP: [CTL] Error on commissioning step "SendNOC": "../../src/controller/CHIPDeviceController.cpp:1187: CHIP Error 0x0000007E: Trying to add a NOC for a fabric that already exists"
Verify that the commissioning process fails as TH_CE was already commissioned by TH_CR1 in step 1
disabled: true