Skip to content

Commit

Permalink
Add clear command door lock (#17872)
Browse files Browse the repository at this point in the history
* Add clear command to all cluster app.

* Generated code
  • Loading branch information
krypton36 authored and pull[bot] committed Nov 1, 2023
1 parent a9bd5c5 commit 1329454
Show file tree
Hide file tree
Showing 5 changed files with 50 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1222,6 +1222,11 @@ server cluster DoorLock = 257 {
INT16U userIndex = 1;
}

request struct ClearWeekDayScheduleRequest {
INT8U weekDayIndex = 0;
INT16U userIndex = 1;
}

request struct SetYearDayScheduleRequest {
INT8U yearDayIndex = 0;
INT16U userIndex = 1;
Expand Down Expand Up @@ -1299,6 +1304,7 @@ server cluster DoorLock = 257 {
timed command UnlockWithTimeout(UnlockWithTimeoutRequest): DefaultSuccess = 3;
command access(invoke: administer) SetWeekDaySchedule(SetWeekDayScheduleRequest): DefaultSuccess = 11;
command access(invoke: administer) GetWeekDaySchedule(GetWeekDayScheduleRequest): GetWeekDayScheduleResponse = 12;
command access(invoke: administer) ClearWeekDaySchedule(ClearWeekDayScheduleRequest): DefaultSuccess = 13;
command access(invoke: administer) SetYearDaySchedule(SetYearDayScheduleRequest): DefaultSuccess = 14;
command access(invoke: administer) GetYearDaySchedule(GetYearDayScheduleRequest): GetYearDayScheduleResponse = 15;
timed command access(invoke: administer) SetUser(SetUserRequest): DefaultSuccess = 26;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10800,6 +10800,14 @@
"incoming": 1,
"outgoing": 0
},
{
"name": "ClearWeekDaySchedule",
"code": 13,
"mfgCode": null,
"source": "client",
"incoming": 1,
"outgoing": 0
},
{
"name": "SetYearDaySchedule",
"code": 14,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions zzz_generated/all-clusters-app/zap-generated/access.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 24 additions & 23 deletions zzz_generated/all-clusters-app/zap-generated/endpoint_config.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 1329454

Please sign in to comment.