@@ -31,6 +31,31 @@ tests:
31
31
- name : " nodeId"
32
32
value : nodeId
33
33
34
+ - label : " Precondition: Create new PIN credential and lock/unlock user"
35
+ PICS : DRLK.S.F00 && DRLK.S.F07
36
+ command : " SetCredential"
37
+ timedInteractionTimeoutMs : 1000
38
+ arguments :
39
+ values :
40
+ - name : " OperationType"
41
+ value : 0
42
+ - name : " Credential"
43
+ value : { CredentialType: 1, CredentialIndex: 1 }
44
+ - name : " CredentialData"
45
+ value : " 123456"
46
+ - name : " UserIndex"
47
+ value : null
48
+ - name : " UserStatus"
49
+ value : 1
50
+ - name : " UserType"
51
+ value : 0
52
+ response :
53
+ values :
54
+ - name : " Status"
55
+ value : 0
56
+ - name : " NextCredentialIndex"
57
+ value : 2
58
+
34
59
- label : " Step 1a: TH reads LockState attribute from DUT"
35
60
PICS : DRLK.S.A0000
36
61
command : " readAttribute"
@@ -59,10 +84,19 @@ tests:
59
84
value : LockStateValue
60
85
61
86
- label : " Step 1d: TH sends a Lock Door command to the DUT."
62
- PICS : DRLK.S.C00.Rsp
87
+ PICS : DRLK.S.C00.Rsp && !(DRLK.S.F00 && DRLK.S.F07)
63
88
command : " LockDoor"
64
89
timedInteractionTimeoutMs : 1000
65
90
91
+ - label : " Step 1d: TH sends a Lock Door command to the DUT."
92
+ PICS : DRLK.S.C00.Rsp && DRLK.S.F00 && DRLK.S.F07
93
+ command : " LockDoor"
94
+ timedInteractionTimeoutMs : 1000
95
+ arguments :
96
+ values :
97
+ - name : " PINCode"
98
+ value : " 123456"
99
+
66
100
- label : " Step 1d: TH reads LockState attribute from DUT"
67
101
PICS : DRLK.S.A0000
68
102
command : " readAttribute"
@@ -71,10 +105,19 @@ tests:
71
105
value : 1
72
106
73
107
- label : " Step 1e: TH sends a Unlock Door command to the DUT."
74
- PICS : DRLK.S.C01.Rsp
108
+ PICS : DRLK.S.C01.Rsp && !(DRLK.S.F00 && DRLK.S.F07)
75
109
command : " UnlockDoor"
76
110
timedInteractionTimeoutMs : 1000
77
111
112
+ - label : " Step 1e: TH sends a Unlock Door command to the DUT."
113
+ PICS : DRLK.S.C01.Rsp && DRLK.S.F00 && DRLK.S.F07
114
+ command : " UnlockDoor"
115
+ timedInteractionTimeoutMs : 1000
116
+ arguments :
117
+ values :
118
+ - name : " PINCode"
119
+ value : " 123456"
120
+
78
121
- label : " Step 1e: TH reads LockState attribute from DUT"
79
122
PICS : DRLK.S.A0000
80
123
command : " readAttribute"
@@ -822,10 +865,20 @@ tests:
822
865
command : " readAttribute"
823
866
attribute : " SupportedOperatingModes"
824
867
response :
825
- value : 0xFFF6
826
868
saveAs : Current_Supported
827
869
constraints :
828
870
type : enum16
871
+ anyOf :
872
+ [
873
+ 0xFFF6,
874
+ 0xFFF4,
875
+ 0xFFF2,
876
+ 0xFFF0,
877
+ 0xFFE6,
878
+ 0xFFE4,
879
+ 0xFFE2,
880
+ 0xFFE0,
881
+ ]
829
882
830
883
- label :
831
884
" Step 23b: TH writes Supported OperatingModes attribute as bit 0 is
@@ -985,8 +1038,11 @@ tests:
985
1038
command : " readAttribute"
986
1039
attribute : " EnableLocalProgramming"
987
1040
response :
988
- value : 1
989
1041
saveAs : Current_EnableLocal_Programming
1042
+ constraints :
1043
+ type : boolean
1044
+ minValue : 0
1045
+ maxValue : 1
990
1046
991
1047
- label : " Step 26b: TH writes EnableLocalProgramming attribute as false"
992
1048
PICS : DRLK.S.A0028.Write
@@ -1023,7 +1079,10 @@ tests:
1023
1079
command : " readAttribute"
1024
1080
attribute : " EnableOneTouchLocking"
1025
1081
response :
1026
- value : 0
1082
+ constraints :
1083
+ type : boolean
1084
+ minValue : 0
1085
+ maxValue : 1
1027
1086
1028
1087
- label : " Step 27b: TH writes EnableOneTouchLocking attribute as true"
1029
1088
PICS : DRLK.S.A0029
@@ -1044,7 +1103,10 @@ tests:
1044
1103
command : " readAttribute"
1045
1104
attribute : " EnableInsideStatusLED"
1046
1105
response :
1047
- value : 0
1106
+ constraints :
1107
+ type : boolean
1108
+ minValue : 0
1109
+ maxValue : 1
1048
1110
1049
1111
- label : " Step 28b: TH writes EnableInsideStatusLED attribute as true"
1050
1112
PICS : DRLK.S.A002a
@@ -1065,7 +1127,10 @@ tests:
1065
1127
command : " readAttribute"
1066
1128
attribute : " EnablePrivacyModeButton"
1067
1129
response :
1068
- value : 0
1130
+ constraints :
1131
+ type : boolean
1132
+ minValue : 0
1133
+ maxValue : 1
1069
1134
1070
1135
- label : " Step 29b: TH writes EnablePrivacy ModeButton attribute as true"
1071
1136
PICS : DRLK.S.A002b
@@ -1420,7 +1485,10 @@ tests:
1420
1485
command : " readAttribute"
1421
1486
attribute : " RequirePINforRemoteOperation"
1422
1487
response :
1423
- value : 0
1488
+ constraints :
1489
+ type : boolean
1490
+ minValue : 0
1491
+ maxValue : 1
1424
1492
saveAs : Current_RequirePINFor_RemoteOperation
1425
1493
1426
1494
- label :
@@ -1530,3 +1598,12 @@ tests:
1530
1598
attribute : " NumberOfCredentialsSupportedPerUser"
1531
1599
response :
1532
1600
value : NumberOfCredentialsSupportedPerUserValue
1601
+
1602
+ - label : " Clean the created credential/user"
1603
+ PICS : DRLK.S.F00 && DRLK.S.F07
1604
+ command : " ClearCredential"
1605
+ timedInteractionTimeoutMs : 1000
1606
+ arguments :
1607
+ values :
1608
+ - name : " Credential"
1609
+ value : { CredentialType: 1, CredentialIndex: 1 }
0 commit comments