| # 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: 50.1.1. [TC-DGTHREAD-1.1] Global Attributes [DUT-Server] |
| |
| PICS: |
| - DGTHREAD.S |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Commission DUT to TH" |
| verification: | |
| |
| disabled: true |
| |
| - label: "TH reads the ClusterRevision from DUT" |
| verification: | |
| ./chip-tool threadnetworkdiagnostics read cluster-revision 54 0 |
| |
| Verify ClusterRevision: 1 on the TH Log: |
| |
| [1649747941.607337][9541:9546] CHIP:DMG: SuppressResponse = true, |
| [1649747941.607399][9541:9546] CHIP:DMG: InteractionModelRevision = 1 |
| [1649747941.607455][9541:9546] CHIP:DMG: } |
| [1649747941.607752][9541:9546] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFFD DataVersion: 1406212801 |
| [1649747941.607906][9541:9546] CHIP:TOO: ClusterRevision: 1 |
| disabled: true |
| |
| - label: "TH reads the FeatureMap from DUT" |
| verification: | |
| ./chip-tool threadnetworkdiagnostics read feature-map 54 0 |
| |
| Verify FeatureMap: 15 on the TH Log: |
| |
| [1649747973.385016][9548:9553] CHIP:DMG: SuppressResponse = true, |
| [1649747973.385080][9548:9553] CHIP:DMG: InteractionModelRevision = 1 |
| [1649747973.385138][9548:9553] CHIP:DMG: } |
| [1649747973.385437][9548:9553] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFFC DataVersion: 1406212801 |
| [1649747973.385572][9548:9553] CHIP:TOO: FeatureMap: 15 |
| disabled: true |
| |
| - label: "TH reads AttributeList from DUT" |
| verification: | |
| ./chip-tool threadnetworkdiagnostics read attribute-list 54 0 |
| |
| Verify AttributeList on the TH Log: |
| |
| [1649748119.656589][9559:9564] CHIP:DMG: SuppressResponse = true, |
| [1649748119.656616][9559:9564] CHIP:DMG: InteractionModelRevision = 1 |
| [1649748119.656639][9559:9564] CHIP:DMG: } |
| [1649748119.656908][9559:9564] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFFB DataVersion: 1406212801 |
| [1649748119.657030][9559:9564] CHIP:TOO: AttributeList: 68 entries |
| [1649748119.657064][9559:9564] CHIP:TOO: [1]: 0 |
| [1649748119.657089][9559:9564] CHIP:TOO: [2]: 1 |
| [1649748119.657114][9559:9564] CHIP:TOO: [3]: 2 |
| [1649748119.657139][9559:9564] CHIP:TOO: [4]: 3 |
| [1649748119.657163][9559:9564] CHIP:TOO: [5]: 4 |
| [1649748119.657187][9559:9564] CHIP:TOO: [6]: 5 |
| [1649748119.657211][9559:9564] CHIP:TOO: [7]: 6 |
| [1649748119.657235][9559:9564] CHIP:TOO: [8]: 7 |
| [1649748119.657259][9559:9564] CHIP:TOO: [9]: 8 |
| [1649748119.657283][9559:9564] CHIP:TOO: [10]: 9 |
| [1649748119.657308][9559:9564] CHIP:TOO: [11]: 10 |
| [1649748119.657333][9559:9564] CHIP:TOO: [12]: 11 |
| [1649748119.657357][9559:9564] CHIP:TOO: [13]: 12 |
| [1649748119.657381][9559:9564] CHIP:TOO: [14]: 13 |
| [1649748119.657405][9559:9564] CHIP:TOO: [15]: 14 |
| [1649748119.657429][9559:9564] CHIP:TOO: [16]: 15 |
| [1649748119.657453][9559:9564] CHIP:TOO: [17]: 16 |
| [1649748119.657477][9559:9564] CHIP:TOO: [18]: 17 |
| [1649748119.657502][9559:9564] CHIP:TOO: [19]: 18 |
| [1649748119.657526][9559:9564] CHIP:TOO: [20]: 19 |
| [1649748119.657550][9559:9564] CHIP:TOO: [21]: 20 |
| [1649748119.657575][9559:9564] CHIP:TOO: [22]: 21 |
| [1649748119.657599][9559:9564] CHIP:TOO: [23]: 22 |
| [1649748119.657623][9559:9564] CHIP:TOO: [24]: 23 |
| [1649748119.657647][9559:9564] CHIP:TOO: [25]: 24 |
| [1649748119.657671][9559:9564] CHIP:TOO: [26]: 25 |
| [1649748119.657695][9559:9564] CHIP:TOO: [27]: 26 |
| [1649748119.657719][9559:9564] CHIP:TOO: [28]: 27 |
| [1649748119.657744][9559:9564] CHIP:TOO: [29]: 28 |
| [1649748119.657768][9559:9564] CHIP:TOO: [30]: 29 |
| [1649748119.657792][9559:9564] CHIP:TOO: [31]: 30 |
| [1649748119.657816][9559:9564] CHIP:TOO: [32]: 31 |
| [1649748119.657840][9559:9564] CHIP:TOO: [33]: 32 |
| [1649748119.657864][9559:9564] CHIP:TOO: [34]: 33 |
| [1649748119.657888][9559:9564] CHIP:TOO: [35]: 34 |
| [1649748119.657912][9559:9564] CHIP:TOO: [36]: 35 |
| [1649748119.657970][9559:9564] CHIP:TOO: [37]: 36 |
| [1649748119.657996][9559:9564] CHIP:TOO: [38]: 37 |
| [1649748119.658020][9559:9564] CHIP:TOO: [39]: 38 |
| [1649748119.658044][9559:9564] CHIP:TOO: [40]: 39 |
| [1649748119.658068][9559:9564] CHIP:TOO: [41]: 40 |
| [1649748119.658093][9559:9564] CHIP:TOO: [42]: 41 |
| [1649748119.658117][9559:9564] CHIP:TOO: [43]: 42 |
| [1649748119.658141][9559:9564] CHIP:TOO: [44]: 43 |
| [1649748119.658165][9559:9564] CHIP:TOO: [45]: 44 |
| [1649748119.658189][9559:9564] CHIP:TOO: [46]: 45 |
| [1649748119.658213][9559:9564] CHIP:TOO: [47]: 46 |
| [1649748119.658237][9559:9564] CHIP:TOO: [48]: 47 |
| [1649748119.658261][9559:9564] CHIP:TOO: [49]: 48 |
| [1649748119.658285][9559:9564] CHIP:TOO: [50]: 49 |
| [1649748119.658310][9559:9564] CHIP:TOO: [51]: 50 |
| [1649748119.658334][9559:9564] CHIP:TOO: [52]: 51 |
| [1649748119.658358][9559:9564] CHIP:TOO: [53]: 52 |
| [1649748119.658382][9559:9564] CHIP:TOO: [54]: 53 |
| [1649748119.658406][9559:9564] CHIP:TOO: [55]: 54 |
| [1649748119.658431][9559:9564] CHIP:TOO: [56]: 55 |
| [1649748119.658455][9559:9564] CHIP:TOO: [57]: 56 |
| [1649748119.658479][9559:9564] CHIP:TOO: [58]: 57 |
| [1649748119.658503][9559:9564] CHIP:TOO: [59]: 58 |
| [1649748119.658527][9559:9564] CHIP:TOO: [60]: 59 |
| [1649748119.658551][9559:9564] CHIP:TOO: [61]: 60 |
| [1649748119.658575][9559:9564] CHIP:TOO: [62]: 61 |
| [1649748119.658599][9559:9564] CHIP:TOO: [63]: 62 |
| [1649748119.658623][9559:9564] CHIP:TOO: [64]: 65528 |
| [1649748119.658648][9559:9564] CHIP:TOO: [65]: 65529 |
| [1649748119.658673][9559:9564] CHIP:TOO: [66]: 65531 |
| [1649748119.658697][9559:9564] CHIP:TOO: [67]: 65532 |
| [1649748119.658722][9559:9564] CHIP:TOO: [68]: 65533 |
| disabled: true |
| |
| - label: "TH reads EventList from DUT" |
| verification: | |
| Event List is not supported by CHIP Tool |
| disabled: true |
| |
| - label: "TH reads AcceptedCommandList from DUT" |
| verification: | |
| ./chip-tool threadnetworkdiagnostics read accepted-command-list 54 0 |
| |
| Verify AcceptedCommandList: 1 entries on the TH Log: |
| |
| [1649748231.835572][9579:9584] CHIP:DMG: SuppressResponse = true, |
| [1649748231.835633][9579:9584] CHIP:DMG: InteractionModelRevision = 1 |
| [1649748231.835690][9579:9584] CHIP:DMG: } |
| [1649748231.836192][9579:9584] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFF9 DataVersion: 1406212801 |
| [1649748231.836344][9579:9584] CHIP:TOO: AcceptedCommandList: 1 entries |
| [1649748231.836420][9579:9584] CHIP:TOO: [1]: 0 |
| disabled: true |
| |
| - label: "TH reads GeneratedCommandList from DUT" |
| verification: | |
| ./chip-tool threadnetworkdiagnostics read generated-command-list 54 0 |
| |
| Verify GeneratedCommandList: 0 entries on the TH Log: |
| |
| [1649748201.118100][9570:9575] CHIP:DMG: SuppressResponse = true, |
| [1649748201.118163][9570:9575] CHIP:DMG: InteractionModelRevision = 1 |
| [1649748201.118221][9570:9575] CHIP:DMG: } |
| [1649748201.118561][9570:9575] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_0035 Attribute 0x0000_FFF8 DataVersion: 1406212801 |
| [1649748201.118707][9570:9575] CHIP:TOO: GeneratedCommandList: 0 entries |
| disabled: true |