| # 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.2.1. [TC-BRBINFO-2.1] Attributes [DUT-Server] |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "TH reads VendorName from the DUT." |
| PICS: BRBINFO.S.A0001 |
| verification: | |
| ./chip-tool bridgeddevicebasic read vendor-name 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes VendorName as sample" |
| PICS: BRBINFO.S.A0001 |
| verification: | |
| ./chip-tool bridgeddevicebasic write vendor-name sample 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads VendorName" |
| PICS: BRBINFO.S.A0001 |
| verification: | |
| ./chip-tool bridgeddevicebasic read vendor-name 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads VendorID from the DUT." |
| PICS: BRBINFO.S.A0002 |
| verification: | |
| ./chip-tool bridgeddevicebasic read vendor-id 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes VendorID as 0x0011" |
| PICS: BRBINFO.S.A0002 |
| verification: | |
| ./chip-tool bridgeddevicebasic write vendor-name 0x0011 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads VendorID" |
| PICS: BRBINFO.S.A0002 |
| verification: | |
| ./chip-tool bridgeddevicebasic read vendor-name 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ProductName from the DUT." |
| PICS: BRBINFO.S.A0003 |
| verification: | |
| ./chip-tool bridgeddevicebasic read product-name 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes ProductName as newproduct" |
| PICS: BRBINFO.S.A0003 |
| verification: | |
| ./chip-tool bridgeddevicebasic write vendor-name newproduct 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ProductName" |
| PICS: BRBINFO.S.A0003 |
| verification: | |
| ./chip-tool bridgeddevicebasic read product-name 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads NodeLabel from the DUT" |
| PICS: BRBINFO.S.A0005 |
| verification: | |
| ./chip-tool bridgeddevicebasic read node-label 1 3 |
| |
| Verify the value of node-label is type of string and contains length between 0 and 32 in TH Log: |
| |
| [1657696463.081741][15476:15481] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0005 DataVersion: 2577979325 |
| [1657696463.081791][15476:15481] CHIP:TOO: NodeLabel: Light 1 |
| disabled: true |
| |
| - label: "TH writes newnode to NodeLabel" |
| PICS: BRBINFO.S.A0005 |
| verification: | |
| ./chip-tool bridgeddevicebasic write node-label newnode 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads NodeLabel" |
| PICS: BRBINFO.S.A0005 |
| verification: | |
| ./chip-tool bridgeddevicebasic read node-label 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads HardwareVersion from the DUT." |
| PICS: BRBINFO.S.A0007 |
| verification: | |
| ./chip-tool bridgeddevicebasic read hardware-version 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes HardwareVersion as 0x4531" |
| PICS: BRBINFO.S.A0007 |
| verification: | |
| ./chip-tool bridgeddevicebasic write hardware-version-string 0x4531 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads HardwareVersion" |
| PICS: BRBINFO.S.A0007 |
| verification: | |
| ./chip-tool bridgeddevicebasic read hardware-version 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads HardwareVersionString from the DUT." |
| PICS: BRBINFO.S.A0008 |
| verification: | |
| ./chip-tool bridgeddevicebasic read hardware-version-string 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes HardwareVersionString as newhardwareversion" |
| PICS: BRBINFO.S.A0008 |
| verification: | |
| ./chip-tool bridgeddevicebasic write hardware-version-string newhardwareversion 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads HardwareVersionString" |
| PICS: BRBINFO.S.A0008 |
| verification: | |
| ./chip-tool bridgeddevicebasic read hardware-version-string 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads SoftwareVersion from the DUT." |
| PICS: BRBINFO.S.A0009 |
| verification: | |
| ./chip-tool bridgeddevicebasic read software-version 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes SoftwareVersion as 0x8213" |
| PICS: BRBINFO.S.A0009 |
| verification: | |
| ./chip-tool bridgeddevicebasic write software-version 0x8213 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads SoftwareVersion" |
| PICS: BRBINFO.S.A0009 |
| verification: | |
| ./chip-tool bridgeddevicebasic read software-version 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads SoftwareVersionString from the DUT." |
| PICS: BRBINFO.S.A000a |
| verification: | |
| ./chip-tool bridgeddevicebasic read software-version-string 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes SoftwareVersionString as 1.0" |
| PICS: BRBINFO.S.A000a |
| verification: | |
| ./chip-tool bridgeddevicebasic write software-version 1.0 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads SoftwareVersionString" |
| PICS: BRBINFO.S.A000a |
| verification: | |
| ./chip-tool bridgeddevicebasic read software-version-string 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ManufacturingDate from the DUT." |
| PICS: BRBINFO.S.A000b |
| verification: | |
| ./chip-tool bridgeddevicebasic read manufacturing-date 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes ManufacturingDate as 20210814789452IN" |
| PICS: BRBINFO.S.A000b |
| verification: | |
| ./chip-tool bridgeddevicebasic write manufacturing-date 20210814789452IN 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ManufacturingDate" |
| PICS: BRBINFO.S.A000b |
| verification: | |
| ./chip-tool bridgeddevicebasic read manufacturing-date 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads PartNumber from the DUT." |
| PICS: BRBINFO.S.A000c |
| verification: | |
| ./chip-tool bridgeddevicebasic read part-number 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes PartNumber as newpart" |
| PICS: BRBINFO.S.A000c |
| verification: | |
| ./chip-tool bridgeddevicebasic write part-number newpart 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads PartNumber" |
| PICS: BRBINFO.S.A000c |
| verification: | |
| ./chip-tool bridgeddevicebasic read part-number 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ProductURL from the DUT." |
| PICS: BRBINFO.S.A000d |
| verification: | |
| ./chip-tool bridgeddevicebasic read product-url 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes ProductURL as https://www.example.com" |
| PICS: BRBINFO.S.A000d |
| verification: | |
| ./chip-tool bridgeddevicebasic write product-url https://www.example.com 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ProductURL" |
| PICS: BRBINFO.S.A000d |
| verification: | |
| ./chip-tool bridgeddevicebasic read product-url 1 3 |
| |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ProductLabel from the DUT." |
| PICS: BRBINFO.S.A000e |
| verification: | |
| ./chip-tool bridgeddevicebasic read product-label 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes ProductLabel as newproductlabel" |
| PICS: BRBINFO.S.A000e |
| verification: | |
| ./chip-tool bridgeddevicebasic write product-label newproductlabel 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads ProductLabel" |
| PICS: BRBINFO.S.A000e |
| verification: | |
| ./chip-tool bridgeddevicebasic read product-label 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads SerialNumber from the DUT." |
| PICS: BRBINFO.S.A000f |
| verification: | |
| ./chip-tool bridgeddevicebasic read serial-number 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes SerialNumber_test as newserialnumber" |
| PICS: BRBINFO.S.A000f |
| verification: | |
| ./chip-tool bridgeddevicebasic write serial-number newserialnumber 1 3 |
| |
| |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads SerialNumber" |
| PICS: BRBINFO.S.A000f |
| verification: | |
| ./chip-tool bridgeddevicebasic read serial-number 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads Reachable from the DUT." |
| PICS: BRBINFO.S.A0011 |
| verification: | |
| ./chip-tool bridgeddevicebasic read reachable 1 3 |
| |
| Verify value of reachable is type of bool and its true in TH Log: |
| |
| [1659012746.234251][8169:8174] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0011 DataVersion: 1363291551 |
| [1659012746.234309][8169:8174] CHIP:TOO: Reachable: TRUE |
| [1659012746.234420][8169:8174] CHIP:EM: Sending Standalone Ack for MessageCounter:92645971 on exchange 389i |
| disabled: true |
| |
| - label: |
| "TH sends Write request message to DUT to change value of Reachable to |
| false." |
| PICS: BRBINFO.S.A0011 |
| verification: | |
| ./chip-tool bridgeddevicebasic write-by-id 0x0005 ‘“false”’ 1 0 |
| |
| On TH verify that, TH receives UNSUPPORTED_WRITE response as status |
| [1656496372.884955][2340:2345] CHIP:DMG: } |
| [1656496372.885085][2340:2345] CHIP:DMG: WriteClient moving to [AwaitingDe] |
| [1656496372.885148][2340:2345] CHIP:TOO: Response Failure: IM Error 0x00000588: General error: 0x88 (UNSUPPORTED_WRITE) |
| [1656496372.885242][2340:2345] CHIP:EM: Sending Standalone Ack for MessageCounter:201795946 on exchange 27637ihe attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads Reachable from the DUT." |
| PICS: BRBINFO.S.A0011 |
| verification: | |
| ./chip-tool bridgeddevicebasic read reachable 1 3 |
| On TH verify that the value of reachable is type is same as 51 |
| |
| [1659012746.234251][8169:8174] CHIP:TOO: Endpoint: 3 Cluster: 0x0000_0039 Attribute 0x0000_0011 DataVersion: 1363291551 |
| [1659012746.234309][8169:8174] CHIP:TOO: Reachable: TRUE |
| [1659012746.234420][8169:8174] CHIP:EM: Sending Standalone Ack for MessageCounter:92645971 on exchange 389i |
| disabled: true |
| |
| - label: "TH reads UniqueID from the DUT." |
| PICS: BRBINFO.S.A0012 |
| verification: | |
| ./chip-tool bridgeddevicebasic read unique-id 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH writes UniqueID as newid" |
| PICS: BRBINFO.S.A0012 |
| verification: | |
| ./chip-tool bridgeddevicebasic write unique-id newid 1 3 |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |
| |
| - label: "TH reads UniqueID" |
| PICS: BRBINFO.S.A0012 |
| verification: | |
| ./chip-tool bridgeddevicebasic read unique-id 1 3 |
| |
| |
| Note: The attribute is optional so no example log can be provided. |
| disabled: true |