Skip to content

Commit 55676fe

Browse files
authored
Merge branch 'master' into issue_226_temp_2
2 parents 95da2fe + 923619a commit 55676fe

File tree

3 files changed

+345
-9
lines changed

3 files changed

+345
-9
lines changed

src/app/tests/suites/certification/PICS.yaml

+54
Original file line numberDiff line numberDiff line change
@@ -2738,6 +2738,46 @@ PICS:
27382738
- label: "Does the DUT(server) support the ExpiringUserTimeOut attribute?"
27392739
id: DRLK.S.A0035
27402740

2741+
- label:
2742+
"Does the DUT(server) support the AliroReaderVerificationKey attribute"
2743+
id: DRLK.S.A0080
2744+
2745+
- label:
2746+
"Does the DUT(server) support the AliroReaderGroupIdentifier attribute"
2747+
id: DRLK.S.A0081
2748+
2749+
- label:
2750+
"Does the DUT(server) support the AliroReaderGroupSubIdentifier
2751+
attribute"
2752+
id: DRLK.S.A0082
2753+
2754+
- label:
2755+
"Does the DUT(server) support the
2756+
AliroExpeditedTransactionSupportedProtocolVersions attribute"
2757+
id: DRLK.S.A0083
2758+
2759+
- label: "Does the DUT(server) support the AliroGroupResolvingKey attribute"
2760+
id: DRLK.S.A0084
2761+
2762+
- label:
2763+
"Does the DUT(server) support the AliroSupportedBLEUWBProtocolVersions
2764+
attribute"
2765+
id: DRLK.S.A0085
2766+
2767+
- label:
2768+
"Does the DUT(server) support the AliroBLEAdvertisingVersion attribute"
2769+
id: DRLK.S.A0086
2770+
2771+
- label:
2772+
"Does the DUT(server) support the
2773+
NumberOfAliroCredentialIssuerKeysSupported attribute"
2774+
id: DRLK.S.A0087
2775+
2776+
- label:
2777+
"Does the DUT(server) support the NumberOfAliroEndpointKeysSupported
2778+
attribute"
2779+
id: DRLK.S.A0088
2780+
27412781
#
27422782
#Server ReadOnly attribute
27432783
#
@@ -2869,6 +2909,12 @@ PICS:
28692909
- label: "Does the DUT(server) support the Unbolt Door command?"
28702910
id: DRLK.S.C27.Rsp
28712911

2912+
- label: "Does the DUT(server) support the SetAliroReaderConfig command?"
2913+
id: DRLK.S.C28.Rsp
2914+
2915+
- label: "Does the DUT(server) support the ClearAliroReaderConfig command?"
2916+
id: DRLK.S.C29.Rsp
2917+
28722918
#
28732919
# server / commandsGenerated
28742920
#
@@ -2970,6 +3016,14 @@ PICS:
29703016
- label: "Does the DUT(server) support the Lock supports unbolting feature?"
29713017
id: DRLK.S.F0c
29723018

3019+
- label: "Does the DUT(server) support AliroProvisioning feature?"
3020+
id: DRLK.S.F0d
3021+
3022+
- label:
3023+
"Does the DUT(server) support Bluetooth LE + UWB Access Control Flow
3024+
feature?"
3025+
id: DRLK.S.F0e
3026+
29733027
#
29743028
# server / manually
29753029
#

src/app/tests/suites/certification/Test_TC_DRLK_2_1.yaml

+277-9
Original file line numberDiff line numberDiff line change
@@ -1551,20 +1551,288 @@ tests:
15511551
response:
15521552
value: NumberOfCredentialsSupportedPerUserValue
15531553

1554-
- label: "Cleanup the created user"
1555-
PICS: DRLK.S.F00 && DRLK.S.F07
1554+
- label: "Step 36: TH sends ClearCredential Command to DUT"
1555+
PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp
1556+
command: "ClearCredential"
1557+
timedInteractionTimeoutMs: 1000
1558+
arguments:
1559+
values:
1560+
- name: "Credential"
1561+
value: { CredentialType: 1, CredentialIndex: 1 }
1562+
1563+
- label:
1564+
"Step 37: TH sends ClearUser Command to DUT with the UserIndex as 1"
1565+
PICS: DRLK.S.F07 && DRLK.S.C1d.Rsp
15561566
command: "ClearUser"
15571567
timedInteractionTimeoutMs: 1000
15581568
arguments:
15591569
values:
15601570
- name: "UserIndex"
15611571
value: 1
15621572

1563-
- label: "Clean the created credential"
1564-
PICS: DRLK.S.F00 && DRLK.S.F07 && DRLK.S.C26.Rsp
1565-
command: "ClearCredential"
1566-
timedInteractionTimeoutMs: 1000
1573+
- label: "Step 38a: TH reads AliroReaderVerificationKey attribute from DUT"
1574+
PICS: DRLK.S.F0d && DRLK.S.A0080
1575+
command: "readAttribute"
1576+
attribute: "AliroReaderVerificationKey"
1577+
response:
1578+
saveAs: verificationkey
1579+
constraints:
1580+
type: octet_string
1581+
minLength: 65
1582+
1583+
- label:
1584+
"Step 38b: TH writes AliroReaderVerificationKey attribute as an octstr
1585+
value of length 65 which is different from verificationkey"
1586+
PICS: DRLK.S.F0d && DRLK.S.A0080
1587+
command: "writeAttribute"
1588+
attribute: "AliroReaderVerificationKey"
15671589
arguments:
1568-
values:
1569-
- name: "Credential"
1570-
value: { CredentialType: 1, CredentialIndex: 1 }
1590+
value: "047a4c992d753924cdf3779a3c84fec2debaa6f0b3084450878acc7ddcce7856ae57b1ebbe2561015103dd7474c2a183675378ec55f1e465ac3436bf3dd5ca54d4"
1591+
response:
1592+
error: UNSUPPORTED_WRITE
1593+
1594+
- label: "Step 38c: TH reads AliroReaderVerificationKey attribute from DUT"
1595+
1596+
PICS: DRLK.S.F0d && DRLK.S.A0080
1597+
command: "readAttribute"
1598+
attribute: "AliroReaderVerificationKey"
1599+
response:
1600+
value: verificationkey
1601+
1602+
- label: "Step 39a: TH reads AliroReaderGroupIdentifier attribute from DUT"
1603+
PICS: DRLK.S.F0d && DRLK.S.A0081
1604+
command: "readAttribute"
1605+
attribute: "AliroReaderGroupIdentifier"
1606+
response:
1607+
saveAs: aliroreadergrpidentifier
1608+
constraints:
1609+
type: octet_string
1610+
minLength: 16
1611+
- label:
1612+
"Step 39b: TH writes AliroReaderGroupIdentifier attribute as octstr
1613+
value of length 16 which is different from aliroreadergrpidentifier"
1614+
PICS: DRLK.S.F0d && DRLK.S.A0081
1615+
command: "writeAttribute"
1616+
attribute: "AliroReaderVerificationKey"
1617+
arguments:
1618+
value: "047a4c992d753924"
1619+
response:
1620+
error: UNSUPPORTED_WRITE
1621+
1622+
- label: "Step 39c: TH reads AliroReaderGroupIdentifier attribute from DUT"
1623+
PICS: DRLK.S.F0d && DRLK.S.A0081
1624+
command: "readAttribute"
1625+
attribute: "AliroReaderGroupIdentifier"
1626+
response:
1627+
value: aliroreadergrpidentifier
1628+
- label:
1629+
"Step 40a: TH reads AliroReaderGroupSubIdentifier attribute from DUT"
1630+
PICS: DRLK.S.F0d && DRLK.S.A0082
1631+
command: "readAttribute"
1632+
attribute: "AliroReaderGroupSubIdentifier"
1633+
response:
1634+
saveAs: aliroreadergrpsubidentifier
1635+
constraints:
1636+
type: octet_string
1637+
minLength: 16
1638+
1639+
- label:
1640+
"Step 40b: TH writes AliroReaderGroupSubIdentifier attribute as octstr
1641+
value of length 16 which is different from aliroreadergrpsubidentifier"
1642+
PICS: DRLK.S.F0d && DRLK.S.A0082
1643+
command: "writeAttribute"
1644+
attribute: "AliroReaderGroupSubIdentifier"
1645+
arguments:
1646+
value: "047a4c992d75368"
1647+
response:
1648+
error: UNSUPPORTED_WRITE
1649+
1650+
- label: "Step 40c: TH reads AliroReaderGroupIdentifier attribute from DUT"
1651+
PICS: DRLK.S.F0d && DRLK.S.A0082
1652+
command: "readAttribute"
1653+
attribute: "AliroReaderGroupSubIdentifier"
1654+
response:
1655+
value: aliroreadergrpsubidentifier
1656+
1657+
- label:
1658+
"Step 41a: TH reads AliroExpeditedTransactionSupportedProtocolVersions
1659+
attribute from DUT"
1660+
PICS: DRLK.S.F0d && DRLK.S.A0083
1661+
command: "readAttribute"
1662+
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
1663+
response:
1664+
saveAs: aliroprotocolversion
1665+
constraints:
1666+
type: list
1667+
maxLength: 16
1668+
- label:
1669+
"Step 41b: TH writes
1670+
AliroExpeditedTransactionSupportedProtocolVersions attribute as list
1671+
which is different from aliroprotocolversion"
1672+
PICS: DRLK.S.F0d && DRLK.S.A0083
1673+
command: "writeAttribute"
1674+
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
1675+
arguments:
1676+
value: ["0x1", "0x2"]
1677+
response:
1678+
error: UNSUPPORTED_WRITE
1679+
- label:
1680+
"Step 41c: TH reads AliroExpeditedTransactionSupportedProtocolVersions
1681+
attribute from DUT"
1682+
PICS: DRLK.S.F0d && DRLK.S.A0083
1683+
command: "readAttribute"
1684+
attribute: "AliroExpeditedTransactionSupportedProtocolVersions"
1685+
response:
1686+
value: aliroprotocolversion
1687+
1688+
- label: "Step 42a: TH reads AliroGroupResolvingKey attribute from DUT"
1689+
PICS: DRLK.S.F0d && DRLK.S.A0084
1690+
command: "readAttribute"
1691+
attribute: "AliroGroupResolvingKey"
1692+
response:
1693+
saveAs: alirogrpresolvingkey
1694+
constraints:
1695+
type: octet_string
1696+
minLength: 16
1697+
1698+
- label:
1699+
"Step 42b: TH writes AliroGroupResolvingKey attribute as octstr value
1700+
of length 16 which is different from alirogrpresolvingkey"
1701+
PICS: DRLK.S.F0d && DRLK.S.A0084
1702+
command: "writeAttribute"
1703+
attribute: "AliroGroupResolvingKey"
1704+
arguments:
1705+
value: "047a4c992d75368"
1706+
response:
1707+
error: UNSUPPORTED_WRITE
1708+
1709+
- label: "Step 42c: TH reads AliroGroupResolvingKey attribute from DUT"
1710+
PICS: DRLK.S.F0d && DRLK.S.A0084
1711+
command: "readAttribute"
1712+
attribute: "AliroGroupResolvingKey"
1713+
response:
1714+
value: alirogrpresolvingkey
1715+
- label:
1716+
"Step 43a: TH reads AliroSupportedBLEUWBProtocolVersions attribute
1717+
from DUT"
1718+
PICS: DRLK.S.F0d && DRLK.S.A0085
1719+
command: "readAttribute"
1720+
attribute: "AliroSupportedBLEUWBProtocolVersions"
1721+
response:
1722+
saveAs: alirobleuwbprotocolversion
1723+
constraints:
1724+
type: octet_string
1725+
minLength: 16
1726+
1727+
- label:
1728+
"Step 43b: TH writes AliroSupportedBLEUWBProtocolVersions attribute as
1729+
list which is different from alirobleuwbprotocolversion"
1730+
PICS: DRLK.S.F0d && DRLK.S.A0085
1731+
command: "writeAttribute"
1732+
attribute: "AliroSupportedBLEUWBProtocolVersions"
1733+
arguments:
1734+
value: "047a4c992d75368"
1735+
response:
1736+
error: UNSUPPORTED_WRITE
1737+
1738+
- label: "Step 43c: TH reads AliroGroupResolvingKey attribute from DUT"
1739+
PICS: DRLK.S.F0d && DRLK.S.A0085
1740+
command: "readAttribute"
1741+
attribute: "AliroSupportedBLEUWBProtocolVersions"
1742+
response:
1743+
value: alirobleuwbprotocolversion
1744+
1745+
- label: "Step 44a: TH reads AliroBLEAdvertisingVersion attribute from DUT"
1746+
PICS: DRLK.S.F0d && DRLK.S.A0086
1747+
command: "readAttribute"
1748+
attribute: "AliroBLEAdvertisingVersion"
1749+
response:
1750+
saveAs: alirobleadvversion
1751+
constraints:
1752+
type: int8u
1753+
minValue: 0
1754+
maxValue: 255
1755+
1756+
- label:
1757+
"Step 44b: TH writes AliroBLEAdvertisingVersion attribute as any value
1758+
different from alirobleadvversion"
1759+
PICS: DRLK.S.F0d && DRLK.S.A0086
1760+
command: "writeAttribute"
1761+
attribute: "AliroBLEAdvertisingVersion"
1762+
arguments:
1763+
value: 85
1764+
response:
1765+
error: UNSUPPORTED_WRITE
1766+
1767+
- label: "Step 44c: TH reads AliroBLEAdvertisingVersion attribute from DUT"
1768+
PICS: DRLK.S.F0d && DRLK.S.A0086
1769+
command: "readAttribute"
1770+
attribute: "AliroBLEAdvertisingVersion"
1771+
response:
1772+
value: alirobleadvversion
1773+
1774+
- label:
1775+
"Step 45a: TH reads NumberOfAliroCredentialIssuerKeysSupported
1776+
attribute from DUT"
1777+
PICS: DRLK.S.F0d && DRLK.S.A0087
1778+
command: "readAttribute"
1779+
attribute: "NumberOfAliroCredentialIssuerKeysSupported"
1780+
response:
1781+
saveAs: alirokeysupported
1782+
constraints:
1783+
type: int16u
1784+
minValue: 0
1785+
maxValue: 65534
1786+
1787+
- label:
1788+
"Step 45b: TH writes NumberOfAliroCredentialIssuerKeysSupported
1789+
attribute as any value different from alirokeysupported"
1790+
PICS: DRLK.S.F0d && DRLK.S.A0087
1791+
command: "writeAttribute"
1792+
attribute: "NumberOfAliroCredentialIssuerKeysSupported"
1793+
arguments:
1794+
value: 30
1795+
response:
1796+
error: UNSUPPORTED_WRITE
1797+
1798+
- label:
1799+
"Step 45c: TH reads NumberOfAliroCredentialIssuerKeysSupported
1800+
attribute from DUT"
1801+
PICS: DRLK.S.F0d && DRLK.S.A0087
1802+
command: "readAttribute"
1803+
attribute: "NumberOfAliroCredentialIssuerKeysSupported"
1804+
response:
1805+
value: alirokeysupported
1806+
1807+
- label:
1808+
"Step 46a: TH reads NumberOfAliroEndpointKeysSupported attribute from
1809+
DUT"
1810+
PICS: DRLK.S.F0d && DRLK.S.A0088
1811+
command: "readAttribute"
1812+
attribute: "NumberOfAliroEndpointKeysSupported"
1813+
response:
1814+
saveAs: aliroepkeysupported
1815+
constraints:
1816+
type: int16u
1817+
minValue: 0
1818+
maxValue: 65534
1819+
1820+
- label:
1821+
"Step 46b: TH writes NumberOfAliroEndpointKeysSupported attribute as
1822+
any value different from aliroepkeysupported"
1823+
PICS: DRLK.S.F0d && DRLK.S.A0088
1824+
command: "writeAttribute"
1825+
attribute: "NumberOfAliroEndpointKeysSupported"
1826+
arguments:
1827+
value: 1000
1828+
response:
1829+
error: UNSUPPORTED_WRITE
1830+
1831+
- label:
1832+
"Step 46c: TH reads NumberOfAliroEndpointKeysSupported attribute from
1833+
DUT"
1834+
PICS: DRLK.S.F0d && DRLK.S.A0088
1835+
command: "readAttribute"
1836+
attribute: "NumberOfAliroEndpointKeysSupported"
1837+
response:
1838+
value: aliroepkeysupported

0 commit comments

Comments
 (0)