| # 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: 127.2.2. [TC-ACL-2.2] Cluster endpoint |
| |
| PICS: |
| - ACL.S |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Access Control" |
| endpoint: 0 |
| |
| tests: |
| - label: "Wait for the commissioned device to be retrieved" |
| cluster: "DelayCommands" |
| command: "WaitForCommissionee" |
| arguments: |
| values: |
| - name: "nodeId" |
| value: nodeId |
| |
| - label: |
| "TH1 reads DUT Descriptor cluster ServerList attribute from Endpoint 0" |
| command: "readAttribute" |
| cluster: "Descriptor" |
| attribute: "ServerList" |
| response: |
| constraints: |
| type: list |
| contains: [31] |
| |
| #Endpoint configuration is not supported in YAML |
| - label: |
| "TH1 reads DUT Descriptor cluster ServerList attribute from every |
| Endpoint except 0" |
| verification: | |
| ./chip-tool descriptor read server-list 1 1 |
| |
| |
| On TH1(Chiptool) ,Verify the serverList attribute of Descriptor Cluster without an element of 31( 0x001F) |
| |
| [1676442452.204523][8902:8904] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0001 DataVersion: 1718800852 |
| [1676442452.204637][8902:8904] CHIP:TOO: ServerList: 45 entries |
| [1676442452.204655][8902:8904] CHIP:TOO: [1]: 3 |
| [1676442452.204670][8902:8904] CHIP:TOO: [2]: 4 |
| [1676442452.204685][8902:8904] CHIP:TOO: [3]: 5 |
| [1676442452.204700][8902:8904] CHIP:TOO: [4]: 6 |
| [1676442452.204715][8902:8904] CHIP:TOO: [5]: 7 |
| [1676442452.204729][8902:8904] CHIP:TOO: [6]: 8 |
| [1676442452.204744][8902:8904] CHIP:TOO: [7]: 15 |
| [1676442452.204759][8902:8904] CHIP:TOO: [8]: 29 |
| [1676442452.204774][8902:8904] CHIP:TOO: [9]: 30 |
| [1676442452.204789][8902:8904] CHIP:TOO: [10]: 37 |
| [1676442452.204804][8902:8904] CHIP:TOO: [11]: 47 |
| [1676442452.204820][8902:8904] CHIP:TOO: [12]: 59 |
| [1676442452.204835][8902:8904] CHIP:TOO: [13]: 64 |
| [1676442452.204849][8902:8904] CHIP:TOO: [14]: 65 |
| [1676442452.204864][8902:8904] CHIP:TOO: [15]: 69 |
| [1676442452.204879][8902:8904] CHIP:TOO: [16]: 80 |
| [1676442452.204894][8902:8904] CHIP:TOO: [17]: 257 |
| [1676442452.204909][8902:8904] CHIP:TOO: [18]: 258 |
| [1676442452.204923][8902:8904] CHIP:TOO: [19]: 259 |
| [1676442452.204938][8902:8904] CHIP:TOO: [20]: 512 |
| [1676442452.204953][8902:8904] CHIP:TOO: [21]: 513 |
| [1676442452.204968][8902:8904] CHIP:TOO: [22]: 514 |
| [1676442452.204983][8902:8904] CHIP:TOO: [23]: 516 |
| [1676442452.204998][8902:8904] CHIP:TOO: [24]: 768 |
| [1676442452.205013][8902:8904] CHIP:TOO: [25]: 769 |
| [1676442452.205028][8902:8904] CHIP:TOO: [26]: 1024 |
| [1676442452.205043][8902:8904] CHIP:TOO: [27]: 1026 |
| [1676442452.205058][8902:8904] CHIP:TOO: [28]: 1027 |
| [1676442452.205072][8902:8904] CHIP:TOO: [29]: 1028 |
| [1676442452.205088][8902:8904] CHIP:TOO: [30]: 1029 |
| [1676442452.205103][8902:8904] CHIP:TOO: [31]: 1030 |
| [1676442452.205117][8902:8904] CHIP:TOO: [32]: 1283 |
| [1676442452.205133][8902:8904] CHIP:TOO: [33]: 1284 |
| [1676442452.205148][8902:8904] CHIP:TOO: [34]: 1285 |
| [1676442452.205168][8902:8904] CHIP:TOO: [35]: 1286 |
| [1676442452.205185][8902:8904] CHIP:TOO: [36]: 1287 |
| [1676442452.205199][8902:8904] CHIP:TOO: [37]: 1288 |
| [1676442452.205215][8902:8904] CHIP:TOO: [38]: 1289 |
| [1676442452.205230][8902:8904] CHIP:TOO: [39]: 1290 |
| [1676442452.205245][8902:8904] CHIP:TOO: [40]: 1291 |
| [1676442452.205260][8902:8904] CHIP:TOO: [41]: 1292 |
| [1676442452.205275][8902:8904] CHIP:TOO: [42]: 1293 |
| [1676442452.205290][8902:8904] CHIP:TOO: [43]: 1294 |
| [1676442452.205319][8902:8904] CHIP:TOO: [44]: 2820 |
| [1676442452.205331][8902:8904] CHIP:TOO: [45]: 4294048773 |
| [1676442452.205454][8902:8904] CHIP:EM: <<< [E:56665i M:248848283 (Ack:9298405)] (S) Msg TX to 1:00000000 |
| cluster: "LogCommands" |
| command: "UserPrompt" |
| PICS: PICS_USER_PROMPT |
| arguments: |
| values: |
| - name: "message" |
| value: "Factory Reset the DUT and enter 'y' after success" |
| - name: "expectedValue" |
| value: "y" |