Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DRLK] Add fabric restrictions to SetWeekDaySchedule and SetYearDaySchedule #34138

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

jrhees-cae
Copy link
Contributor

Add fabric restrictions to SetWeekDaySchedule and SetYearDaySchedule commands to
allow schedules to be added/modified only by the fabric that created the corresponding user.

Update YAML schedule test to verify behavior

Accompanies DRLK spec change: https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/10005

…commands to

allow schedules to be added/modified only by the fabric that created
the corresponding user.

Update YAML schedule test to verify behavior

Accompanies DRLK spec change:
    CHIP-Specifications/connectedhomeip-spec#10005
Comment on lines +1916 to +1917
void DoorLockServer::updateLastModifiedFabricIndexOfUser(chip::EndpointId endpointId, uint16_t userIndex,
EmberAfPluginDoorLockUserInfo & userInfo, chip::FabricIndex fabricIndex)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
void DoorLockServer::updateLastModifiedFabricIndexOfUser(chip::EndpointId endpointId, uint16_t userIndex,
EmberAfPluginDoorLockUserInfo & userInfo, chip::FabricIndex fabricIndex)
void DoorLockServer::updateLastModifiedFabricIndexOfUser(EndpointId endpointId, uint16_t userIndex,
EmberAfPluginDoorLockUserInfo & userInfo, FabricIndex fabricIndex)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment