blob: 8521cb24bc8daa32b10f6d626eabc6eae89e94ef [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: 3.4.3. [TC-SC-4.3] Discovery [DUT as Commissionee]
PICS:
- MCORE.ROLE.COMMISSIONEE
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Note"
verification: |
Chip-tool command used below are an example to verify the DUT as controller test cases. For certification test, we expect DUT should have a capability or way to run the equivalent command.
disabled: true
- label:
"Step 1: DUT is commissioned to TH and DUT is instructed to advertise
its operational service (_matter._tcp)."
verification: |
1. Provision the DUT by TH (Chip-tool)
disabled: true
- label: "Step 2: Scan for DNS-SD advertising"
PICS:
MCORE.COM.WIFI && MCORE.COM.ETH && MCORE.COM.THR && MCORE.ICD &&
MCORE.SC.SII_OP_DISCOVERY_KEY && MCORE.SC.SAI_OP_DISCOVERY_KEY &&
MCORE.SC.SAT_OP_DISCOVERY_KEY && MCORE.SC.T_KEY
verification: |
avahi-browse -rt _matter._tcp
Verify the device is advertising _matterc._udp service like below output in TH terminal Log: (Verify for the DUT's actual values (like vendor ID, PID ..etc) as mentioned in the expected outcome of the test plan, The below log contains the data from the reference raspi accessory)
+ veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local
= veth721e1d9 IPv6 433B62F8F07F4327-0000000000000001 _matter._tcp local
hostname = [E45F0149AE290000.local]
address = [fe80::28e0:95ff:fed9:3085]
port = [5540]
txt = ["T=1" "SAI=300" "SII=5000"]
disabled: true