blob: eae707cc6c5c6804f918e0db2c9c36ab9cc35c0a [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: 111.3.2. [TC-DRLK-3.2] Commands [DUT - Client]
PICS:
- DRLK.C
config:
nodeId: 0x12344321
cluster: "Basic"
endpoint: 0
tests:
- label: "Note"
verification: |
For DUT as client test cases, Chip-tool command used below are an example to verify the functionality. For certification test, we expect DUT should have a capability or way to run the equivalent command.
disabled: true
- label: "Pre-Conditions"
verification: |
1. TH is commissioned with the DUT
2.Steps 4- 12 need a User added to the
lock
disabled: true
- label: "DUT sends Lock Door command to TH."
PICS: DRLK.C.C00.Tx
verification: |
./chip-tool doorlock lock-door 1 1 --timedInteractionTimeoutMs 1000
Verify the " Lock Door command response" on TH(lock-app):
[1654755271.172070][2969:2969] CHIP:DMG: InvokeRequestMessage =
[1654755271.172131][2969:2969] CHIP:DMG: {
[1654755271.172187][2969:2969] CHIP:DMG: suppressResponse = false,
[1654755271.172252][2969:2969] CHIP:DMG: timedRequest = true,
[1654755271.172311][2969:2969] CHIP:DMG: InvokeRequests =
[1654755271.172386][2969:2969] CHIP:DMG: [
[1654755271.172446][2969:2969] CHIP:DMG: CommandDataIB =
[1654755271.172520][2969:2969] CHIP:DMG: {
[1654755271.172583][2969:2969] CHIP:DMG: CommandPathIB =
[1654755271.172657][2969:2969] CHIP:DMG: {
[1654755271.172736][2969:2969] CHIP:DMG: EndpointId = 0x1,
[1654755271.172818][2969:2969] CHIP:DMG: ClusterId = 0x101,
[1654755271.172898][2969:2969] CHIP:DMG: CommandId = 0x0,
[1654755271.172973][2969:2969] CHIP:DMG: },
[1654755271.173050][2969:2969] CHIP:DMG:
[1654755271.173157][2969:2969] CHIP:DMG: CommandFields =
[1654755271.173236][2969:2969] CHIP:DMG: {
[1654755271.173311][2969:2969] CHIP:DMG: },
[1654755271.173381][2969:2969] CHIP:DMG: },
[1654755271.173457][2969:2969] CHIP:DMG:
[1654755271.173517][2969:2969] CHIP:DMG: ],
[1654755271.173587][2969:2969] CHIP:DMG:
[1654755271.173646][2969:2969] CHIP:DMG: InteractionModelRevision = 1
[1654755271.173703][2969:2969] CHIP:DMG: },
[1654755271.173834][2969:2969] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=o
[1654755271.173911][2969:2969] CHIP:DMG: AccessControl: allowed
[1654755271.173976][2969:2969] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0000
[1654755271.174044][2969:2969] CHIP:ZCL: Received command: LockDoor
[1654755271.174112][2969:2969] CHIP:ZCL: Lock App: PIN code is not specified, setting door lock state to "Locked" [endpointId=1]
disabled: true
- label: "DUT sends Unlock Door command to TH."
PICS: DRLK.C.C01.Tx
verification: |
./chip-tool doorlock unlock-door 1 1 --timedInteractionTimeoutMs 1000
Verify the " Unlock Door command response" on TH(lock-app):
[1654755356.562412][2969:2969] CHIP:DMG: InvokeRequestMessage =
[1654755356.562459][2969:2969] CHIP:DMG: {
[1654755356.562503][2969:2969] CHIP:DMG: suppressResponse = false,
[1654755356.562552][2969:2969] CHIP:DMG: timedRequest = true,
[1654755356.562598][2969:2969] CHIP:DMG: InvokeRequests =
[1654755356.562645][2969:2969] CHIP:DMG: [
[1654755356.562673][2969:2969] CHIP:DMG: CommandDataIB =
[1654755356.562712][2969:2969] CHIP:DMG: {
[1654755356.562741][2969:2969] CHIP:DMG: CommandPathIB =
[1654755356.562778][2969:2969] CHIP:DMG: {
[1654755356.562816][2969:2969] CHIP:DMG: EndpointId = 0x1,
[1654755356.562855][2969:2969] CHIP:DMG: ClusterId = 0x101,
[1654755356.562897][2969:2969] CHIP:DMG: CommandId = 0x1,
[1654755356.562929][2969:2969] CHIP:DMG: },
[1654755356.562966][2969:2969] CHIP:DMG:
[1654755356.562996][2969:2969] CHIP:DMG: CommandFields =
[1654755356.563030][2969:2969] CHIP:DMG: {
[1654755356.563062][2969:2969] CHIP:DMG: },
[1654755356.563095][2969:2969] CHIP:DMG: },
[1654755356.563129][2969:2969] CHIP:DMG:
[1654755356.563156][2969:2969] CHIP:DMG: ],
[1654755356.563190][2969:2969] CHIP:DMG:
[1654755356.563219][2969:2969] CHIP:DMG: InteractionModelRevision = 1
[1654755356.563245][2969:2969] CHIP:DMG: },
[1654755356.563318][2969:2969] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=o
[1654755356.563360][2969:2969] CHIP:DMG: AccessControl: allowed
[1654755356.563392][2969:2969] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0001
[1654755356.563426][2969:2969] CHIP:ZCL: Received command: UnlockDoor
[1654755356.563464][2969:2969] CHIP:ZCL: Lock App: PIN code is not specified, setting door lock state to "Unlocked" [endpointId=1]
disabled: true
- label: "DUT sends Unlock with Timeout command to TH."
PICS: DRLK.C.C03.Tx
verification: |
./chip-tool doorlock unlock-with-timeout 60 1 1 --timedInteractionTimeoutMs 1000
Verify the " Unlock with Timeout command response" on TH(lock-app):
[1654755446.175911][2969:2969] CHIP:DMG: InvokeRequestMessage =
[1654755446.175940][2969:2969] CHIP:DMG: {
[1654755446.175966][2969:2969] CHIP:DMG: suppressResponse = false,
[1654755446.175996][2969:2969] CHIP:DMG: timedRequest = true,
[1654755446.176024][2969:2969] CHIP:DMG: InvokeRequests =
[1654755446.176060][2969:2969] CHIP:DMG: [
[1654755446.176088][2969:2969] CHIP:DMG: CommandDataIB =
[1654755446.176120][2969:2969] CHIP:DMG: {
[1654755446.176149][2969:2969] CHIP:DMG: CommandPathIB =
[1654755446.176184][2969:2969] CHIP:DMG: {
[1654755446.176220][2969:2969] CHIP:DMG: EndpointId = 0x1,
[1654755446.176262][2969:2969] CHIP:DMG: ClusterId = 0x101,
[1654755446.176299][2969:2969] CHIP:DMG: CommandId = 0x3,
[1654755446.176333][2969:2969] CHIP:DMG: },
[1654755446.176369][2969:2969] CHIP:DMG:
[1654755446.176399][2969:2969] CHIP:DMG: CommandFields =
[1654755446.176433][2969:2969] CHIP:DMG: {
[1654755446.176468][2969:2969] CHIP:DMG: 0x0 = 60,
[1654755446.176505][2969:2969] CHIP:DMG: },
[1654755446.176537][2969:2969] CHIP:DMG: },
[1654755446.176570][2969:2969] CHIP:DMG:
[1654755446.176597][2969:2969] CHIP:DMG: ],
[1654755446.176631][2969:2969] CHIP:DMG:
[1654755446.176658][2969:2969] CHIP:DMG: InteractionModelRevision = 1
[1654755446.176684][2969:2969] CHIP:DMG: },
[1654755446.176753][2969:2969] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=o
[1654755446.176794][2969:2969] CHIP:DMG: AccessControl: allowed
[1654755446.176824][2969:2969] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0003
[1654755446.176859][2969:2969] CHIP:ZCL: Received command: UnlockWithTimeout
[1654755446.176894][2969:2969] CHIP:ZCL: Lock App: PIN code is not specified, setting door lock state to "Unlocked" [endpointId=1]
[1654755446.177192][2969:2969] CHIP:DL: writing settings to file (/tmp/chip_kvs-hxxoxQ)
[1654755446.178480][2969:2969] CHIP:DL: renamed tmp file to file (/tmp/chip_kvs)
[1654755446.178546][2969:2969] CHIP:DMG: Endpoint 1, Cluster 0x0000_0101 update version to 65687ba9
disabled: true
- label: "DUT sends Set Week Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C0b.Tx
verification: |
./chip-tool doorlock set-user 0 1 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000
Verify the " Set user command response" on TH(lock-app):
[1658398796.181348][2474:2474] CHIP:DMG: InvokeRequestMessage =
[1658398796.181385][2474:2474] CHIP:DMG: {
[1658398796.181419][2474:2474] CHIP:DMG: suppressResponse = false,
[1658398796.181457][2474:2474] CHIP:DMG: timedRequest = true,
[1658398796.181493][2474:2474] CHIP:DMG: InvokeRequests =
[1658398796.181542][2474:2474] CHIP:DMG: [
[1658398796.181578][2474:2474] CHIP:DMG: CommandDataIB =
[1658398796.181618][2474:2474] CHIP:DMG: {
[1658398796.181656][2474:2474] CHIP:DMG: CommandPathIB =
[1658398796.181703][2474:2474] CHIP:DMG: {
[1658398796.181750][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658398796.181800][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658398796.181848][2474:2474] CHIP:DMG: CommandId = 0x1a,
[1658398796.181892][2474:2474] CHIP:DMG: },
[1658398796.181939][2474:2474] CHIP:DMG:
[1658398796.181981][2474:2474] CHIP:DMG: CommandFields =
[1658398796.182026][2474:2474] CHIP:DMG: {
[1658398796.182072][2474:2474] CHIP:DMG: 0x0 = 0,
[1658398796.182120][2474:2474] CHIP:DMG: 0x1 = 2,
[1658398796.182171][2474:2474] CHIP:DMG: 0x2 = "xxx",
[1658398796.182220][2474:2474] CHIP:DMG: 0x3 = 6452,
[1658398796.182269][2474:2474] CHIP:DMG: 0x4 = 1,
[1658398796.182322][2474:2474] CHIP:DMG: 0x5 = 0,
[1658398796.182371][2474:2474] CHIP:DMG: 0x6 = 0,
[1658398796.182419][2474:2474] CHIP:DMG: },
[1658398796.182462][2474:2474] CHIP:DMG: },
[1658398796.182512][2474:2474] CHIP:DMG:
[1658398796.182547][2474:2474] CHIP:DMG: ],
[1658398796.182594][2474:2474] CHIP:DMG:
[1658398796.182629][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658398796.182664][2474:2474] CHIP:DMG: },
[1658398796.182758][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658398796.182809][2474:2474] CHIP:DMG: AccessControl: allowed
./chip-tool doorlock set-week-day-schedule 1 1 2 15 45 16 55 1 1
Verify the " Set Week Day Schedule command response" on TH(lock-app):
[1657115333.959925][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115333.959993][8804:8804] CHIP:DMG: {
[1657115333.960051][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115333.960172][8804:8804] CHIP:DMG: timedRequest = false,
[1657115333.960233][8804:8804] CHIP:DMG: InvokeRequests =
[1657115333.960314][8804:8804] CHIP:DMG: [
[1657115333.960373][8804:8804] CHIP:DMG: CommandDataIB =
[1657115333.960466][8804:8804] CHIP:DMG: {
[1657115333.960529][8804:8804] CHIP:DMG: CommandPathIB =
[1657115333.960626][8804:8804] CHIP:DMG: {
[1657115333.960728][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115333.960812][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115333.960954][8804:8804] CHIP:DMG: CommandId = 0xb,
[1657115333.961035][8804:8804] CHIP:DMG: },
[1657115333.961137][8804:8804] CHIP:DMG:
[1657115333.961225][8804:8804] CHIP:DMG: CommandFields =
[1657115333.961302][8804:8804] CHIP:DMG: {
[1657115333.961402][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115333.961486][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115333.961588][8804:8804] CHIP:DMG: 0x2 = 2,
[1657115333.961689][8804:8804] CHIP:DMG: 0x3 = 15,
[1657115333.961772][8804:8804] CHIP:DMG: 0x4 = 45,
[1657115333.961884][8804:8804] CHIP:DMG: 0x5 = 16,
[1657115333.961991][8804:8804] CHIP:DMG: 0x6 = 55,
[1657115333.962071][8804:8804] CHIP:DMG: },
[1657115333.962165][8804:8804] CHIP:DMG: },
[1657115333.962247][8804:8804] CHIP:DMG:
[1657115333.962306][8804:8804] CHIP:DMG: ],
[1657115333.962531][8804:8804] CHIP:DMG:
[1657115333.962594][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115333.962653][8804:8804] CHIP:DMG: },
[1657115333.962812][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115333.962897][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115333.962963][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000B
[1657115333.963068][8804:8804] CHIP:ZCL: [SetWeekDaySchedule] Incoming command [endpointId=1]
disabled: true
- label: "DUT sends Get Week Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C0c.Tx
verification: |
./chip-tool doorlock get-week-day-schedule 1 1 1 1
Verify the " Get Week Day Schedule command response" on TH(lock-app):
[1657115377.506828][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115377.506895][8804:8804] CHIP:DMG: {
[1657115377.506981][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115377.507048][8804:8804] CHIP:DMG: timedRequest = false,
[1657115377.507109][8804:8804] CHIP:DMG: InvokeRequests =
[1657115377.507210][8804:8804] CHIP:DMG: [
[1657115377.507271][8804:8804] CHIP:DMG: CommandDataIB =
[1657115377.507359][8804:8804] CHIP:DMG: {
[1657115377.507422][8804:8804] CHIP:DMG: CommandPathIB =
[1657115377.507520][8804:8804] CHIP:DMG: {
[1657115377.507620][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115377.507713][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115377.507814][8804:8804] CHIP:DMG: CommandId = 0xc,
[1657115377.507911][8804:8804] CHIP:DMG: },
[1657115377.507991][8804:8804] CHIP:DMG:
[1657115377.508082][8804:8804] CHIP:DMG: CommandFields =
[1657115377.508161][8804:8804] CHIP:DMG: {
[1657115377.508261][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115377.508364][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115377.508454][8804:8804] CHIP:DMG: },
[1657115377.508553][8804:8804] CHIP:DMG: },
[1657115377.508634][8804:8804] CHIP:DMG:
[1657115377.508715][8804:8804] CHIP:DMG: ],
[1657115377.508810][8804:8804] CHIP:DMG:
[1657115377.508906][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115377.508966][8804:8804] CHIP:DMG: },
[1657115377.509153][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115377.509236][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115377.509323][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000C
[1657115377.509415][8804:8804] CHIP:ZCL: [GetWeekDaySchedule] Incoming command [endpointId=1]
[1657115377.509486][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1657115377.509559][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0]
[1657115377.509611][8804:8804] CHIP:ZCL: [GetWeekDaySchedule] User does not exist [endpointId=1,weekDayIndex=1,userIndex=1]
disabled: true
- label: "DUT sends Clear Week Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C0d.Tx
verification: |
./chip-tool doorlock clear-week-day-schedule 1 1 1 1
Verify the " Clear Week Day Schedule command response" on TH(lock-app):
[1657115416.513747][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115416.513812][8804:8804] CHIP:DMG: {
[1657115416.513895][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115416.513960][8804:8804] CHIP:DMG: timedRequest = false,
[1657115416.514021][8804:8804] CHIP:DMG: InvokeRequests =
[1657115416.514117][8804:8804] CHIP:DMG: [
[1657115416.514180][8804:8804] CHIP:DMG: CommandDataIB =
[1657115416.514267][8804:8804] CHIP:DMG: {
[1657115416.514332][8804:8804] CHIP:DMG: CommandPathIB =
[1657115416.514432][8804:8804] CHIP:DMG: {
[1657115416.514517][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115416.514621][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115416.514722][8804:8804] CHIP:DMG: CommandId = 0xd,
[1657115416.514800][8804:8804] CHIP:DMG: },
[1657115416.514903][8804:8804] CHIP:DMG:
[1657115416.514972][8804:8804] CHIP:DMG: CommandFields =
[1657115416.515069][8804:8804] CHIP:DMG: {
[1657115416.515171][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115416.515255][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115416.515368][8804:8804] CHIP:DMG: },
[1657115416.515441][8804:8804] CHIP:DMG: },
[1657115416.515516][8804:8804] CHIP:DMG:
[1657115416.515574][8804:8804] CHIP:DMG: ],
[1657115416.515649][8804:8804] CHIP:DMG:
[1657115416.515706][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115416.515763][8804:8804] CHIP:DMG: },
[1657115416.515907][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115416.515990][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115416.516055][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000D
[1657115416.516144][8804:8804] CHIP:ZCL: [ClearWeekDaySchedule] Incoming command [endpointId=1]
[1657115416.516219][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1657115416.516273][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0]
[1657115416.516324][8804:8804] CHIP:ZCL: [ClearWeekDaySchedule] User does not exist [endpointId=1,weekDayIndex=1,userIndex=1]
disabled: true
- label: "DUT sends Set Year Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C0e.Tx
verification: |
./chip-tool doorlock set-year-day-schedule 1 1 1080 2100 1 1
Verify the " Set Year Day Schedule command response" on TH(lock-app):
[1657115453.534892][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115453.534959][8804:8804] CHIP:DMG: {
[1657115453.535016][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115453.535118][8804:8804] CHIP:DMG: timedRequest = false,
[1657115453.535180][8804:8804] CHIP:DMG: InvokeRequests =
[1657115453.535260][8804:8804] CHIP:DMG: [
[1657115453.535344][8804:8804] CHIP:DMG: CommandDataIB =
[1657115453.535416][8804:8804] CHIP:DMG: {
[1657115453.535501][8804:8804] CHIP:DMG: CommandPathIB =
[1657115453.535585][8804:8804] CHIP:DMG: {
[1657115453.535690][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115453.535800][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115453.535892][8804:8804] CHIP:DMG: CommandId = 0xe,
[1657115453.535999][8804:8804] CHIP:DMG: },
[1657115453.536100][8804:8804] CHIP:DMG:
[1657115453.536166][8804:8804] CHIP:DMG: CommandFields =
[1657115453.536262][8804:8804] CHIP:DMG: {
[1657115453.536441][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115453.536559][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115453.536675][8804:8804] CHIP:DMG: 0x2 = 1080,
[1657115453.536764][8804:8804] CHIP:DMG: 0x3 = 2100,
[1657115453.536963][8804:8804] CHIP:DMG: },
[1657115453.537066][8804:8804] CHIP:DMG: },
[1657115453.537153][8804:8804] CHIP:DMG:
[1657115453.537233][8804:8804] CHIP:DMG: ],
[1657115453.537331][8804:8804] CHIP:DMG:
[1657115453.537392][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115453.537451][8804:8804] CHIP:DMG: },
[1657115453.537622][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115453.537721][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115453.537788][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000E
[1657115453.537908][8804:8804] CHIP:ZCL: [SetYearDaySchedule] incoming command [endpointId=1]
[1657115453.537984][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1657115453.538064][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0]
[1657115453.538119][8804:8804] CHIP:ZCL: [SetYearDaySchedule] Unable to add schedule - user does not exist [endpointId=1,yearDayIndex=1,userIndex=1]
disabled: true
- label: "DUT sends Get Year Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C0f.Tx
verification: |
./chip-tool doorlock get-year-day-schedule 1 1 1 1
Verify the " Get Year Day Schedule command response" on TH(lock-app):
[1657115480.383098][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115480.383167][8804:8804] CHIP:DMG: {
[1657115480.383226][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115480.383381][8804:8804] CHIP:DMG: timedRequest = false,
[1657115480.383452][8804:8804] CHIP:DMG: InvokeRequests =
[1657115480.383530][8804:8804] CHIP:DMG: [
[1657115480.383590][8804:8804] CHIP:DMG: CommandDataIB =
[1657115480.383706][8804:8804] CHIP:DMG: {
[1657115480.383801][8804:8804] CHIP:DMG: CommandPathIB =
[1657115480.383895][8804:8804] CHIP:DMG: {
[1657115480.384010][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115480.384115][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115480.384207][8804:8804] CHIP:DMG: CommandId = 0xf,
[1657115480.384314][8804:8804] CHIP:DMG: },
[1657115480.384416][8804:8804] CHIP:DMG:
[1657115480.384488][8804:8804] CHIP:DMG: CommandFields =
[1657115480.384594][8804:8804] CHIP:DMG: {
[1657115480.384710][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115480.384805][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115480.384944][8804:8804] CHIP:DMG: },
[1657115480.385030][8804:8804] CHIP:DMG: },
[1657115480.385108][8804:8804] CHIP:DMG:
[1657115480.385187][8804:8804] CHIP:DMG: ],
[1657115480.385264][8804:8804] CHIP:DMG:
[1657115480.385344][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115480.385404][8804:8804] CHIP:DMG: },
[1657115480.385578][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115480.385685][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115480.385759][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_000F
[1657115480.385873][8804:8804] CHIP:ZCL: [GetYearDaySchedule] incoming command [endpointId=1]
[1657115480.385965][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1657115480.386022][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0]
[1657115480.386076][8804:8804] CHIP:ZCL: [GetYearDaySchedule] User does not exist [endpointId=1,yearDayIndex=1,userIndex=1]
disabled: true
- label: "DUT sends Clear Year Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C10.Tx
verification: |
./chip-tool doorlock clear-year-day-schedule 1 1 1 1
Verify the " Clear Year Day Schedule command response" on TH(lock-app):
[1657115522.132250][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115522.132318][8804:8804] CHIP:DMG: {
[1657115522.132375][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115522.132442][8804:8804] CHIP:DMG: timedRequest = false,
[1657115522.132502][8804:8804] CHIP:DMG: InvokeRequests =
[1657115522.132578][8804:8804] CHIP:DMG: [
[1657115522.132639][8804:8804] CHIP:DMG: CommandDataIB =
[1657115522.132708][8804:8804] CHIP:DMG: {
[1657115522.132771][8804:8804] CHIP:DMG: CommandPathIB =
[1657115522.132909][8804:8804] CHIP:DMG: {
[1657115522.132996][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115522.133086][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115522.133178][8804:8804] CHIP:DMG: CommandId = 0x10,
[1657115522.133265][8804:8804] CHIP:DMG: },
[1657115522.133349][8804:8804] CHIP:DMG:
[1657115522.133414][8804:8804] CHIP:DMG: CommandFields =
[1657115522.133490][8804:8804] CHIP:DMG: {
[1657115522.133573][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115522.133664][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115522.133755][8804:8804] CHIP:DMG: },
[1657115522.133826][8804:8804] CHIP:DMG: },
[1657115522.133903][8804:8804] CHIP:DMG:
[1657115522.133962][8804:8804] CHIP:DMG: ],
[1657115522.134036][8804:8804] CHIP:DMG:
[1657115522.134095][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115522.134152][8804:8804] CHIP:DMG: },
[1657115522.134302][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115522.134389][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115522.134457][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0010
[1657115522.134565][8804:8804] CHIP:ZCL: [ClearYearDaySchedule] incoming command [endpointId=1]
[1657115522.134647][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1657115522.134703][8804:8804] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=0]
[1657115522.134757][8804:8804] CHIP:ZCL: [ClearYearDaySchedule] User does not exist [endpointId=1,yearDayIndex=1,userIndex=1]
disabled: true
- label: "DUT sends Set Holiday Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C11.Tx
verification: |
./chip-tool doorlock set-holiday-schedule 1 20 30 0 1 1
Verify the " Set Holiday Day Schedule command response" on TH(lock-app):
[1657115547.835987][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115547.836055][8804:8804] CHIP:DMG: {
[1657115547.836111][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115547.836192][8804:8804] CHIP:DMG: timedRequest = false,
[1657115547.836254][8804:8804] CHIP:DMG: InvokeRequests =
[1657115547.836332][8804:8804] CHIP:DMG: [
[1657115547.836392][8804:8804] CHIP:DMG: CommandDataIB =
[1657115547.836464][8804:8804] CHIP:DMG: {
[1657115547.836532][8804:8804] CHIP:DMG: CommandPathIB =
[1657115547.836616][8804:8804] CHIP:DMG: {
[1657115547.836696][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115547.836785][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115547.836912][8804:8804] CHIP:DMG: CommandId = 0x11,
[1657115547.836989][8804:8804] CHIP:DMG: },
[1657115547.837069][8804:8804] CHIP:DMG:
[1657115547.837139][8804:8804] CHIP:DMG: CommandFields =
[1657115547.837214][8804:8804] CHIP:DMG: {
[1657115547.837294][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115547.837382][8804:8804] CHIP:DMG: 0x1 = 20,
[1657115547.837464][8804:8804] CHIP:DMG: 0x2 = 30,
[1657115547.837542][8804:8804] CHIP:DMG: 0x3 = 0,
[1657115547.837624][8804:8804] CHIP:DMG: },
[1657115547.837693][8804:8804] CHIP:DMG: },
[1657115547.837768][8804:8804] CHIP:DMG:
[1657115547.837826][8804:8804] CHIP:DMG: ],
[1657115547.837901][8804:8804] CHIP:DMG:
[1657115547.837959][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115547.838016][8804:8804] CHIP:DMG: },
[1657115547.838163][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115547.838247][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115547.838313][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0011
[1657115547.838409][8804:8804] CHIP:ZCL: [SetHolidaySchedule] incoming command [endpointId=1]
[1657115547.838475][8804:8804] CHIP:ZCL: [SetHolidaySchedule] Successfully created new schedule [endpointId=1,scheduleIndex=1,localStartTime=20,endTime=30,operatingMode=0]
disabled: true
- label: "DUT sends Get Holiday Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C12.Tx
verification: |
./chip-tool doorlock get-holiday-schedule 1 1 1
Verify the " Get Holiday Day Schedule command response" on TH(lock-app):
[1655380520.601439][3411:3411] CHIP:DMG: {
[1655380520.601461][3411:3411] CHIP:DMG: suppressResponse = false,
[1655380520.601487][3411:3411] CHIP:DMG: timedRequest = false,
[1655380520.601512][3411:3411] CHIP:DMG: InvokeRequests =
[1655380520.601543][3411:3411] CHIP:DMG: [
[1655380520.601567][3411:3411] CHIP:DMG: CommandDataIB =
[1655380520.601596][3411:3411] CHIP:DMG: {
[1655380520.601621][3411:3411] CHIP:DMG: CommandPathIB =
[1655380520.601652][3411:3411] CHIP:DMG: {
[1655380520.601683][3411:3411] CHIP:DMG: EndpointId = 0x1,
[1655380520.601719][3411:3411] CHIP:DMG: ClusterId = 0x101,
[1655380520.601751][3411:3411] CHIP:DMG: CommandId = 0x12,
[1655380520.601781][3411:3411] CHIP:DMG: },
[1655380520.601813][3411:3411] CHIP:DMG:
[1655380520.601839][3411:3411] CHIP:DMG: CommandFields =
[1655380520.601870][3411:3411] CHIP:DMG: {
[1655380520.601901][3411:3411] CHIP:DMG: 0x0 = 1,
[1655380520.601936][3411:3411] CHIP:DMG: },
[1655380520.601964][3411:3411] CHIP:DMG: },
[1655380520.601993][3411:3411] CHIP:DMG:
[1655380520.602017][3411:3411] CHIP:DMG: ],
[1655380520.602046][3411:3411] CHIP:DMG:
[1655380520.602070][3411:3411] CHIP:DMG: InteractionModelRevision = 1
[1655380520.602093][3411:3411] CHIP:DMG: },
[1655380520.602157][3411:3411] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1655380520.602194][3411:3411] CHIP:DMG: AccessControl: allowed
[1655380520.602221][3411:3411] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0012
disabled: true
- label: "DUT sends Clear Holiday Day Schedule command to TH."
PICS: DRLK.S.F04 && DRLK.C.C13.Tx
verification: |
./chip-tool doorlock clear-holiday-schedule 1 1 1
Verify the " Clear Holiday Day Schedule command response" on TH(lock-app):
[1657115633.501630][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115633.501697][8804:8804] CHIP:DMG: {
[1657115633.501754][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115633.501831][8804:8804] CHIP:DMG: timedRequest = false,
[1657115633.501894][8804:8804] CHIP:DMG: InvokeRequests =
[1657115633.501971][8804:8804] CHIP:DMG: [
[1657115633.502031][8804:8804] CHIP:DMG: CommandDataIB =
[1657115633.502106][8804:8804] CHIP:DMG: {
[1657115633.502177][8804:8804] CHIP:DMG: CommandPathIB =
[1657115633.502265][8804:8804] CHIP:DMG: {
[1657115633.502356][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115633.502445][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115633.502536][8804:8804] CHIP:DMG: CommandId = 0x13,
[1657115633.502622][8804:8804] CHIP:DMG: },
[1657115633.502713][8804:8804] CHIP:DMG:
[1657115633.502786][8804:8804] CHIP:DMG: CommandFields =
[1657115633.502871][8804:8804] CHIP:DMG: {
[1657115633.502962][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115633.503045][8804:8804] CHIP:DMG: },
[1657115633.503129][8804:8804] CHIP:DMG: },
[1657115633.503210][8804:8804] CHIP:DMG:
[1657115633.503269][8804:8804] CHIP:DMG: ],
[1657115633.503342][8804:8804] CHIP:DMG:
[1657115633.503401][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115633.503458][8804:8804] CHIP:DMG: },
[1657115633.503600][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115633.503688][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115633.503755][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0013
[1657115633.503847][8804:8804] CHIP:ZCL: [ClearHolidaySchedule] incoming command [endpointId=1,scheduleIndex=1]
[1657115633.503912][8804:8804] CHIP:ZCL: [ClearHolidaySchedule] Clearing a single schedule [endpointId=1,scheduleIndex=1]
disabled: true
- label: "DUT sends Set USer command to TH."
PICS: DRLK.S.F08 && DRLK.C.C1a.Tx
verification: |
./chip-tool doorlock set-user 0 2 xxx 6452 1 0 0 1 1 --timedInteractionTimeoutMs 1000
Verify the " Set User Day Schedule command response" on TH(lock-app):
[1658398796.181348][2474:2474] CHIP:DMG: InvokeRequestMessage =
[1658398796.181385][2474:2474] CHIP:DMG: {
[1658398796.181419][2474:2474] CHIP:DMG: suppressResponse = false,
[1658398796.181457][2474:2474] CHIP:DMG: timedRequest = true,
[1658398796.181493][2474:2474] CHIP:DMG: InvokeRequests =
[1658398796.181542][2474:2474] CHIP:DMG: [
[1658398796.181578][2474:2474] CHIP:DMG: CommandDataIB =
[1658398796.181618][2474:2474] CHIP:DMG: {
[1658398796.181656][2474:2474] CHIP:DMG: CommandPathIB =
[1658398796.181703][2474:2474] CHIP:DMG: {
[1658398796.181750][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658398796.181800][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658398796.181848][2474:2474] CHIP:DMG: CommandId = 0x1a,
[1658398796.181892][2474:2474] CHIP:DMG: },
[1658398796.181939][2474:2474] CHIP:DMG:
[1658398796.181981][2474:2474] CHIP:DMG: CommandFields =
[1658398796.182026][2474:2474] CHIP:DMG: {
[1658398796.182072][2474:2474] CHIP:DMG: 0x0 = 0,
[1658398796.182120][2474:2474] CHIP:DMG: 0x1 = 2,
[1658398796.182171][2474:2474] CHIP:DMG: 0x2 = "xxx",
[1658398796.182220][2474:2474] CHIP:DMG: 0x3 = 6452,
[1658398796.182269][2474:2474] CHIP:DMG: 0x4 = 1,
[1658398796.182322][2474:2474] CHIP:DMG: 0x5 = 0,
[1658398796.182371][2474:2474] CHIP:DMG: 0x6 = 0,
[1658398796.182419][2474:2474] CHIP:DMG: },
[1658398796.182462][2474:2474] CHIP:DMG: },
[1658398796.182512][2474:2474] CHIP:DMG:
[1658398796.182547][2474:2474] CHIP:DMG: ],
[1658398796.182594][2474:2474] CHIP:DMG:
[1658398796.182629][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658398796.182664][2474:2474] CHIP:DMG: },
[1658398796.182758][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658398796.182809][2474:2474] CHIP:DMG: AccessControl: allowed
[1658398796.182849][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001A
[1658398796.182918][2474:2474] CHIP:ZCL: [SetUser] Incoming command [endpointId=1,userIndex=2]
[1658398796.182977][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=2]
[1658398796.183011][2474:2474] CHIP:ZCL: Found unoccupied user [endpoint=1,adjustedIndex=1]
[1658398796.183043][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=2,creator=1,modifier=1,userName="xxx",uniqueId=1934,userStatus=1,userType=0,credentialRule=0,credentials=(nil),totalCredentials=0]
[1658398796.183081][2474:2474] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=2,adjustedIndex=1]
disabled: true
- label: "DUT sends Get User to TH."
PICS: DRLK.S.F08 && DRLK.C.C1b.Tx
verification: |
./chip-tool doorlock get-user 2 1 1 --timedInteractionTimeoutMs 1000
Verify the " Get User Day Schedule command response" on TH(lock-app):
[1658398920.378963][2474:2474] CHIP:DMG: CommandPathIB =
[1658398920.378994][2474:2474] CHIP:DMG: {
[1658398920.379027][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658398920.379064][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658398920.379096][2474:2474] CHIP:DMG: CommandId = 0x1b,
[1658398920.379125][2474:2474] CHIP:DMG: },
[1658398920.379156][2474:2474] CHIP:DMG:
[1658398920.379185][2474:2474] CHIP:DMG: CommandFields =
[1658398920.379281][2474:2474] CHIP:DMG: {
[1658398920.379315][2474:2474] CHIP:DMG: 0x0 = 2,
[1658398920.379348][2474:2474] CHIP:DMG: },
[1658398920.379377][2474:2474] CHIP:DMG: },
[1658398920.379408][2474:2474] CHIP:DMG:
[1658398920.379433][2474:2474] CHIP:DMG: ],
[1658398920.379463][2474:2474] CHIP:DMG:
[1658398920.379486][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658398920.379508][2474:2474] CHIP:DMG: },
[1658398920.379573][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658398920.379611][2474:2474] CHIP:DMG: AccessControl: allowed
[1658398920.379637][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001B
[1658398920.379669][2474:2474] CHIP:ZCL: [GetUser] Incoming command [endpointId=1,userIndex=2]
[1658398920.379707][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=2]
disabled: true
- label: "DUT sends Clear User command to TH.a"
PICS: DRLK.S.F08 && DRLK.C.C1d.Tx
verification: |
./chip-tool doorlock clear-user 2 1 1 --timedInteractionTimeoutMs 1000
Verify the " Clear User Day Schedule command response" on TH(lock-app):
[1658399465.849095][2474:2474] CHIP:DMG: CommandPathIB =
[1658399465.849133][2474:2474] CHIP:DMG: {
[1658399465.849169][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658399465.849208][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658399465.849245][2474:2474] CHIP:DMG: CommandId = 0x1d,
[1658399465.849279][2474:2474] CHIP:DMG: },
[1658399465.849316][2474:2474] CHIP:DMG:
[1658399465.849348][2474:2474] CHIP:DMG: CommandFields =
[1658399465.849386][2474:2474] CHIP:DMG: {
[1658399465.849422][2474:2474] CHIP:DMG: 0x0 = 2,
[1658399465.849459][2474:2474] CHIP:DMG: },
[1658399465.849491][2474:2474] CHIP:DMG: },
[1658399465.849528][2474:2474] CHIP:DMG:
[1658399465.849555][2474:2474] CHIP:DMG: ],
[1658399465.849589][2474:2474] CHIP:DMG:
[1658399465.849616][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658399465.849643][2474:2474] CHIP:DMG: },
[1658399465.849717][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658399465.849757][2474:2474] CHIP:DMG: AccessControl: allowed
[1658399465.849787][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001D
[1658399465.849824][2474:2474] CHIP:ZCL: [ClearUser] Incoming command [endpointId=1,userIndex=2]
[1658399465.849871][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=2]
[1658399465.849898][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=1,name="xxx",credentialsCount=0,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1]
[1658399465.849942][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=2,creator=0,modifier=0,userName="",uniqueId=0,userStatus=0,userType=0,credentialRule=0,credentials=(nil),totalCredentials=0]
[1658399465.849973][2474:2474] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=2,adjustedIndex=1]
disabled: true
- label: "DUT sends Set Credential command to TH.a"
PICS: DRLK.S.F08 && DRLK.C.C22.Tx
verification: |
./chip-tool doorlock set-credential 0 "{ "credentialType" : 1 , "credentialIndex" : 1 }" 123456 1 0 0 1 1 --timedInteractionTimeoutMs 1000
Verify the " Set Credential command response" on TH(lock-app):
[1658399006.369032][2474:2474] CHIP:DMG: CommandPathIB =
[1658399006.369075][2474:2474] CHIP:DMG: {
[1658399006.369119][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658399006.369164][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658399006.369209][2474:2474] CHIP:DMG: CommandId = 0x22,
[1658399006.369251][2474:2474] CHIP:DMG: },
[1658399006.369299][2474:2474] CHIP:DMG:
[1658399006.369337][2474:2474] CHIP:DMG: CommandFields =
[1658399006.369379][2474:2474] CHIP:DMG: {
[1658399006.369421][2474:2474] CHIP:DMG: 0x0 = 0,
[1658399006.369468][2474:2474] CHIP:DMG: 0x1 =
[1658399006.369511][2474:2474] CHIP:DMG: {
[1658399006.369560][2474:2474] CHIP:DMG: 0x0 = 1,
[1658399006.369606][2474:2474] CHIP:DMG: 0x1 = 1,
[1658399006.369652][2474:2474] CHIP:DMG: },
[1658399006.369697][2474:2474] CHIP:DMG: 0x2 = [
[1658399006.369745][2474:2474] CHIP:DMG: 0x31, 0x32, 0x33, 0x34, 0x35, 0x36,
[1658399006.369796][2474:2474] CHIP:DMG: ]
[1658399006.369841][2474:2474] CHIP:DMG: 0x3 = 1,
[1658399006.369889][2474:2474] CHIP:DMG: 0x4 = 0,
[1658399006.369937][2474:2474] CHIP:DMG: 0x5 = 0,
[1658399006.369979][2474:2474] CHIP:DMG: },
[1658399006.370017][2474:2474] CHIP:DMG: },
[1658399006.370063][2474:2474] CHIP:DMG:
[1658399006.370096][2474:2474] CHIP:DMG: ],
[1658399006.370140][2474:2474] CHIP:DMG:
[1658399006.370172][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658399006.370204][2474:2474] CHIP:DMG: },
[1658399006.370297][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658399006.370344][2474:2474] CHIP:DMG: AccessControl: allowed
[1658399006.370379][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0022
[1658399006.370446][2474:2474] CHIP:ZCL: [SetCredential] Incoming command [endpointId=1]
[1658399006.370498][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1]
[1658399006.370528][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2]
[1658399006.370563][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1]
[1658399006.370592][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1]
[1658399006.370619][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1]
[1658399006.370646][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2]
[1658399006.370672][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=3,credentialType=1]
[1658399006.370700][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=3]
[1658399006.370726][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=4,credentialType=1]
[1658399006.370753][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=4]
[1658399006.370780][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=5,credentialType=1]
[1658399006.370807][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=5]
[1658399006.370834][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=6,credentialType=1]
[1658399006.370861][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=6]
[1658399006.370888][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=7,credentialType=1]
[1658399006.370915][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=7]
[1658399006.370941][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=8,credentialType=1]
[1658399006.370968][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=8]
[1658399006.370995][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=9,credentialType=1]
[1658399006.371022][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=9]
[1658399006.371048][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=10,credentialType=1]
[1658399006.371076][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=10]
[1658399006.371102][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1]
[1658399006.371130][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1]
[1658399006.371164][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1658399006.371194][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=0,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1]
[1658399006.371255][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1658399006.371284][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=0,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1]
[1658399006.371321][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetUser [endpoint=1,userIndex=1,creator=1,modifier=1,userName="xxx",uniqueId=1934,userStatus=1,userType=0,credentialRule=0,credentials=0xaaaae780f570,totalCredentials=1]
[1658399006.371357][2474:2474] CHIP:ZCL: Successfully set the user [mEndpointId=1,index=1,adjustedIndex=0]
[1658399006.371385][2474:2474] CHIP:ZCL: [AddCredentialToUser] Credential added to user [endpointId=1,userIndex=1,credentialType=1,credentialIndex=1,userTotalCredentials=1]
[1658399006.371416][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::SetCredential [endpoint=1,credentialIndex=1,credentialStatus=1,credentialType=1,credentialDataSize=6,creator=1,modifier=1]
[1658399006.371447][2474:2474] CHIP:ZCL: Successfully set the credential [mEndpointId=1,index=1,credentialType=1,creator=1,modifier=1]
disabled: true
- label: "DUT sends Get Credential to TH."
PICS: DRLK.S.F08 && DRLK.C.C24.Tx
verification: |
./chip-tool doorlock get-credential-status "{ "credentialType" : 1 , "credentialIndex" : 1 }" 1 1 --timedInteractionTimeoutMs 1000
Verify the " Get Credential command response" on TH(lock-app):
[1658399098.914006][2474:2474] CHIP:DMG: CommandPathIB =
[1658399098.914053][2474:2474] CHIP:DMG: {
[1658399098.914144][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658399098.914180][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658399098.914213][2474:2474] CHIP:DMG: CommandId = 0x24,
[1658399098.914243][2474:2474] CHIP:DMG: },
[1658399098.914277][2474:2474] CHIP:DMG:
[1658399098.914305][2474:2474] CHIP:DMG: CommandFields =
[1658399098.914335][2474:2474] CHIP:DMG: {
[1658399098.914364][2474:2474] CHIP:DMG: 0x0 =
[1658399098.914395][2474:2474] CHIP:DMG: {
[1658399098.914428][2474:2474] CHIP:DMG: 0x0 = 1,
[1658399098.914462][2474:2474] CHIP:DMG: 0x1 = 1,
[1658399098.914496][2474:2474] CHIP:DMG: },
[1658399098.914528][2474:2474] CHIP:DMG: },
[1658399098.914556][2474:2474] CHIP:DMG: },
[1658399098.914588][2474:2474] CHIP:DMG:
[1658399098.914612][2474:2474] CHIP:DMG: ],
[1658399098.914642][2474:2474] CHIP:DMG:
[1658399098.914666][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658399098.914689][2474:2474] CHIP:DMG: },
[1658399098.914757][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658399098.914793][2474:2474] CHIP:DMG: AccessControl: allowed
[1658399098.914821][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0024
[1658399098.914859][2474:2474] CHIP:ZCL: [GetCredentialStatus] Incoming command [endpointId=1]
[1658399098.914896][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1]
[1658399098.914919][2474:2474] CHIP:ZCL: Found occupied credential [endpoint=1,index=1,type=1,dataSize=6,createdBy=1,modifiedBy=1]
[1658399098.914943][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetUser [endpoint=1,userIndex=1]
[1658399098.914966][2474:2474] CHIP:ZCL: Found occupied user [endpoint=1,adjustedIndex=0,name="xxx",credentialsCount=1,uniqueId=1934,type=0,credentialRule=0,createdBy=1,lastModifiedBy=1]
[1658399098.914995][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=2,credentialType=1]
[1658399098.915016][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=2]
[1658399098.915036][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=3,credentialType=1]
[1658399098.915056][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=3]
[1658399098.915075][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=4,credentialType=1]
[1658399098.915095][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=4]
[1658399098.915115][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=5,credentialType=1]
[1658399098.915135][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=5]
[1658399098.915155][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=6,credentialType=1]
[1658399098.915174][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=6]
[1658399098.915194][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=7,credentialType=1]
[1658399098.915245][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=7]
[1658399098.915267][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=8,credentialType=1]
[1658399098.915287][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=8]
[1658399098.915307][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=9,credentialType=1]
[1658399098.915327][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=9]
[1658399098.915346][2474:2474] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=10,credentialType=1]
[1658399098.915366][2474:2474] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=10]
disabled: true
- label: "DUT sends Clear Credential command to TH."
PICS: DRLK.S.F08 && DRLK.C.C26.Tx
verification: |
./chip-tool doorlock clear-credential "{ "credentialType" : 1 , "credentialIndex" : 1 }" 1 1 --timedInteractionTimeoutMs 1000
Verify the " Clear Credential command response" on TH(lock-app):
[1657115878.582559][8804:8804] CHIP:DMG: InvokeRequestMessage =
[1657115878.582642][8804:8804] CHIP:DMG: {
[1657115878.582698][8804:8804] CHIP:DMG: suppressResponse = false,
[1657115878.582787][8804:8804] CHIP:DMG: timedRequest = true,
[1657115878.582848][8804:8804] CHIP:DMG: InvokeRequests =
[1657115878.582948][8804:8804] CHIP:DMG: [
[1657115878.583009][8804:8804] CHIP:DMG: CommandDataIB =
[1657115878.583098][8804:8804] CHIP:DMG: {
[1657115878.583161][8804:8804] CHIP:DMG: CommandPathIB =
[1657115878.583265][8804:8804] CHIP:DMG: {
[1657115878.583366][8804:8804] CHIP:DMG: EndpointId = 0x1,
[1657115878.583607][8804:8804] CHIP:DMG: ClusterId = 0x101,
[1657115878.583724][8804:8804] CHIP:DMG: CommandId = 0x26,
[1657115878.583802][8804:8804] CHIP:DMG: },
[1657115878.583906][8804:8804] CHIP:DMG:
[1657115878.583972][8804:8804] CHIP:DMG: CommandFields =
[1657115878.584068][8804:8804] CHIP:DMG: {
[1657115878.584155][8804:8804] CHIP:DMG: 0x0 =
[1657115878.584234][8804:8804] CHIP:DMG: {
[1657115878.584335][8804:8804] CHIP:DMG: 0x0 = 1,
[1657115878.584442][8804:8804] CHIP:DMG: 0x1 = 1,
[1657115878.584527][8804:8804] CHIP:DMG: },
[1657115878.584624][8804:8804] CHIP:DMG: },
[1657115878.584695][8804:8804] CHIP:DMG: },
[1657115878.584795][8804:8804] CHIP:DMG:
[1657115878.584890][8804:8804] CHIP:DMG: ],
[1657115878.584994][8804:8804] CHIP:DMG:
[1657115878.585054][8804:8804] CHIP:DMG: InteractionModelRevision = 1
[1657115878.585131][8804:8804] CHIP:DMG: },
[1657115878.585305][8804:8804] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1657115878.585416][8804:8804] CHIP:DMG: AccessControl: allowed
[1657115878.585483][8804:8804] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_0026
[1657115878.585589][8804:8804] CHIP:ZCL: [ClearCredential] Incoming command [endpointId=1]
[1657115878.585693][8804:8804] CHIP:ZCL: Lock App: LockEndpoint::GetCredential [endpoint=1,credentialIndex=1,credentialType=1]
[1657115878.585752][8804:8804] CHIP:ZCL: Found unoccupied credential [endpoint=1,index=1]
[1657115878.585802][8804:8804] CHIP:ZCL: [clearCredential] Ignored attempt to clear unoccupied credential slot [endpointId=1,credentialType=1,credentialIndex=1,modifier=1]
disabled: true
- label: ""
verification: |
./chip-tool doorlock clear-user 1 1 1 --timedInteractionTimeoutMs 1000
Verify the " clear-user command response" on TH(lock-app):
[1658399779.246157][2474:2474] CHIP:DMG: CommandDataIB =
[1658399779.246193][2474:2474] CHIP:DMG: {
[1658399779.246219][2474:2474] CHIP:DMG: CommandPathIB =
[1658399779.246258][2474:2474] CHIP:DMG: {
[1658399779.246301][2474:2474] CHIP:DMG: EndpointId = 0x1,
[1658399779.246336][2474:2474] CHIP:DMG: ClusterId = 0x101,
[1658399779.246381][2474:2474] CHIP:DMG: CommandId = 0x1d,
[1658399779.246411][2474:2474] CHIP:DMG: },
[1658399779.246452][2474:2474] CHIP:DMG:
[1658399779.246480][2474:2474] CHIP:DMG: CommandFields =
[1658399779.246519][2474:2474] CHIP:DMG: {
[1658399779.246562][2474:2474] CHIP:DMG: 0x0 = 1,
[1658399779.246595][2474:2474] CHIP:DMG: },
[1658399779.246631][2474:2474] CHIP:DMG: },
[1658399779.246662][2474:2474] CHIP:DMG:
[1658399779.246694][2474:2474] CHIP:DMG: ],
[1658399779.246732][2474:2474] CHIP:DMG:
[1658399779.246757][2474:2474] CHIP:DMG: InteractionModelRevision = 1
[1658399779.246788][2474:2474] CHIP:DMG: },
[1658399779.246862][2474:2474] CHIP:DMG: AccessControl: checking f=1 a=c s=0x000000000001B669 t= c=0x0000_0101 e=1 p=a
[1658399779.246899][2474:2474] CHIP:DMG: AccessControl: allowed
[1658399779.246926][2474:2474] CHIP:DMG: Received command for Endpoint=1 Cluster=0x0000_0101 Command=0x0000_001D
[1658399779.246958][2474:2474] CHIP:ZCL: [ClearUser] Incoming command [endpointId=1,userIndex=1]
disabled: true