@@ -17,58 +17,57 @@ name: "[TC-ICDM-4.1] Stay Active Request with DUT as Server"
17
17
18
18
PICS :
19
19
- ICDM.S
20
- - ICDM.S.C00.Rsp
21
- - ICDM.S.C02.Rsp
22
- - ICDM.S.C03.Rsp
20
+ - ICDM.S.F02
23
21
24
22
config :
25
23
nodeId : 0x12344321
26
- cluster : " Basic Information "
24
+ cluster : " ICD Management "
27
25
endpoint : 0
28
26
29
27
tests :
30
- - label : " Preconditions"
31
- verification : |
32
- 1.Commission DUT to TH (can be skipped if done in a preceding test).
33
- disabled : true
28
+ - label : " Wait for the commissioned device to be retrieved"
29
+ cluster : " DelayCommands"
30
+ command : " WaitForCommissionee"
31
+ arguments :
32
+ values :
33
+ - name : " nodeId"
34
+ value : nodeId
34
35
35
36
- label :
36
- " Step 1: TH sends StayActiveRequest command with StayActiveDuration."
37
- PICS : ICDM.S.C03.Rsp
38
- verification : |
39
- ./chip-tool icdmanagement stay-active-request 1 0
37
+ " TH sends StayActiveRequest command with StayActiveDuration greater
38
+ than or equal 30000 milliseconds."
39
+ command : " StayActiveRequest"
40
+ arguments :
41
+ values :
42
+ - name : " StayActiveDuration"
43
+ value : 30000
44
+ response :
45
+ values :
46
+ - name : " PromisedActiveDuration"
47
+ saveAs : ActiveDuration
48
+ constraints :
49
+ type : int32u
50
+ minValue : 29995
40
51
41
- Via the TH (chip-tool), verify the SUCCESS response for StayActiveRequest command.
52
+ - label : " Wait for the PromisedActiveDuration to end"
53
+ cluster : " DelayCommands"
54
+ command : " WaitForMs"
55
+ arguments :
56
+ values :
57
+ - name : " ms"
58
+ value : ActiveDuration
42
59
43
- [1702414315.312084][3787:3789] CHIP:DMG: InvokeResponseMessage =
44
- [1702414315.312130][3787:3789] CHIP:DMG: {
45
- [1702414315.312244][3787:3789] CHIP:DMG: suppressResponse = false,
46
- [1702414315.312295][3787:3789] CHIP:DMG: InvokeResponseIBs =
47
- [1702414315.312360][3787:3789] CHIP:DMG: [
48
- [1702414315.312497][3787:3789] CHIP:DMG: InvokeResponseIB =
49
- [1702414315.312572][3787:3789] CHIP:DMG: {
50
- [1702414315.312626][3787:3789] CHIP:DMG: CommandStatusIB =
51
- [1702414315.312709][3787:3789] CHIP:DMG: {
52
- [1702414315.312774][3787:3789] CHIP:DMG: CommandPathIB =
53
- [1702414315.312857][3787:3789] CHIP:DMG: {
54
- [1702414315.312921][3787:3789] CHIP:DMG: EndpointId = 0x0,
55
- [1702414315.312994][3787:3789] CHIP:DMG: ClusterId = 0x46,
56
- [1702414315.313060][3787:3789] CHIP:DMG: CommandId = 0x3,
57
- [1702414315.313155][3787:3789] CHIP:DMG: },
58
- [1702414315.313234][3787:3789] CHIP:DMG:
59
- [1702414315.313293][3787:3789] CHIP:DMG: StatusIB =
60
- [1702414315.313382][3787:3789] CHIP:DMG: {
61
- [1702414315.313450][3787:3789] CHIP:DMG: status = 0x81 (UNSUPPORTED_COMMAND),
62
- [1702414315.313536][3787:3789] CHIP:DMG: },
63
- [1702414315.313603][3787:3789] CHIP:DMG:
64
- [1702414315.313679][3787:3789] CHIP:DMG: },
65
- [1702414315.313747][3787:3789] CHIP:DMG:
66
- [1702414315.313799][3787:3789] CHIP:DMG: },
67
- [1702414315.313878][3787:3789] CHIP:DMG:
68
- [1702414315.313928][3787:3789] CHIP:DMG: ],
69
- [1702414315.313989][3787:3789] CHIP:DMG:
70
- [1702414315.314057][3787:3789] CHIP:DMG: InteractionModelRevision = 11
71
- [1702414315.314106][3787:3789] CHIP:DMG: },
72
- [1702414315.314254][3787:3789] CHIP:DMG: Received Command Response Status for Endpoint=0 Cluster=0x0000_0046 Command=0x0000_0003 Status=0x81
73
- [1702414315.314359][3787:3789] CHIP:TOO: Error: IM Error 0x00000581: General error: 0x81 (UNSUPPORTED_COMMAND)
74
- disabled : true
60
+ - label :
61
+ " TH sends StayActiveRequest command with StayActiveDuration less than
62
+ 30000 milliseconds."
63
+ command : " StayActiveRequest"
64
+ arguments :
65
+ values :
66
+ - name : " StayActiveDuration"
67
+ value : 20000
68
+ response :
69
+ values :
70
+ - name : " PromisedActiveDuration"
71
+ constraints :
72
+ type : int32u
73
+ minValue : 19995
0 commit comments