blob: b1e3e2e9265c3965c25e8d49263a1232b5b6d9ba [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:
130.1.1. [TC-BRBINFO-1.1] Global Attributes for Bridged Device Basic
Information Cluster Cluster [DUT-Server]
PICS:
- BRBINFO.S
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Preconditions"
verification: |
Validate these PICS items of attributes which are not allowed in this server cluster implementation - these PICS items should all be FALSE, if any of them is TRUE then FAIL the test
BRBINFO.S.A0000(DataModelRevision)
BRBINFO.S.A0004(ProductID)
BRBINFO.S.A0006(Location)
BRBINFO.S.A0010(LocalConfigDisabled)
BRBINFO.S.A0013(CapabilityMinima)
disabled: true
- label: "Commission DUT to TH (if not already done)"
verification: |
disabled: true
- label: "TH reads the ClusterRevision from DUT"
PICS: ""
verification: |
./chip-tool bridgeddevicebasicinformation read cluster-revision 1 3
On TH(chip-tool), verify DUT responsds ClusterRevision attribute has value 1
[1657695910.794487][15411:15416] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_FFFD DataVersion: 2577979325
[1657695910.794568][15411:15416] CHIP:TOO: ClusterRevision: 1
disabled: true
- label: "TH reads the FeatureMap from DUT"
verification: |
./chip-tool bridgeddevicebasicinformation read feature-map 1 3
On TH(chip-tool), verify DUT responds Featuremap value as 0
[1658749277.166884][10254:10259] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_FFFC DataVersion: 3297319126
[1658749277.166945][10254:10259] CHIP:TOO: FeatureMap: 0
[1658749277.167033][10254:10259] CHIP:EM: Sending Standalone Ack for MessageCounter:190389852 on exchange 39565i
disabled: true
- label: "TH reads AttributeList from DUT"
verification: |
./chip-tool bridgeddevicebasicinformation read attribute-list 1 3
Verify " AttributeList "should include the mandatory attributes (value 17) and if DUT supports it lists optional attribute (values 1, 2, 3, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18 ) and global attributes (value 65533, 65532, 65531, 65530, 65529 and 65528) on the TH(Chip-tool) Log and below is the sample log provided for the raspi platform:
[1676277997.061046][3751:3753] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_FFFB DataVersion: 1860081282
[1676277997.061134][3751:3753] CHIP:TOO: AttributeList: 8 entries
[1676277997.061192][3751:3753] CHIP:TOO: [1]: 5
[1676277997.061220][3751:3753] CHIP:TOO: [2]: 17
[1676277997.061245][3751:3753] CHIP:TOO: [3]: 65528
[1676277997.061274][3751:3753] CHIP:TOO: [4]: 65529
[1676277997.061306][3751:3753] CHIP:TOO: [5]: 65530
[1676277997.061337][3751:3753] CHIP:TOO: [6]: 65531
[1676277997.061367][3751:3753] CHIP:TOO: [7]: 65532
[1676277997.061399][3751:3753] CHIP:TOO: [8]: 65533
disabled: true
- label: "TH reads EventList from DUT"
verification: |
./chip-tool bridgeddevicebasicinformation read event-list 1 3
On TH(chip-tool), Verify that DUT response contains list of supported events, for this cluster the list is empty(0 enties)
1676439985.362352][22002:22004] CHIP:DMG: }
[1676439985.362396][22002:22004] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_FFFA DataVersion: 266846256
[1676439985.362407][22002:22004] CHIP:TOO: EventList: 0 entries
disabled: true
- label: "TH reads AcceptedCommandList from DUT"
verification: |
./chip-tool bridgeddevicebasicinformation read accepted-command-list 1 3
On TH(chip-tool), verify DUT responds as list of Accepted Commands as 0 entries
[1657696300.165081][15447:15452] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_FFF9 DataVersion: 2577979325
[1657696300.165174][15447:15452] CHIP:TOO: AcceptedCommandList: 0 entries
disabled: true
- label: "TH reads GeneratedCommandList from DUT"
verification: |
./chip-tool bridgeddevicebasicinformation read generated-command-list 1 3
On TH(chip-tool), verify that DUT responds as list of GeneratedCommands as 0 entries
[1657696328.889936][15454:15459] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_FFF8 DataVersion: 2577979325
[1657696328.890017][15454:15459] CHIP:TOO: GeneratedCommandList: 0 entries
disabled: true