|
11 | 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12 | 12 | # See the License for the specific language governing permissions and
|
13 | 13 | # limitations under the License.
|
14 |
| -# Auto-generated scripts for harness use only, please review before automation. The endpoints and cluster names are currently set to default |
15 | 14 |
|
16 | 15 | name:
|
17 | 16 | 217.2.3. [TC-REFALM-2.3] Local suppression of the door alarm with DUT as
|
18 | 17 | Server
|
19 | 18 |
|
20 | 19 | PICS:
|
21 | 20 | - REFALM.S
|
| 21 | + - REFALM.S.M.LocalSuppress |
22 | 22 |
|
23 | 23 | config:
|
24 | 24 | nodeId: 0x12344321
|
25 |
| - cluster: "Basic Information" |
26 |
| - endpoint: 0 |
| 25 | + cluster: "Refrigerator Alarm" |
| 26 | + endpoint: 1 |
| 27 | + PIXIT.REFALM.AlarmThreshold: |
| 28 | + type: int16u |
| 29 | + defaultValue: 5 |
27 | 30 |
|
28 | 31 | tests:
|
29 | 32 | - label:
|
30 | 33 | "Step 1: Commission DUT to TH (can be skipped if done in a preceding
|
31 | 34 | test)"
|
32 |
| - verification: | |
33 |
| -
|
34 |
| - disabled: true |
| 35 | + cluster: "DelayCommands" |
| 36 | + command: "WaitForCommissionee" |
| 37 | + arguments: |
| 38 | + values: |
| 39 | + - name: "nodeId" |
| 40 | + value: nodeId |
35 | 41 |
|
36 | 42 | - label: "Step 2: Ensure that the door on the DUT is closed"
|
37 | 43 | verification: |
|
38 | 44 | Ensure that the door on the DUT is closed
|
39 |
| - disabled: true |
40 |
| - |
41 |
| - - label: "Step 3: TH reads from the DUT the State attribute" |
| 45 | + cluster: "LogCommands" |
| 46 | + command: "UserPrompt" |
| 47 | + PICS: PICS_USER_PROMPT |
| 48 | + arguments: |
| 49 | + values: |
| 50 | + - name: "message" |
| 51 | + value: "Please enter 'y' for success" |
| 52 | + - name: "expectedValue" |
| 53 | + value: "y" |
| 54 | + |
| 55 | + - label: "Step 3:TH reads from the DUT the State attribute" |
| 56 | + command: "readAttribute" |
| 57 | + attribute: "State" |
42 | 58 | PICS: REFALM.S.A0002
|
43 |
| - verification: | |
44 |
| - ./chip-tool refrigeratoralarm read state 1 1 |
45 |
| - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. |
46 |
| -
|
47 |
| - [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 |
48 |
| - [1688447820.603415][4247:4249] CHIP:TOO: State: 0 |
49 |
| - [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) |
50 |
| - disabled: true |
51 |
| - |
52 |
| - - label: "Step 4: TH reads from the DUT the Mask attribute" |
| 59 | + response: |
| 60 | + constraints: |
| 61 | + type: bitmap32 |
| 62 | + hasMasksClear: [0x1] |
| 63 | + |
| 64 | + - label: "Step 4:TH reads from the DUT the Mask attribute" |
| 65 | + command: "readAttribute" |
| 66 | + attribute: "Mask" |
53 | 67 | PICS: REFALM.S.A0000
|
54 |
| - verification: | |
55 |
| - ./chip-tool refrigeratoralarm read mask 1 1 |
56 |
| - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. |
57 |
| -
|
58 |
| - [1688447677.832882][4229:4231] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0000 DataVersion: 1795162772 |
59 |
| - [1688447677.833165][4229:4231] CHIP:TOO: Mask: 1 |
60 |
| - [1688447677.833494][4229:4231] CHIP:EM: <<< [E:27636i S:5449 M:199797248 (Ack:151091416)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) |
61 |
| - disabled: true |
| 68 | + response: |
| 69 | + constraints: |
| 70 | + type: bitmap32 |
| 71 | + hasMasksSet: [0x1] |
62 | 72 |
|
63 | 73 | - label: "Step 5: Manually open the door on the DUT"
|
64 | 74 | verification: |
|
65 | 75 | Manually open the door on the DUT
|
66 |
| - disabled: true |
| 76 | + cluster: "LogCommands" |
| 77 | + command: "UserPrompt" |
| 78 | + PICS: PICS_USER_PROMPT |
| 79 | + arguments: |
| 80 | + values: |
| 81 | + - name: "message" |
| 82 | + value: "Please enter 'y' for success" |
| 83 | + - name: "expectedValue" |
| 84 | + value: "y" |
67 | 85 |
|
68 | 86 | - label: "Step 6: Wait for the time defined in PIXIT.REFALM.AlarmThreshold"
|
69 |
| - verification: | |
70 |
| - Wait for the time defined in PIXIT.REFALM.AlarmThreshold |
71 |
| - disabled: true |
72 |
| - |
73 |
| - - label: "Step 7: TH reads from the DUT the State attribute" |
74 |
| - PICS: REFALM.S.A0002 |
75 |
| - verification: | |
76 |
| - ./chip-tool refrigeratoralarm read state 1 1 |
77 |
| - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. |
78 |
| -
|
79 |
| - [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 |
80 |
| - [1688447820.603415][4247:4249] CHIP:TOO: State: 1 |
81 |
| - [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) |
82 |
| - disabled: true |
| 87 | + cluster: "DelayCommands" |
| 88 | + PICS: PICS_USER_PROMPT |
| 89 | + command: "WaitForMs" |
| 90 | + arguments: |
| 91 | + values: |
| 92 | + - name: "ms" |
| 93 | + value: PIXIT.REFALM.AlarmThreshold * 1000 |
| 94 | + |
| 95 | + - label: "Step 7:TH reads from the DUT the State attribute" |
| 96 | + command: "readAttribute" |
| 97 | + attribute: "State" |
| 98 | + PICS: REFALM.S.A0002 && PICS_USER_PROMPT |
| 99 | + response: |
| 100 | + constraints: |
| 101 | + type: bitmap32 |
| 102 | + hasMasksSet: [0x1] |
83 | 103 |
|
84 | 104 | - label:
|
85 | 105 | "Step 8: Invoke the on DUT sequence to suppress the alarm, do not
|
86 | 106 | close the door"
|
87 | 107 | verification: |
|
88 | 108 | Invoke the on DUT sequence to suppress the alarm, do not close the door
|
89 |
| - disabled: true |
90 |
| - |
91 |
| - - label: "Step 9: TH reads from the DUT the State attribute" |
92 |
| - PICS: REFALM.S.A0002 |
93 |
| - verification: | |
94 |
| - ./chip-tool refrigeratoralarm read state 1 1 |
95 |
| - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 0. |
96 |
| -
|
97 |
| - [1688447820.603249][4247:4249] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0002 DataVersion: 1795162772 |
98 |
| - [1688447820.603415][4247:4249] CHIP:TOO: State: 0 |
99 |
| - [1688447820.603708][4247:4249] CHIP:EM: <<< [E:2198i S:4260 M:156565261 (Ack:46517349)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) |
100 |
| - disabled: true |
101 |
| - |
102 |
| - - label: "Step 10: TH reads from the DUT the Mask attribute" |
103 |
| - PICS: REFALM.S.A0000 |
104 |
| - verification: | |
105 |
| - ./chip-tool refrigeratoralarm read mask 1 1 |
106 |
| - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. |
107 |
| -
|
108 |
| - [1688447677.832882][4229:4231] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0000 DataVersion: 1795162772 |
109 |
| - [1688447677.833165][4229:4231] CHIP:TOO: Mask: 0 |
110 |
| - [1688447677.833494][4229:4231] CHIP:EM: <<< [E:27636i S:5449 M:199797248 (Ack:151091416)] (S) Msg TX to 1:0000000000000001 [10DB] --- Type 0000:10 (SecureChannel:StandaloneAck) |
111 |
| - disabled: true |
112 |
| - |
113 |
| - - label: "Step 11: TH reads from the DUT the Supported attribute" |
114 |
| - PICS: REFALM.S.A0003 |
115 |
| - verification: | |
116 |
| - ./chip-tool refrigeratoralarm read supported 1 1 |
117 |
| - On TH(chip-tool), Verify that the DUT response contains a 32-bit value with bit 0 set to 1. |
118 |
| -
|
119 |
| - [1689677642.708638][18413:18415] CHIP:DMG: SuppressResponse = true, |
120 |
| - [1689677642.708645][18413:18415] CHIP:DMG: InteractionModelRevision = 1 |
121 |
| - [1689677642.708651][18413:18415] CHIP:DMG: } |
122 |
| - [1689677642.708726][18413:18415] CHIP:TOO: Endpoint: 1 Cluster: 0x0000_0057 Attribute 0x0000_0003 DataVersion: 1517282962 |
123 |
| - [1689677642.708773][18413:18415] CHIP:TOO: Supported: 1 |
124 |
| - [1689677642.708845][18413:18415] CHIP:EM: <<< [E:32432i S:53289 M:29829407 (Ack:142651059)] (S) Msg TX to 1:0000000000000001 [BFDE] --- Type 0000:10 (SecureChannel:StandaloneAck) |
125 |
| - [1689677642.708859][18413:18415] CHIP:IN: (S) Sending msg 29829407 on secure session with LSID: 53289 |
126 |
| - [1689677642.708900][18413:18415] CHIP:EM: Flushed pending ack for MessageCounter:142651059 on exchange 32432i |
127 |
| - disabled: true |
| 109 | + cluster: "LogCommands" |
| 110 | + command: "UserPrompt" |
| 111 | + PICS: PICS_USER_PROMPT |
| 112 | + arguments: |
| 113 | + values: |
| 114 | + - name: "message" |
| 115 | + value: "Please enter 'y' for success" |
| 116 | + - name: "expectedValue" |
| 117 | + value: "y" |
| 118 | + |
| 119 | + - label: "Step 9:TH reads from the DUT the State attribute" |
| 120 | + command: "readAttribute" |
| 121 | + attribute: "State" |
| 122 | + PICS: REFALM.S.A0002 && PICS_USER_PROMPT |
| 123 | + response: |
| 124 | + constraints: |
| 125 | + type: bitmap32 |
| 126 | + hasMasksClear: [0x1] |
| 127 | + |
| 128 | + - label: "Step 10:TH reads from the DUT the Mask attribute" |
| 129 | + command: "readAttribute" |
| 130 | + attribute: "Mask" |
| 131 | + PICS: REFALM.S.A0000 && PICS_USER_PROMPT |
| 132 | + response: |
| 133 | + constraints: |
| 134 | + type: bitmap32 |
| 135 | + hasMasksClear: [0x1] |
| 136 | + |
| 137 | + - label: "Step 11:TH reads from the DUT the Supported attribute" |
| 138 | + command: "readAttribute" |
| 139 | + attribute: "Supported" |
| 140 | + PICS: REFALM.S.A0003 && PICS_USER_PROMPT |
| 141 | + response: |
| 142 | + constraints: |
| 143 | + type: bitmap32 |
| 144 | + hasMasksSet: [0x1] |
0 commit comments