| # 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: 3.1.1. [TC-BR-1] Basics of Bridging |
| |
| PICS: |
| - MCORE.BRIDGE |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic Information" |
| endpoint: 0 |
| |
| tests: |
| - label: "Precondition" |
| verification: | |
| 1. DUT (bridge) has been commissioned to TH |
| |
| 2. Two or more bridged devices of a supported type connected via non-Matter network/protocol to DUT (bridge). |
| If the bridge supports both actuator and sensor/switch devices, use at least one of each type |
| disabled: true |
| |
| - label: |
| "Read attribute DeviceTypeList of the Descriptor cluster on endpoint 0" |
| PICS: MCORE.BRIDGE |
| verification: | |
| ./chip-tool descriptor read device-type-list 1 0 |
| |
| |
| |
| Verify this attribute contains device type Root Node (Type-22) in TH(chip-tool) Log |
| |
| [1666243894.570786][44943:44948] CHIP:DMG: } |
| [1666243894.572001][44943:44948] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 4030820095 |
| [1666243894.607978][44943:44948] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666243894.608027][44943:44948] CHIP:TOO: [1]: { |
| [1666243894.608071][44943:44948] CHIP:TOO: Type: 22 |
| [1666243894.608096][44943:44948] CHIP:TOO: Revision: 1 |
| [1666243894.608126][44943:44948] CHIP:TOO: } |
| disabled: true |
| |
| - label: "Read attribute PartsList of the Descriptor cluster on endpoint 0" |
| verification: | |
| ./chip-tool descriptor read parts-list 1 0 |
| |
| Verify the endpoints listed in TH(chip-tool) Log |
| |
| [1657002201.045720][3893:3899] CHIP:TOO: Endpoint: 0 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3573910940 |
| [1657002201.045841][3893:3899] CHIP:TOO: parts list: 12 entries |
| [1657002201.045887][3893:3899] CHIP:TOO: [1]: 1 |
| [1657002201.045925][3893:3899] CHIP:TOO: [2]: 3 |
| [1657002201.045963][3893:3899] CHIP:TOO: [3]: 4 |
| [1657002201.046000][3893:3899] CHIP:TOO: [4]: 5 |
| [1657002201.046037][3893:3899] CHIP:TOO: [5]: 6 |
| [1657002201.046073][3893:3899] CHIP:TOO: [6]: 7 |
| [1657002201.046110][3893:3899] CHIP:TOO: [7]: 8 |
| [1657002201.046147][3893:3899] CHIP:TOO: [8]: 9 |
| [1657002201.046184][3893:3899] CHIP:TOO: [9]: 10 |
| [1657002201.046221][3893:3899] CHIP:TOO: [10]: 11 |
| [1657002201.046259][3893:3899] CHIP:TOO: [11]: 12 |
| [1657002201.046296][3893:3899] CHIP:TOO: [12]: 13 |
| disabled: true |
| |
| - label: |
| "For each of the endpoints read in step 1b, read attribute |
| DeviceTypeList of the Descriptor cluster on that endpoint" |
| verification: | |
| Verify which of Those endpoints in The previous step results have a DeviceTypeList containing device type Aggregator (Type- 14) for all The following steps, in TH(chip-tool) |
| |
| ./chip-tool descriptor read device-type-list 1 1 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| 1666244345.296680][44990:44995] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3968445751 |
| [1666244345.296742][44990:44995] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666244345.296800][44990:44995] CHIP:TOO: [1]: { |
| [1666244345.296846][44990:44995] CHIP:TOO: Type: 14 |
| [1666244345.296874][44990:44995] CHIP:TOO: Revision: 1 |
| [1666244345.296904][44990:44995] CHIP:TOO: } |
| |
| ./chip-tool descriptor read device-type-list 1 3 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666244839.544979][45200:45205] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1513076890 |
| [1666244839.545006][45200:45205] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666244839.545019][45200:45205] CHIP:TOO: [1]: { |
| [1666244839.545027][45200:45205] CHIP:TOO: Type: 256 |
| [1666244839.545035][45200:45205] CHIP:TOO: Revision: 1 |
| [1666244839.545042][45200:45205] CHIP:TOO: } |
| [1666244839.545051][45200:45205] CHIP:TOO: [2]: { |
| [1666244839.545058][45200:45205] CHIP:TOO: Type: 19 |
| [1666244839.545066][45200:45205] CHIP:TOO: Revision: 1 |
| [1666244839.545073][45200:45205] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 4 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666244925.833459][45215:45220] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1944707282 |
| [1666244925.833553][45215:45220] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666244925.833599][45215:45220] CHIP:TOO: [1]: { |
| [1666244925.833627][45215:45220] CHIP:TOO: Type: 770 |
| [1666244925.833658][45215:45220] CHIP:TOO: Revision: 1 |
| [1666244925.833686][45215:45220] CHIP:TOO: } |
| [1666244925.833726][45215:45220] CHIP:TOO: [2]: { |
| [1666244925.833752][45215:45220] CHIP:TOO: Type: 19 |
| [1666244925.833781][45215:45220] CHIP:TOO: Revision: 1 |
| [1666244925.833809][45215:45220] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 5 |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666244984.115887][45249:45254] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1760060075 |
| [1666244984.115918][45249:45254] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666244984.115939][45249:45254] CHIP:TOO: [1]: { |
| [1666244984.115954][45249:45254] CHIP:TOO: Type: 770 |
| [1666244984.115963][45249:45254] CHIP:TOO: Revision: 1 |
| [1666244984.115971][45249:45254] CHIP:TOO: } |
| [1666244984.115982][45249:45254] CHIP:TOO: [2]: { |
| [1666244984.115990][45249:45254] CHIP:TOO: Type: 19 |
| [1666244984.115997][45249:45254] CHIP:TOO: Revision: 1 |
| [1666244984.116005][45249:45254] CHIP:TOO: } |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 6 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666246675.944572][45787:45792] CHIP:TOO: Endpoint: 6 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3539120641 |
| [1666246675.944625][45787:45792] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666246675.944679][45787:45792] CHIP:TOO: [1]: { |
| [1666246675.944722][45787:45792] CHIP:TOO: Type: 19 |
| [1666246675.944746][45787:45792] CHIP:TOO: Revision: 1 |
| [1666246675.944768][45787:45792] CHIP:TOO: } |
| |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 7 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666246718.470591][45821:45826] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3285189124 |
| [1666246718.470649][45821:45826] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666246718.470678][45821:45826] CHIP:TOO: [1]: { |
| [1666246718.470697][45821:45826] CHIP:TOO: Type: 770 |
| [1666246718.470715][45821:45826] CHIP:TOO: Revision: 1 |
| [1666246718.470733][45821:45826] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 8 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666246775.067195][45834:45839] CHIP:TOO: Endpoint: 8 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3210151050 |
| [1666246775.067256][45834:45839] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666246775.067297][45834:45839] CHIP:TOO: [1]: { |
| [1666246775.067324][45834:45839] CHIP:TOO: Type: 770 |
| [1666246775.067350][45834:45839] CHIP:TOO: Revision: 1 |
| [1666246775.067375][45834:45839] CHIP:TOO: } |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 9 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666246820.646933][45893:45898] CHIP:TOO: Endpoint: 9 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3716023031 |
| [1666246820.647028][45893:45898] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666246820.647085][45893:45898] CHIP:TOO: [1]: { |
| [1666246820.647147][45893:45898] CHIP:TOO: Type: 17 |
| [1666246820.647186][45893:45898] CHIP:TOO: Revision: 1 |
| [1666246820.647214][45893:45898] CHIP:TOO: } |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 10 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666246866.935280][45904:45909] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 4193039876 |
| [1666246866.935412][45904:45909] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666246866.935484][45904:45909] CHIP:TOO: [1]: { |
| [1666246866.935538][45904:45909] CHIP:TOO: Type: 256 |
| [1666246866.935564][45904:45909] CHIP:TOO: Revision: 1 |
| [1666246866.935587][45904:45909] CHIP:TOO: } |
| [1666246866.935620][45904:45909] CHIP:TOO: [2]: { |
| [1666246866.935644][45904:45909] CHIP:TOO: Type: 19 |
| [1666246866.935668][45904:45909] CHIP:TOO: Revision: 1 |
| [1666246866.935691][45904:45909] CHIP:TOO: } |
| |
| ./chip-tool descriptor read device-type-list 1 11 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666246922.797443][45920:45925] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2632191905 |
| [1666246922.797466][45920:45925] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666246922.797484][45920:45925] CHIP:TOO: [1]: { |
| [1666246922.797497][45920:45925] CHIP:TOO: Type: 256 |
| [1666246922.797504][45920:45925] CHIP:TOO: Revision: 1 |
| [1666246922.797512][45920:45925] CHIP:TOO: } |
| [1666246922.797521][45920:45925] CHIP:TOO: [2]: { |
| [1666246922.797527][45920:45925] CHIP:TOO: Type: 19 |
| [1666246922.797533][45920:45925] CHIP:TOO: Revision: 1 |
| [1666246922.797539][45920:45925] CHIP:TOO: } |
| [1666246922.797580][45920:45925] CHIP:EM: <<< [E:4 |
| |
| |
| ./chip-tool descriptor read device-type-list 1 12 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666246970.442284][45932:45937] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 494395813 |
| [1666246970.442340][45932:45937] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666246970.442386][45932:45937] CHIP:TOO: [1]: { |
| [1666246970.442414][45932:45937] CHIP:TOO: Type: 256 |
| [1666246970.442446][45932:45937] CHIP:TOO: Revision: 1 |
| [1666246970.442474][45932:45937] CHIP:TOO: } |
| [1666246970.442513][45932:45937] CHIP:TOO: [2]: { |
| [1666246970.442541][45932:45937] CHIP:TOO: Type: 19 |
| [1666246970.442570][45932:45937] CHIP:TOO: Revision: 1 |
| [1666246970.442597][45932:45937] CHIP:TOO: } |
| |
| |
| ./chip-tool descriptor read device-type-list 1 13 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666247013.621248][45940:45945] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1009438523 |
| [1666247013.621381][45940:45945] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666247013.621410][45940:45945] CHIP:TOO: [1]: { |
| [1666247013.621426][45940:45945] CHIP:TOO: Type: 256 |
| [1666247013.621442][45940:45945] CHIP:TOO: Revision: 1 |
| [1666247013.621458][45940:45945] CHIP:TOO: } |
| [1666247013.621478][45940:45945] CHIP:TOO: [2]: { |
| [1666247013.621492][45940:45945] CHIP:TOO: Type: 19 |
| [1666247013.621506][45940:45945] CHIP:TOO: Revision: 1 |
| [1666247013.621520][45940:45945] CHIP:TOO: } |
| disabled: true |
| |
| - label: |
| "Read attribute PartsList of the Descriptor cluster on endpoint found |
| in step 1c" |
| PICS: MCORE.BRIDGE |
| verification: | |
| Read attribute PartsList of the Descriptor cluster on endpoint found in step 1c |
| |
| ./chip-tool descriptor read parts-list 1 1 |
| |
| Verify the list contains 11 entries in TH(chip-tool) Log |
| |
| [1657002810.697118][4121:4126] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_001D Attribute 0x0000_0003 DataVersion: 3021853414 |
| [1657002810.697276][4121:4126] CHIP:TOO: parts list: 11 entries |
| [1657002810.697312][4121:4126] CHIP:TOO: [1]: 3 |
| [1657002810.697342][4121:4126] CHIP:TOO: [2]: 4 |
| [1657002810.697370][4121:4126] CHIP:TOO: [3]: 5 |
| [1657002810.697397][4121:4126] CHIP:TOO: [4]: 6 |
| [1657002810.697425][4121:4126] CHIP:TOO: [5]: 7 |
| [1657002810.697453][4121:4126] CHIP:TOO: [6]: 8 |
| [1657002810.697480][4121:4126] CHIP:TOO: [7]: 9 |
| [1657002810.697508][4121:4126] CHIP:TOO: [8]: 10 |
| [1657002810.697536][4121:4126] CHIP:TOO: [9]: 11 |
| [1657002810.697564][4121:4126] CHIP:TOO: [10]: 12 |
| [1657002810.697592][4121:4126] CHIP:TOO: [11]: 13 |
| disabled: true |
| |
| - label: |
| "For each of the endpoints found in this PartsList attribute, read the |
| DeviceTypeList attribute in the Descriptor cluster on such endpoint, |
| and select those endpoints which have (at least) a device type of |
| Bridged Node in their DeviceTypeList" |
| verification: | |
| Verify device type has either Bridged node (0x0013), i.e., Type=19 in their DeviceTypeList |
| |
| Verify in TH(chip-tool) Log |
| ./chip-tool descriptor read device-type-list 1 3 |
| |
| [1666248913.681607][46430:46435] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1513076890 |
| [1666248913.681690][46430:46435] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666248913.681759][46430:46435] CHIP:TOO: [1]: { |
| [1666248913.681816][46430:46435] CHIP:TOO: Type: 256 |
| [1666248913.681852][46430:46435] CHIP:TOO: Revision: 1 |
| [1666248913.681945][46430:46435] CHIP:TOO: } |
| [1666248913.682016][46430:46435] CHIP:TOO: [2]: { |
| [1666248913.682084][46430:46435] CHIP:TOO: Type: 19 |
| [1666248913.682150][46430:46435] CHIP:TOO: Revision: 1 |
| [1666248913.682216][46430:46435] CHIP:TOO: } |
| |
| ./chip-tool descriptor read device-type-list 1 4 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666249581.063940][46547:46552] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1944707282 |
| [1666249581.064029][46547:46552] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666249581.064089][46547:46552] CHIP:TOO: [1]: { |
| [1666249581.064133][46547:46552] CHIP:TOO: Type: 770 |
| [1666249581.064160][46547:46552] CHIP:TOO: Revision: 1 |
| [1666249581.064193][46547:46552] CHIP:TOO: } |
| [1666249581.064238][46547:46552] CHIP:TOO: [2]: { |
| [1666249581.064266][46547:46552] CHIP:TOO: Type: 19 |
| [1666249581.064299][46547:46552] CHIP:TOO: Revision: 1 |
| [1666249581.064329][46547:46552] CHIP:TOO: } |
| |
| |
| ./chip-tool descriptor read device-type-list 1 5 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666249707.579997][46594:46599] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1760060075 |
| [1666249707.580060][46594:46599] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666249707.580110][46594:46599] CHIP:TOO: [1]: { |
| [1666249707.580147][46594:46599] CHIP:TOO: Type: 770 |
| [1666249707.580169][46594:46599] CHIP:TOO: Revision: 1 |
| [1666249707.580190][46594:46599] CHIP:TOO: } |
| [1666249707.580227][46594:46599] CHIP:TOO: [2]: { |
| [1666249707.580254][46594:46599] CHIP:TOO: Type: 19 |
| [1666249707.580281][46594:46599] CHIP:TOO: Revision: 1 |
| [1666249707.580366][46594:46599] CHIP:TOO: } |
| |
| |
| ./chip-tool descriptor read device-type-list 1 6 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| |
| [1666249778.844305][46630:46635] CHIP:TOO: Endpoint: 6 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3539120641 |
| [1666249778.844394][46630:46635] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666249778.844453][46630:46635] CHIP:TOO: [1]: { |
| [1666249778.844499][46630:46635] CHIP:TOO: Type: 19 |
| [1666249778.844532][46630:46635] CHIP:TOO: Revision: 1 |
| [1666249778.844560][46630:46635] CHIP:TOO: } |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 7 |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666249851.031384][46650:46655] CHIP:TOO: Endpoint: 7 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3285189124 |
| [1666249851.031468][46650:46655] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666249851.031525][46650:46655] CHIP:TOO: [1]: { |
| [1666249851.031566][46650:46655] CHIP:TOO: Type: 770 |
| [1666249851.031590][46650:46655] CHIP:TOO: Revision: 1 |
| [1666249851.031613][46650:46655] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 8 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666249888.738349][46686:46691] CHIP:TOO: Endpoint: 8 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3210151050 |
| [1666249888.738375][46686:46691] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666249888.738389][46686:46691] CHIP:TOO: [1]: { |
| [1666249888.738397][46686:46691] CHIP:TOO: Type: 770 |
| [1666249888.738407][46686:46691] CHIP:TOO: Revision: 1 |
| [1666249888.738415][46686:46691] CHIP:TOO: } |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 9 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666249928.585516][46696:46701] CHIP:TOO: Endpoint: 9 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3716023031 |
| [1666249928.585580][46696:46701] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666249928.585625][46696:46701] CHIP:TOO: [1]: { |
| [1666249928.585658][46696:46701] CHIP:TOO: Type: 17 |
| [1666249928.585677][46696:46701] CHIP:TOO: Revision: 1 |
| [1666249928.585694][46696:46701] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 10 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666250003.848251][46707:46712] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 4193039876 |
| [1666250003.848342][46707:46712] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250003.848421][46707:46712] CHIP:TOO: [1]: { |
| [1666250003.848470][46707:46712] CHIP:TOO: Type: 256 |
| [1666250003.848499][46707:46712] CHIP:TOO: Revision: 1 |
| [1666250003.848524][46707:46712] CHIP:TOO: } |
| [1666250003.848559][46707:46712] CHIP:TOO: [2]: { |
| [1666250003.848586][46707:46712] CHIP:TOO: Type: 19 |
| [1666250003.848612][46707:46712] CHIP:TOO: Revision: 1 |
| [1666250003.848635][46707:46712] CHIP:TOO: } |
| |
| ./chip-tool descriptor read device-type-list 1 11 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666250205.808189][46800:46805] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2632191905 |
| [1666250205.808274][46800:46805] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250205.808355][46800:46805] CHIP:TOO: [1]: { |
| [1666250205.808406][46800:46805] CHIP:TOO: Type: 256 |
| [1666250205.808436][46800:46805] CHIP:TOO: Revision: 1 |
| [1666250205.808468][46800:46805] CHIP:TOO: } |
| [1666250205.808509][46800:46805] CHIP:TOO: [2]: { |
| [1666250205.808542][46800:46805] CHIP:TOO: Type: 19 |
| [1666250205.808574][46800:46805] CHIP:TOO: Revision: 1 |
| [1666250205.808603][46800:46805] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 12 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666250398.116886][46821:46826] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 494395813 |
| [1666250398.116974][46821:46826] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250398.117056][46821:46826] CHIP:TOO: [1]: { |
| [1666250398.117107][46821:46826] CHIP:TOO: Type: 256 |
| [1666250398.117133][46821:46826] CHIP:TOO: Revision: 1 |
| [1666250398.117156][46821:46826] CHIP:TOO: } |
| [1666250398.117189][46821:46826] CHIP:TOO: [2]: { |
| [1666250398.117212][46821:46826] CHIP:TOO: Type: 19 |
| [1666250398.117235][46821:46826] CHIP:TOO: Revision: 1 |
| [1666250398.117296][46821:46826] CHIP:TOO: } |
| |
| |
| ./chip-tool descriptor read device-type-list 1 13 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666250472.105194][46833:46838] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1009438523 |
| [1666250472.105364][46833:46838] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250472.105428][46833:46838] CHIP:TOO: [1]: { |
| [1666250472.105472][46833:46838] CHIP:TOO: Type: 256 |
| [1666250472.105498][46833:46838] CHIP:TOO: Revision: 1 |
| [1666250472.105527][46833:46838] CHIP:TOO: } |
| [1666250472.105561][46833:46838] CHIP:TOO: [2]: { |
| [1666250472.105584][46833:46838] CHIP:TOO: Type: 19 |
| [1666250472.105608][46833:46838] CHIP:TOO: Revision: 1 |
| [1666250472.105630][46833:46838] CHIP:TOO: } |
| disabled: true |
| |
| - label: |
| "For each of the endpoints for the bridged devices found in step 2b, |
| perform the tests for Bridged Device Basic Information cluster" |
| PICS: MCORE.BRIDGE |
| verification: | |
| For Bridged Device Basic Information cluster, ref the test plan (https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/cluster/bridged_device_basic_information.adoc) |
| |
| ./chip-tool bridgeddevicebasic read reachable 1 3 |
| |
| Verify reachable attribute is read successfully in TH(chip-tool) Log |
| |
| [1657003614.269096][4564:4569] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0011 DataVersion: 1897994097 |
| [1657003614.269155][4564:4569] CHIP:TOO: Reachable: TRUE |
| |
| ./chip-tool bridgeddevicebasic read node-label 1 4 |
| |
| Verify Node-label is read sucessfully in TH(chip-tool) Log |
| |
| [1657003598.573764][4552:4557] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_0039 Attribute 0x0000_0005 DataVersion: 3722118563 |
| [1657003598.573811][4552:4557] CHIP:TOO: NodeLabel: Switch 1 |
| disabled: true |
| |
| - label: |
| "For each of the endpoints found in step 2b, if a Power Source |
| Configuration cluster is present on this endpoint, perform the tests |
| for this Power Source Configuration cluster plus the tests for the |
| Power Source clusters at the endpoint(s) which this Power Source |
| Configuration cluster refers to" |
| PICS: MCORE.BRIDGE && MCORE.BRIDGE.BatInfo |
| verification: | |
| For Power Source Configuration and Power Source clusters, ref the test plan - Link1: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/bridge.adoc#testplan_PowerSourceConfiguration Link2: https://github.com/CHIP-Specifications/chip-test-plans/blob/master/src/bridge.adoc#testplan_PowerSource |
| |
| None of the endpoints listed in step 2b supports Power Source Configuration cluster and Power Source cluster. |
| |
| If any device lists the PS configuration, then below sample command needs to be executed for all the attributes for the endpoint listed in 2b |
| ./chip-tool powersourceconfiguration read sources 1 0 |
| ./chip-tool powersource read status 1 1 |
| disabled: true |
| |
| - label: |
| "For each of the endpoints found in step 2b, from the DeviceTypeList |
| attribute in their Descriptor cluster, derive the (application) device |
| type(s) of the bridged device" |
| PICS: MCORE.BRIDGE |
| verification: | |
| Verify the device-list attribute has devicetype application e.g., 0x0100 = 256(on/off light),0x0302=770( temperature sensor) |
| |
| ./chip-tool descriptor read device-type-list 1 3 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666250653.988384][46910:46915] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1513076890 |
| [1666250653.988484][46910:46915] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250653.988526][46910:46915] CHIP:TOO: [1]: { |
| [1666250653.988554][46910:46915] CHIP:TOO: Type: 256 |
| [1666250653.988580][46910:46915] CHIP:TOO: Revision: 1 |
| [1666250653.988605][46910:46915] CHIP:TOO: } |
| [1666250653.988643][46910:46915] CHIP:TOO: [2]: { |
| [1666250653.988668][46910:46915] CHIP:TOO: Type: 19 |
| [1666250653.988693][46910:46915] CHIP:TOO: Revision: 1 |
| [1666250653.988715][46910:46915] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 4 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666250817.223402][46942:46947] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1944707282 |
| [1666250817.223467][46942:46947] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250817.223524][46942:46947] CHIP:TOO: [1]: { |
| [1666250817.223544][46942:46947] CHIP:TOO: Type: 770 |
| [1666250817.223563][46942:46947] CHIP:TOO: Revision: 1 |
| [1666250817.223581][46942:46947] CHIP:TOO: } |
| [1666250817.223603][46942:46947] CHIP:TOO: [2]: { |
| [1666250817.223620][46942:46947] CHIP:TOO: Type: 19 |
| [1666250817.223638][46942:46947] CHIP:TOO: Revision: 1 |
| [1666250817.223654][46942:46947] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 5 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666250873.731351][46954:46959] CHIP:TOO: Endpoint: 5 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 1760060075 |
| [1666250873.731439][46954:46959] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666250873.731482][46954:46959] CHIP:TOO: [1]: { |
| [1666250873.731510][46954:46959] CHIP:TOO: Type: 770 |
| [1666250873.731539][46954:46959] CHIP:TOO: Revision: 1 |
| [1666250873.731565][46954:46959] CHIP:TOO: } |
| [1666250873.731598][46954:46959] CHIP:TOO: [2]: { |
| [1666250873.731623][46954:46959] CHIP:TOO: Type: 19 |
| [1666250873.731647][46954:46959] CHIP:TOO: Revision: 1 |
| [1666250873.731672][46954:46959] CHIP:TOO: } |
| |
| |
| ./chip-tool descriptor read device-type-list 1 6 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666777557.437994][150164:150169] CHIP:TOO: Endpoint: 6 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 3270810303 |
| [1666777557.438067][150164:150169] CHIP:TOO: DeviceTypeList: 1 entries |
| [1666777557.438105][150164:150169] CHIP:TOO: [1]: { |
| [1666777557.438156][150164:150169] CHIP:TOO: Type: 19 |
| [1666777557.438188][150164:150169] CHIP:TOO: Revision: 1 |
| [1666777557.438209][150164:150169] CHIP:TOO: } |
| |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 10 |
| |
| |
| Verify in TH(chip-tool) Log |
| [1666777615.234902][150178:150183] CHIP:TOO: Endpoint: 10 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2077823451 |
| [1666777615.235002][150178:150183] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666777615.235078][150178:150183] CHIP:TOO: [1]: { |
| [1666777615.235114][150178:150183] CHIP:TOO: Type: 256 |
| [1666777615.235149][150178:150183] CHIP:TOO: Revision: 1 |
| [1666777615.235176][150178:150183] CHIP:TOO: } |
| [1666777615.235217][150178:150183] CHIP:TOO: [2]: { |
| [1666777615.235245][150178:150183] CHIP:TOO: Type: 19 |
| [1666777615.235273][150178:150183] CHIP:TOO: Revision: 1 |
| [1666777615.235307][150178:150183] CHIP:TOO: } |
| |
| |
| |
| ./chip-tool descriptor read device-type-list 1 11 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666777671.688839][150216:150221] CHIP:TOO: Endpoint: 11 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2814988377 |
| [1666777671.688927][150216:150221] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666777671.689011][150216:150221] CHIP:TOO: [1]: { |
| [1666777671.689060][150216:150221] CHIP:TOO: Type: 256 |
| [1666777671.689089][150216:150221] CHIP:TOO: Revision: 1 |
| [1666777671.689133][150216:150221] CHIP:TOO: } |
| [1666777671.689164][150216:150221] CHIP:TOO: [2]: { |
| [1666777671.689197][150216:150221] CHIP:TOO: Type: 19 |
| [1666777671.689226][150216:150221] CHIP:TOO: Revision: 1 |
| [1666777671.689249][150216:150221] CHIP:TOO: } |
| |
| ./chip-tool descriptor read device-type-list 1 12 |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666777714.615379][150259:150264] CHIP:TOO: Endpoint: 12 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 312494071 |
| [1666777714.615443][150259:150264] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666777714.615483][150259:150264] CHIP:TOO: [1]: { |
| [1666777714.615503][150259:150264] CHIP:TOO: Type: 256 |
| [1666777714.615527][150259:150264] CHIP:TOO: Revision: 1 |
| [1666777714.615545][150259:150264] CHIP:TOO: } |
| [1666777714.615570][150259:150264] CHIP:TOO: [2]: { |
| [1666777714.615588][150259:150264] CHIP:TOO: Type: 19 |
| [1666777714.615606][150259:150264] CHIP:TOO: Revision: 1 |
| [1666777714.615622][150259:150264] CHIP:TOO: } |
| |
| |
| ./chip-tool descriptor read device-type-list 1 13 |
| |
| |
| |
| Verify in TH(chip-tool) Log |
| |
| [1666777780.917239][150295:150300] CHIP:TOO: Endpoint: 13 Cluster: 0x0000_001D Attribute 0x0000_0000 DataVersion: 2475792486 |
| [1666777780.917356][150295:150300] CHIP:TOO: DeviceTypeList: 2 entries |
| [1666777780.917400][150295:150300] CHIP:TOO: [1]: { |
| [1666777780.917428][150295:150300] CHIP:TOO: Type: 256 |
| [1666777780.917455][150295:150300] CHIP:TOO: Revision: 1 |
| [1666777780.917480][150295:150300] CHIP:TOO: } |
| [1666777780.917513][150295:150300] CHIP:TOO: [2]: { |
| [1666777780.917538][150295:150300] CHIP:TOO: Type: 19 |
| [1666777780.917563][150295:150300] CHIP:TOO: Revision: 1 |
| [1666777780.917585][150295:150300] CHIP:TOO: } |
| disabled: true |
| |
| - label: |
| "From the list acquired in step 5, choose one of the bridged devices |
| which is an actuator (e.g. light, window covering)" |
| PICS: MCORE.BRIDGE |
| verification: | |
| From Step 5 output , choose one of the device type and identify the device from the device(https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/device_types/section_Application-Device-Types.adoc) library. |
| For Ex: on-off cluster has been taken as example to run tfurther steps |
| disabled: true |
| |
| - label: |
| "Read the state of this bridged device (through Matter), e.g. on/off, |
| brightness" |
| verification: | |
| ./chip-tool onoff read on-off 1 3 |
| |
| Verify the state of this bridge device values match the actual state of the bridged device in TH(Chip-tool) log |
| |
| [1657004454.213279][4792:4798] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3808303315 |
| [1657004454.213319][4792:4798] CHIP:TOO: OnOff: FALSE |
| disabled: true |
| |
| - label: |
| "Change the state of this bridged device (through Matter), e.g. change |
| its brightness or toggle its on/off state" |
| verification: | |
| ./chip-tool onoff toggle 1 3 |
| |
| |
| Verify state change response of the bridged device in TH(chip-tool) Log |
| |
| [1657522278.539407][16698:16703] CHIP:DMG: { |
| [1657522278.539447][16698:16703] CHIP:DMG: suppressResponse = false, |
| [1657522278.539495][16698:16703] CHIP:DMG: InvokeResponseIBs = |
| [1657522278.539545][16698:16703] CHIP:DMG: [ |
| [1657522278.539585][16698:16703] CHIP:DMG: InvokeResponseIB = |
| [1657522278.539641][16698:16703] CHIP:DMG: { |
| [1657522278.539688][16698:16703] CHIP:DMG: CommandStatusIB = |
| [1657522278.539746][16698:16703] CHIP:DMG: { |
| [1657522278.539795][16698:16703] CHIP:DMG: CommandPathIB = |
| [1657522278.539856][16698:16703] CHIP:DMG: { |
| [1657522278.539912][16698:16703] CHIP:DMG: EndpointId = 0x3, |
| [1657522278.539977][16698:16703] CHIP:DMG: ClusterId = 0x6, |
| [1657522278.540039][16698:16703] CHIP:DMG: CommandId = 0x2, |
| [1657522278.540097][16698:16703] CHIP:DMG: }, |
| [1657522278.540162][16698:16703] CHIP:DMG: |
| [1657522278.540214][16698:16703] CHIP:DMG: StatusIB = |
| [1657522278.540276][16698:16703] CHIP:DMG: { |
| [1657522278.540332][16698:16703] CHIP:DMG: status = 0x00 (SUCCESS), |
| [1657522278.540386][16698:16703] CHIP:DMG: }, |
| [1657522278.540446][16698:16703] CHIP:DMG: |
| [1657522278.540499][16698:16703] CHIP:DMG: }, |
| [1657522278.540560][16698:16703] CHIP:DMG: |
| [1657522278.540605][16698:16703] CHIP:DMG: }, |
| [1657522278.540658][16698:16703] CHIP:DMG: |
| [1657522278.540696][16698:16703] CHIP:DMG: ], |
| [1657522278.540744][16698:16703] CHIP:DMG: |
| [1657522278.540783][16698:16703] CHIP:DMG: InteractionModelRevision = 1 |
| [1657522278.540825][16698:16703] CHIP:DMG: }, |
| [1657522278.540916][16698:16703] CHIP:DMG: Received Command Response Status for Endpoint=3 Cluster=0x0000_0006 Command=0x0000_0002 Status=0x0 |
| [1657522278.540981][16698:16703] CHIP:DMG: ICR moving to [AwaitingDe] |
| disabled: true |
| |
| - label: "Read the state of this bridged device (through Matter), as in 6b" |
| verification: | |
| ./chip-tool onoff read on-off 1 3 |
| |
| Verify the value of onoff matches the value of onoff in step 6c in TH(chip-tool) Log |
| |
| [1657004565.254591][4804:4809] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0006 Attribute 0x0000_0000 DataVersion: 3808303316 |
| [1657004565.254635][4804:4809] CHIP:TOO: OnOff: TRUE |
| disabled: true |
| |
| - label: |
| "From the list acquired in step 5, choose one of the bridged devices |
| which is a sensor (e.g. occupancy sensor, contact sensor, temperature |
| sensor)or switch" |
| PICS: MCORE.BRIDGE |
| verification: | |
| From Step 5 output , choose one of the sensor device type and identify the device from the device library |
| For Ex: temperature sensor, being added to bridge-app as example to run further steps |
| disabled: true |
| |
| - label: |
| "Read the state of this bridged device (through Matter), e.g. |
| occupancy status, contact status, current temperature" |
| verification: | |
| ./chip-tool temperaturemeasurement read measured-value 1 4 |
| Verify the state of the bridged device matches the actual physical state of the sensor |
| [1659351487.005743][12201:12207] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_0402 Attribute 0x0000_0000 DataVersion: 2406690152 |
| [1659351487.005831][12201:12207] CHIP:TOO: MeasuredValue: 100 |
| [1659351487.005924][12201:12207] CHIP:EM: Sending Standalone Ack for MessageCounter:236763897 on exchange 8128i |
| disabled: true |
| |
| - label: |
| "Change the state of this sensor (e.g. cover the occupancy sensor, |
| open the contact sensor, heat the temperature sensor)" |
| verification: | |
| Press a key "t" on bridge-app to change the simulated temperature |
| |
| [1659351537.115828][14237:14242] CHIP:DL: TempSensorDevice[TempSensor 1]: New measurement="200" |
| [1659351537.115987][14237:14242] CHIP:DL: TempSensorDevice[TempSensor 2]: New measurement="200" |
| [1659351537.116097][14237:14242] CHIP:DL: TempSensorDevice[Composed TempSensor 1]: New measurement="200" |
| [1659351537.116158][14237:14237] CHIP:DMG: Endpoint 4, Cluster 0x0000_0402 update version to 8f732d69 |
| [1659351537.116300][14237:14237] CHIP:DMG: Endpoint 5, Cluster 0x0000_0402 update version to 36be37c5 |
| [1659351537.116393][14237:14237] CHIP:DMG: Endpoint 7, Cluster 0x0000_0402 update version to 2cf2064d |
| [1659351537.116179][14237:14242] CHIP:DL: TempSensorDevice[Composed TempSensor 2]: New measurement="200" |
| disabled: true |
| |
| - label: "Read the state of this bridged device again, as in 7b" |
| verification: | |
| ./chip-tool temperaturemeasurement read measured-value 1 4 |
| |
| Verify that the state has changed and expect to get a different value in TH(Chip-tool) than step 7b |
| [1659351542.393349][12212:12217] CHIP:TOO: Endpoint: 4 Cluster: 0x0000_0402 Attribute 0x0000_0000 DataVersion: 2406690153 |
| [1659351542.393429][12212:12217] CHIP:TOO: MeasuredValue: 200 |
| [1659351542.393552][12212:12217] CHIP:EM: Sending Standalone Ack for MessageCounter:120981971 on exchange 25924i |
| disabled: true |