blob: 1b9c2215d3e0ce813b86dab4e19a2fe04f8e1d7c [file] [log] [blame]
# Copyright (c) 2023 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:
19.1.14. [TC-CONCON-1.14] Global attributes - Content Control Cluster (DUT
as Server)
PICS:
- CONCON.S
config:
nodeId: 0x12344321
cluster: "Basic Information"
endpoint: 0
tests:
- label: "Step 1: TH reads the ClusterRevision attribute from the DUT"
verification: |
./chip-tool contentcontrol read cluster-revision 1 1
[1704869094.517260][4293:4295] CHIP:DMG: }
[1704869094.517545][4293:4295] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_050F Attribute 0x0000_FFFD DataVersion: 1251967611
[1704869094.517631][4293:4295] CHIP:TOO: ClusterRevision: 1
[1704869094.518028][4293:4295] CHIP:EM: <<< [E:20721i S:28265 M:144462024 (Ack:200262914)] (S) Msg TX to 1:0000000000000001 [EF1D] [UDP:[fe80::e65f:1ff:fe49:ae1b%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
[1704869094.518235][4293:4295] CHIP:EM: Flushed pending ack for MessageCounter:200262914 on exchange 20721i
disabled: true
- label: "Step 2: TH reads the FeatureMap attribute from the DUT"
verification: |
./chip-tool contentcontrol read feature-map 1 1
[1704869124.605470][4296:4298] CHIP:DMG: InteractionModelRevision = 11
[1704869124.605531][4296:4298] CHIP:DMG: }
[1704869124.605872][4296:4298] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_050F Attribute 0x0000_FFFC DataVersion: 1251967611
[1704869124.605970][4296:4298] CHIP:TOO: FeatureMap: 0
[1704869124.606460][4296:4298] CHIP:EM: <<< [E:55393i S:13705 M:14084931 (Ack:173736992)] (S) Msg TX to 1:0000000000000001 [EF1D] [UDP:[fe80::e65f:1ff:fe49:ae1b%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
[1704869124.606702][4296:4298] CHIP:EM: Flushed pending ack for MessageCounter:173736992 on exchange 55393i
[1704869124.607077][4296:4296] CHIP:CTL: Shutting down the commissioner
disabled: true
- label: "Step 3: TH reads the AttributeList attribute from the DUT"
verification: |
./chip-tool contentcontrol read attribute-list 1 1
[1704869156.246646][4299:4301] CHIP:DMG: InteractionModelRevision = 11
[1704869156.246689][4299:4301] CHIP:DMG: }
[1704869156.247013][4299:4301] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_050F Attribute 0x0000_FFFB DataVersion: 1251967611
[1704869156.248939][4299:4301] CHIP:TOO: AttributeList: 13 entries
[1704869156.248979][4299:4301] CHIP:TOO: [1]: 0
[1704869156.249005][4299:4301] CHIP:TOO: [2]: 1
[1704869156.249031][4299:4301] CHIP:TOO: [3]: 2
[1704869156.249055][4299:4301] CHIP:TOO: [4]: 3
[1704869156.249080][4299:4301] CHIP:TOO: [5]: 4
[1704869156.249105][4299:4301] CHIP:TOO: [6]: 5
[1704869156.249130][4299:4301] CHIP:TOO: [7]: 6
[1704869156.249154][4299:4301] CHIP:TOO: [8]: 7
[1704869156.249180][4299:4301] CHIP:TOO: [9]: 65528
[1704869156.249204][4299:4301] CHIP:TOO: [10]: 65529
[1704869156.249229][4299:4301] CHIP:TOO: [11]: 65531
[1704869156.249254][4299:4301] CHIP:TOO: [12]: 65532
[1704869156.249279][4299:4301] CHIP:TOO: [13]: 65533
[1704869156.249630][4299:4301] CHIP:EM: <<< [E:14371i S:6146 M:117952128 (Ack:180483729)] (S) Msg TX to 1:0000000000000001 [EF1D] [UDP:[fe80::e65f:1ff:fe49:ae1b%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
[1704869156.249770][4299:4301] CHIP:EM: Flushed pending ack for MessageCounter:180483729 on exchange 14371i
disabled: true
- label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT"
verification: |
./chip-tool contentcontrol read accepted-command-list 1 1
[1704869442.419331][4306:4308] CHIP:DMG: SuppressResponse = true,
[1704869442.419358][4306:4308] CHIP:DMG: InteractionModelRevision = 11
[1704869442.419382][4306:4308] CHIP:DMG: }
[1704869442.419678][4306:4308] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_050F Attribute 0x0000_FFF9 DataVersion: 1251967611
[1704869442.419774][4306:4308] CHIP:TOO: AcceptedCommandList: 10 entries
[1704869442.419808][4306:4308] CHIP:TOO: [1]: 0
[1704869442.419835][4306:4308] CHIP:TOO: [2]: 1
[1704869442.419860][4306:4308] CHIP:TOO: [3]: 3
[1704869442.419885][4306:4308] CHIP:TOO: [4]: 4
[1704869442.419909][4306:4308] CHIP:TOO: [5]: 5
[1704869442.419933][4306:4308] CHIP:TOO: [6]: 6
[1704869442.419958][4306:4308] CHIP:TOO: [7]: 7
[1704869442.419982][4306:4308] CHIP:TOO: [8]: 8
[1704869442.420006][4306:4308] CHIP:TOO: [9]: 9
[1704869442.420031][4306:4308] CHIP:TOO: [10]: 10
[1704869442.420310][4306:4308] CHIP:EM: <<< [E:22515i S:37055 M:163291838 (Ack:95370016)] (S) Msg TX to 1:0000000000000001 [EF1D] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
[1704869442.420470][4306:4308] CHIP:EM: Flushed pending ack for MessageCounter:95370016 on exchange 22515i
disabled: true
- label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT"
verification: |
./chip-tool contentcontrol read generated-command-list 1 1
[1704869486.142562][4311:4313] CHIP:DMG: SuppressResponse = true,
[1704869486.142591][4311:4313] CHIP:DMG: InteractionModelRevision = 11
[1704869486.142617][4311:4313] CHIP:DMG: }
[1704869486.142837][4311:4313] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_050F Attribute 0x0000_FFF8 DataVersion: 1251967611
[1704869486.142903][4311:4313] CHIP:TOO: GeneratedCommandList: 1 entries
[1704869486.142938][4311:4313] CHIP:TOO: [1]: 2
[1704869486.143197][4311:4313] CHIP:EM: <<< [E:58684i S:20913 M:112498974 (Ack:84853992)] (S) Msg TX to 1:0000000000000001 [EF1D] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
disabled: true
- label: "Step 6: TH reads the EventList attribute from the DUT"
verification: |
./chip-tool contentcontrol read event-list 1 1
[1704869518.133231][4314:4316] CHIP:EM: Rxd Ack; Removing MessageCounter:245792542 from Retrans Table on exchange 18480i
[1704869518.133334][4314:4316] CHIP:DMG: ReportDataMessage =
[1704869518.133370][4314:4316] CHIP:DMG: {
[1704869518.133398][4314:4316] CHIP:DMG: AttributeReportIBs =
[1704869518.133440][4314:4316] CHIP:DMG: [
[1704869518.133472][4314:4316] CHIP:DMG: AttributeReportIB =
[1704869518.133515][4314:4316] CHIP:DMG: {
[1704869518.133549][4314:4316] CHIP:DMG: AttributeStatusIB =
[1704869518.133594][4314:4316] CHIP:DMG: {
[1704869518.133631][4314:4316] CHIP:DMG: AttributePathIB =
[1704869518.133674][4314:4316] CHIP:DMG: {
[1704869518.133720][4314:4316] CHIP:DMG: Endpoint = 0x1,
[1704869518.133764][4314:4316] CHIP:DMG: Cluster = 0x50f,
[1704869518.133809][4314:4316] CHIP:DMG: Attribute = 0x0000_FFFA,
[1704869518.133850][4314:4316] CHIP:DMG: }
[1704869518.133946][4314:4316] CHIP:DMG:
[1704869518.133988][4314:4316] CHIP:DMG: StatusIB =
[1704869518.134031][4314:4316] CHIP:DMG: {
[1704869518.134072][4314:4316] CHIP:DMG: status = 0x86 (UNSUPPORTED_ATTRIBUTE),
[1704869518.134144][4314:4316] CHIP:DMG: },
[1704869518.134189][4314:4316] CHIP:DMG:
[1704869518.134226][4314:4316] CHIP:DMG: },
[1704869518.134268][4314:4316] CHIP:DMG:
[1704869518.134324][4314:4316] CHIP:DMG: },
[1704869518.134368][4314:4316] CHIP:DMG:
[1704869518.134398][4314:4316] CHIP:DMG: ],
[1704869518.134438][4314:4316] CHIP:DMG:
[1704869518.134469][4314:4316] CHIP:DMG: SuppressResponse = true,
[1704869518.134501][4314:4316] CHIP:DMG: InteractionModelRevision = 11
[1704869518.134531][4314:4316] CHIP:DMG: }
[1704869518.134726][4314:4316] CHIP:TOO: Response Failure: IM Error 0x00000586: General error: 0x86 (UNSUPPORTED_ATTRIBUTE)
[1704869518.135007][4314:4316] CHIP:EM: <<< [E:18480i S:40415 M:245792543 (Ack:116804273)] (S) Msg TX to 1:0000000000000001 [EF1D] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck)
disabled: true