|
| 1 | +# Copyright (c) 2024 Project CHIP Authors |
| 2 | +# |
| 3 | +# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | +# you may not use this file except in compliance with the License. |
| 5 | +# You may obtain a copy of the License at |
| 6 | +# |
| 7 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | +# |
| 9 | +# Unless required by applicable law or agreed to in writing, software |
| 10 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | +# See the License for the specific language governing permissions and |
| 13 | +# limitations under the License. |
| 14 | +# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default |
| 15 | + |
| 16 | +name: |
| 17 | + 19.1.13. [TC-APPOBSERVER-1.13] Global attributes - Content App Observer |
| 18 | + Cluster (DUT as Server) |
| 19 | + |
| 20 | +PICS: |
| 21 | + - APPOBSERVER.S |
| 22 | + |
| 23 | +config: |
| 24 | + nodeId: 0x12344321 |
| 25 | + cluster: "Basic Information" |
| 26 | + endpoint: 0 |
| 27 | + |
| 28 | +tests: |
| 29 | + - label: "Step 1: TH reads the ClusterRevision attribute from the DUT" |
| 30 | + verification: | |
| 31 | + ./chip-tool contentappobserver read cluster-revision 1 1 |
| 32 | + Verify " ClusterRevision " value is of unit16 and reflects the highest revision number on the TH(Chip-tool) Log, in RPI the value of ClusterRevision is 1 |
| 33 | + [1702624923.223245][5892:5894] CHIP:DMG: InteractionModelRevision = 11 |
| 34 | + [1702624923.223299][5892:5894] CHIP:DMG: } |
| 35 | + [1702624923.223652][5892:5894] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFD DataVersion: 2272699478 |
| 36 | + [1702624923.223820][5892:5894] CHIP:TOO: ClusterRevision: 1 |
| 37 | + [1702624923.224324][5892:5894] CHIP:EM: <<< [E:5445i S:15084 M:255037238 (Ack:113660697)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) |
| 38 | + [1702624923.224578][5892:5894] CHIP:EM: Flushed pending ack for MessageCounter:113660697 on exchange 5445i |
| 39 | + disabled: true |
| 40 | + |
| 41 | + - label: "Step 2: TH reads the FeatureMap attribute from the DUT" |
| 42 | + verification: | |
| 43 | + ./chip-tool contentappobserver read feature-map 1 1 |
| 44 | + On TH, verify that DUT sends the FeatureMap attribute has the value 0 or returns a general error that the attribute is not supported |
| 45 | + [1702624956.728609][5896:5898] CHIP:DMG: SuppressResponse = true, |
| 46 | + [1702624956.728667][5896:5898] CHIP:DMG: InteractionModelRevision = 11 |
| 47 | + [1702624956.728720][5896:5898] CHIP:DMG: } |
| 48 | + [1702624956.729021][5896:5898] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFC DataVersion: 2272699478 |
| 49 | + [1702624956.729138][5896:5898] CHIP:TOO: FeatureMap: 0 |
| 50 | + [1702624956.729564][5896:5898] CHIP:EM: <<< [E:26717i S:26806 M:11352307 (Ack:31492418)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) |
| 51 | + disabled: true |
| 52 | + |
| 53 | + - label: "Step 3: TH reads the AttributeList attribute from the DUT" |
| 54 | + verification: | |
| 55 | + ./chip-tool contentappobserver read attribute-list 1 1 |
| 56 | + Verify " AttributeList " value consists the list of mandatory attributes (65533, 65532, 65531, 65529, 65528) on the TH(Chip-tool) Log: |
| 57 | + [1702624983.367693][5900:5902] CHIP:DMG: } |
| 58 | + [1702624983.368044][5900:5902] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFFB DataVersion: 2272699478 |
| 59 | + [1702624983.368485][5900:5902] CHIP:TOO: AttributeList: 5 entries |
| 60 | + [1702624983.368564][5900:5902] CHIP:TOO: [1]: 65528 |
| 61 | + [1702624983.368624][5900:5902] CHIP:TOO: [2]: 65529 |
| 62 | + [1702624983.368683][5900:5902] CHIP:TOO: [3]: 65531 |
| 63 | + [1702624983.368741][5900:5902] CHIP:TOO: [4]: 65532 |
| 64 | + [1702624983.368798][5900:5902] CHIP:TOO: [5]: 65533 |
| 65 | + [1702624983.369236][5900:5902] CHIP:EM: <<< [E:55491i S:35892 M:103959395 (Ack:145764997)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) |
| 66 | + disabled: true |
| 67 | + |
| 68 | + - label: "Step 4: TH reads the AcceptedCommandList attribute from the DUT" |
| 69 | + verification: | |
| 70 | + ./chip-tool contentappobserver read accepted-command-list 1 1 |
| 71 | + Verify " AcceptedCommandList " consists the list of mandatory commands(0)on the TH(Chip-tool) Log: |
| 72 | + [1702625012.494394][5905:5907] CHIP:DMG: } |
| 73 | + [1702625012.494619][5905:5907] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF9 DataVersion: 2272699478 |
| 74 | + [1702625012.494697][5905:5907] CHIP:TOO: AcceptedCommandList: 1 entries |
| 75 | + [1702625012.494725][5905:5907] CHIP:TOO: [1]: 0 |
| 76 | + [1702625012.494981][5905:5907] CHIP:EM: <<< [E:43961i S:9805 M:165451447 (Ack:180558712)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) |
| 77 | + disabled: true |
| 78 | + |
| 79 | + - label: "Step 5: TH reads the GeneratedCommandList attribute from the DUT" |
| 80 | + verification: | |
| 81 | + ./chip-tool contentappobserver read generated-command-list 1 1 |
| 82 | + Verify " GeneratedCommandList " consists the list of mandatory commands(1) on the TH(Chip-tool) Log: |
| 83 | + [1702625044.200661][5910:5912] CHIP:DMG: } |
| 84 | + [1702625044.201052][5910:5912] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0510 Attribute 0x0000_FFF8 DataVersion: 2272699478 |
| 85 | + [1702625044.201230][5910:5912] CHIP:TOO: GeneratedCommandList: 1 entries |
| 86 | + [1702625044.201298][5910:5912] CHIP:TOO: [1]: 1 |
| 87 | + [1702625044.201724][5910:5912] CHIP:EM: <<< [E:33891i S:27945 M:56965554 (Ack:52573112)] (S) Msg TX to 1:0000000000000001 [EDAD] [UDP:[fe80::e65f:1ff:fe49:ae1a%wlan0]:5640] --- Type 0000:10 (SecureChannel:StandaloneAck) |
| 88 | + [1702625044.201956][5910:5912] CHIP:EM: Flushed pending ack for MessageCounter:52573112 on exchange 33891i |
| 89 | + disabled: true |
| 90 | + |
| 91 | + - label: "Step 6: TH reads the EventList attribute from the DUT" |
| 92 | + verification: | |
| 93 | + ./chip-tool contentappobserver read event-list 1 1 |
| 94 | + disabled: true |
0 commit comments