blob: 14fe1033e00e108d9b5373af422b6dcfa3cbbda0 [file] [log] [blame]
# 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.4. [TC-ACT-3.2] Functionality with client as DUT
PICS:
- ACT.C
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label:
"Preparation: TH as server exposes an Actions server cluster on EP 1,
with one action (supporting all possible commands) and corresponding
ActionLists and EndpointLists attributes: ActionList: contains one
list element (ActionListStruct): ActionIO = 0x1001 Name = some
test Type = other EndpointListID = 0xE001 SupportedCommands =
0x0fff // suppports all commands State = Inactive EndpointLists:
contains one list element (EndpointListStruct): EndpointListID =
0xE001 Name = test room Type = room Endpoints =
[3] SetupURL: (empty string)"
verification: |
verification step to be updated.
disabled: true
- label: "DUT issues an InstantAction command to TH"
PICS: ACT.C.C00.Tx
verification: |
./chip-tool bridgedactions instant-action 0x1001 1 1
Verify command is successfully sent on TH(all-clusters-app)
[1658848801.832452][10096:10101] CHIP:EM: Removed CHIP MessageCounter:163269462 from RetransTable on exchange 54295i
[1658848801.832487][10096:10101] CHIP:DMG: ICR moving to [ResponseRe]
[1658848801.832544][10096:10101] CHIP:DMG: InvokeResponseMessage =
[1658848801.832574][10096:10101] CHIP:DMG: {
[1658848801.832603][10096:10101] CHIP:DMG: suppressResponse = false,
[1658848801.832637][10096:10101] CHIP:DMG: InvokeResponseIBs =
[1658848801.832675][10096:10101] CHIP:DMG: [
[1658848801.832705][10096:10101] CHIP:DMG: InvokeResponseIB =
[1658848801.832744][10096:10101] CHIP:DMG: {
[1658848801.832775][10096:10101] CHIP:DMG: CommandStatusIB =
[1658848801.832813][10096:10101] CHIP:DMG: {
[1658848801.832849][10096:10101] CHIP:DMG: CommandPathIB =
[1658848801.832890][10096:10101] CHIP:DMG: {
[1658848801.832931][10096:10101] CHIP:DMG: EndpointId = 0x1,
[1658848801.832972][10096:10101] CHIP:DMG: ClusterId = 0x25,
[1658848801.833017][10096:10101] CHIP:DMG: CommandId = 0x0,
[1658848801.833055][10096:10101] CHIP:DMG: },
[1658848801.833100][10096:10101] CHIP:DMG:
[1658848801.833133][10096:10101] CHIP:DMG: StatusIB =
[1658848801.833176][10096:10101] CHIP:DMG: {
[1658848801.833217][10096:10101] CHIP:DMG: status = 0x00 (SUCCESS),
[1658848801.833256][10096:10101] CHIP:DMG: },
[1658848801.833292][10096:10101] CHIP:DMG:
[1658848801.833326][10096:10101] CHIP:DMG: },
[1658848801.833371][10096:10101] CHIP:DMG:
[1658848801.833402][10096:10101] CHIP:DMG: },
[1658848801.833438][10096:10101] CHIP:DMG:
[1658848801.833466][10096:10101] CHIP:DMG: ],
[1658848801.833502][10096:10101] CHIP:DMG:
[1658848801.833530][10096:10101] CHIP:DMG: InteractionModelRevision = 1
[1658848801.833559][10096:10101] CHIP:DMG: },
[1658848801.833627][10096:10101] CHIP:DMG: Received Command Response Status for Endpoint=1 Cluster=0x0000_0025 Command=0x0000_0000 Status=0x0
[1658848801.833676][10096:10101] CHIP:DMG: ICR moving to [AwaitingDe]
[1658848801.833742][10096:10101] CHIP:EM: Sending Standalone Ack for MessageCounter:266293997 on exchange 54295i
disabled: true
- label: "DUT issues an StartAction command to TH"
PICS: ACT.C.C02.Tx
verification: |
./chip-tool bridgedactions start-action 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an StopAction command to TH"
PICS: ACT.C.C04.Tx
verification: |
./chip-tool bridgedactions stop-action 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an PauseAction command to TH"
PICS: ACT.C.C05.Tx
verification: |
./chip-tool bridgedactions pause-action 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an ResumeAction command to TH"
PICS: ACT.C.C07.Tx
verification: |
./chip-tool bridgedactions resume-action 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an EnableAction command to TH"
PICS: ACT.C.C08.Tx
verification: |
./chip-tool bridgedactions enable-action 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an DisableAction command to TH"
PICS: ACT.C.C0a.Tx
verification: |
./chip-tool bridgedactions disable-action 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an StartActionWithDuration command to TH"
PICS: ACT.C.C03.Tx
verification: |
./chip-tool bridgedactions start-action-with-duration 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an PauseActionWithDuration command to TH"
PICS: ACT.C.C06.Tx
verification: |
./chip-tool bridgedactions pause-action-with-duration 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an EnableActionWithDuration command to TH"
PICS: ACT.C.C09.Tx
verification: |
./chip-tool bridgedactions enable-action-with-duration 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an DisableActionWithDuration command to TH"
PICS: ACT.C.C0b.Tx
verification: |
./chip-tool bridgedactions disable-action-with-duration 0x1001 1 1
Note: Message log similar as in step 1
disabled: true
- label: "DUT issues an InstantActionWithTransition command to TH"
PICS: ACT.C.C01.Tx
verification: |
./chip-tool bridgedactions instant-action-with-transition 0x1001 1 1
Note: Message log similar as in step 1
disabled: true