| # 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.3. [TC-OCC-2.3] OccupancySensorTypeBitmap and OccupancySensorType |
| interdependency with server as DUT |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: "Commission DUT to TH" |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "TH reads OccupancySensorType attribute from DUT" |
| PICS: OCC.S.A0001 |
| verification: | |
| ./chip-tool occupancysensing read occupancy-sensor-type 1 1 |
| |
| on TH , Verify that the DUT response contains a non-reserved value: |
| |
| [1648461912.765825][9300:9306] CHIP:DMG: } |
| [1648461912.766013][9300:9306] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0001 DataVersion: 3082917122 |
| [1648461912.766089][9300:9306] CHIP:TOO: occupancy sensor type: 0 |
| disabled: true |
| |
| - label: "TH reads OccupancySensorTypeBitmap attribute from DUT" |
| PICS: OCC.S.A0002 |
| verification: | |
| ./chip-tool occupancysensing read occupancy-sensor-type-bitmap 1 1 |
| |
| on TH , Verify that the DUT response contains a bitmap value: |
| |
| [1648461918.499009][9307:9312] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0406 Attribute 0x0000_0002 DataVersion: 3082917122 |
| [1648461918.499082][9307:9312] CHIP:TOO: occupancy sensor type bitmap: 1 |
| disabled: true |