| # 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. |
| |
| name: 3.2.3. [TC-OO-2.3] Secondary functionality with server as DUT |
| |
| PICS: |
| - OO.S |
| - OO.S.F00 |
| |
| config: |
| nodeId: 0x12344321 |
| cluster: "On/Off" |
| timeout: 400 |
| endpoint: 1 |
| |
| tests: |
| - label: "1: Wait for the commissioned device to be retrieved" |
| cluster: "DelayCommands" |
| command: "WaitForCommissionee" |
| arguments: |
| values: |
| - name: "nodeId" |
| value: nodeId |
| |
| - label: "2a: Send On Command" |
| PICS: OO.S.C01.Rsp |
| command: "On" |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "2b: Reads OnOff attribute from DUT" |
| PICS: OO.S.A0000 |
| command: "readAttribute" |
| attribute: "OnOff" |
| response: |
| value: 1 |
| |
| - label: "2b:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 |
| response: |
| value: 1 |
| |
| - label: "3a:Sends OffWithEffect command to DUT" |
| command: "OffWithEffect" |
| PICS: OO.S.C40.Rsp |
| arguments: |
| values: |
| - name: "EffectIdentifier" |
| value: 0 |
| - name: "EffectVariant" |
| value: 0 |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "3b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "3b:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "4a:Sends OnWithRecallGlobalScene command to DUT" |
| command: "OnWithRecallGlobalScene" |
| PICS: OO.S.C41.Rsp |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "4b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C41.Rsp |
| response: |
| value: 1 |
| |
| - label: "4b:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C41.Rsp |
| response: |
| value: 1 |
| |
| - label: "5a:Sends OffWithEffect command to DUT" |
| command: "OffWithEffect" |
| PICS: OO.S.C40.Rsp |
| arguments: |
| values: |
| - name: "EffectIdentifier" |
| value: 0 |
| - name: "EffectVariant" |
| value: 0 |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "5b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "5b:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "5c:Send On Command" |
| PICS: OO.S.C01.Rsp |
| command: "On" |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "5d:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C01.Rsp |
| response: |
| value: 1 |
| |
| - label: "5d:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C01.Rsp |
| response: |
| value: 1 |
| |
| - label: "6a:Sends OffWithEffect command to DUT" |
| command: "OffWithEffect" |
| PICS: OO.S.C40.Rsp |
| arguments: |
| values: |
| - name: "EffectIdentifier" |
| value: 1 |
| - name: "EffectVariant" |
| value: 0 |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "6b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "6b:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "7a:Send On Command" |
| PICS: OO.S.C01.Rsp |
| command: "On" |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "7b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C01.Rsp |
| response: |
| value: 1 |
| |
| - label: "7b:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C01.Rsp |
| response: |
| value: 1 |
| |
| - label: "7c:Sends OnWithRecallGlobalScene command to DUT" |
| command: "OnWithRecallGlobalScene" |
| PICS: OO.S.C41.Rsp |
| |
| - label: "Wait 1000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 1000 |
| |
| - label: "7d:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C41.Rsp |
| response: |
| value: 1 |
| |
| - label: "7d:Reads GlobalSceneControl attribute from DUT" |
| command: "readAttribute" |
| attribute: "GlobalSceneControl" |
| PICS: OO.S.A4000 && OO.S.C41.Rsp |
| response: |
| value: 1 |
| |
| - label: "8:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 |
| response: |
| value: 0 |
| |
| - label: "8:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 |
| response: |
| value: 0 |
| |
| - label: "9a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "9b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 1 |
| |
| - label: "9b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "9b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 300 |
| |
| - label: "10a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "10b:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "10c:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "10d:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "10e:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 1 |
| |
| - label: "10e:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "10e:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "11a:Sends OffWithEffect command to DUT" |
| command: "OffWithEffect" |
| PICS: OO.S.C40.Rsp |
| arguments: |
| values: |
| - name: "EffectIdentifier" |
| value: 0 |
| - name: "EffectVariant" |
| value: 0 |
| |
| - label: "11b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "11b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C40.Rsp |
| response: |
| value: 0 |
| |
| - label: "11b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C40.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "12a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "12b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "12b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "12b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 170 |
| maxValue: 230 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "13a:Send On Command" |
| PICS: OO.S.C01.Rsp |
| command: "On" |
| |
| - label: "13b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C01.Rsp |
| response: |
| value: 1 |
| |
| - label: "13b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C01.Rsp |
| response: |
| value: 0 |
| |
| - label: "13b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C01.Rsp |
| response: |
| value: 0 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "14a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "14b:Send Off Command" |
| command: "Off" |
| PICS: OO.S.C00.Rsp |
| |
| - label: "14c:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "14c:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "14c:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C00.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "Wait 30000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 30000 |
| |
| - label: "15:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 |
| response: |
| value: 0 |
| |
| - label: "15:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 |
| response: |
| value: 0 |
| |
| - label: "15:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 |
| response: |
| value: 0 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "16a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "16b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "16b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "16b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "17a:Send On Command" |
| PICS: OO.S.C01.Rsp |
| command: "On" |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "17b:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 1 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "17c:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 1 |
| |
| - label: "17c:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "17c:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 300 |
| |
| - label: "Wait 40000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 40000 |
| |
| - label: "17d:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "17d:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "17d:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "18a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 0 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "18b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 1 |
| |
| - label: "18b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "18b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 300 |
| |
| - label: "19a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 0 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "19b:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 0 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "19c:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 1 |
| |
| - label: "19c:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 170 |
| maxValue: 230 |
| |
| - label: "19c:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 300 |
| |
| - label: "20a:Send Off Command" |
| command: "Off" |
| PICS: OO.S.C00.Rsp |
| |
| - label: "20b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "20b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "20b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C00.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "21a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 0 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "21b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "21b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| value: 0 |
| |
| - label: "21b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && PICS_SKIP_SAMPLE_APP && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 170 |
| maxValue: 230 |
| |
| - label: "22a:Send On Command" |
| PICS: OO.S.C01.Rsp |
| command: "On" |
| |
| - label: "22b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C01.Rsp |
| response: |
| value: 1 |
| |
| - label: "22b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C01.Rsp |
| response: |
| value: 0 |
| |
| - label: "22b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C01.Rsp |
| response: |
| value: 0 |
| |
| - label: "Wait 10000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 10000 |
| |
| - label: "23a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 0 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "23b:Send Off Command" |
| command: "Off" |
| PICS: OO.S.C00.Rsp |
| |
| - label: "23c:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "23c:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "23c:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C00.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "Wait 40000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 40000 |
| |
| - label: "23d:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "23d:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "23d:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C00.Rsp |
| response: |
| value: 0 |
| |
| - label: "24a:Sends OnWithTimedOff command to DUT" |
| command: "OnWithTimedOff" |
| PICS: OO.S.C42.Rsp |
| arguments: |
| values: |
| - name: "OnOffControl" |
| value: 0 |
| - name: "OnTime" |
| value: 300 |
| - name: "OffWaitTime" |
| value: 300 |
| |
| - label: "24b:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 && OO.S.C42.Rsp |
| response: |
| value: 1 |
| |
| - label: "24b:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 && OO.S.C42.Rsp |
| response: |
| constraints: |
| minValue: 255 |
| maxValue: 345 |
| |
| - label: "24b:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 && OO.S.C42.Rsp |
| response: |
| value: 300 |
| |
| - label: "Wait 40000ms" |
| cluster: "DelayCommands" |
| command: "WaitForMs" |
| arguments: |
| values: |
| - name: "ms" |
| value: 40000 |
| |
| - label: "24c:Reads OnOff attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnOff" |
| PICS: OO.S.A0000 |
| response: |
| value: 0 |
| |
| - label: "24c:Reads OnTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OnTime" |
| PICS: OO.S.A4001 |
| response: |
| value: 0 |
| |
| - label: "24c:Reads OffWaitTime attribute from DUT" |
| command: "readAttribute" |
| attribute: "OffWaitTime" |
| PICS: OO.S.A4002 |
| response: |
| value: 0 |