| # 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.2. [TC-PRS-2.2] Primary functionality with server as DUT |
| |
| PICS: |
| - PRS.S |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "Basic" |
| endpoint: 0 |
| |
| tests: |
| - label: |
| "Commission DUT to TH (can be skipped if done in a preceding test)." |
| verification: | |
| verification step to be updated. |
| disabled: true |
| |
| - label: "TH reads from the DUT the MeasuredValue attribute" |
| PICS: PRS.S.A0000 |
| verification: | |
| ./chip-tool pressuremeasurement read measured-value 1 1 |
| |
| |
| On TH, verify that DUT responds value read is successful and note down the value read |
| |
| CHIP:TOO: MeasuredValue: 0 |
| disabled: true |
| |
| - label: "Operate on device to change the pressure significantly" |
| PICS: PRS.M.PressureChange |
| verification: | |
| Operate at device |
| disabled: true |
| |
| - label: |
| "After a few seconds, TH reads from the DUT the MeasuredValue |
| attribute" |
| PICS: PRS.S.A0000 |
| verification: | |
| ./chip-tool pressuremeasurement read measured-value 1 1 |
| |
| DUT action missing [cant verify using Raspi] |
| disabled: true |