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

samples: matter: Introduce Timed Schedule Access in Lock #15485

Merged
merged 2 commits into from
May 29, 2024

Conversation

ArekBalysNordic
Copy link
Contributor

  • Regenerated Matter Lock Zap to include Timed Schedule Access feature

  • Added Schedules for WeekDay, YearDay and Holiday to the credentials manager according to Matter
    Specification.

  • Implemented callbacks for the schedule feature required by door-lock-server.

  • Moved credentials manager users, schedules and credentials implementations to separate files due to a high number of lines in the credentials_manager.cpp file.

  • Added a guide to Matter Lock sample on how to use this feature.

  • Updated release notes.

@github-actions github-actions bot added the doc-required PR must not be merged without tech writer approval. label May 24, 2024
@NordicBuilder
Copy link
Contributor

NordicBuilder commented May 24, 2024

Test specification

CI/Jenkins/NRF

  • Integration Platforms

CI/Jenkins/integration

Test Module File based changes Manually selected West overwrite
test-fw-nrfconnect-chip X

Detailed information of selected test modules

Note: This message is automatically posted and updated by the CI

@NordicBuilder
Copy link
Contributor

You can find the documentation preview for this PR at this link. It will be updated about 10 minutes after the documentation build succeeds.

Note: This comment is automatically posted by the Documentation Publishing GitHub Action.

samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
@ArekBalysNordic ArekBalysNordic force-pushed the schedule-timed-access branch 2 times, most recently from 8b785d3 to d47a11d Compare May 24, 2024 12:31
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
@ArekBalysNordic ArekBalysNordic force-pushed the schedule-timed-access branch 2 times, most recently from caad01e to 2ef70ee Compare May 27, 2024 13:39
samples/matter/lock/src/credentials/credentials_manager.h Outdated Show resolved Hide resolved
@@ -32,6 +55,15 @@ config LOCK_ENABLE_DEBUG

if LOCK_ENABLE_DEBUG

config LOCK_PRINT_STORAGE_STATUS
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it used anywhere? I can't find it.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It is used in the credentials_storage.cpp please check one more time. Previously it was used but never defined in Kconfig. It is a fix for that.

@ArekBalysNordic
Copy link
Contributor Author

@kkasperczyk-no I've changed the naming from credentials to access, please review the recent changes.

@wiba-nordic
Copy link
Contributor

@kkasperczyk-no I've changed the naming from credentials to access, please review the recent changes.

Did you check if we mention the module elsewhere in the documentation?

@ArekBalysNordic
Copy link
Contributor Author

@kkasperczyk-no I've changed the naming from credentials to access, please review the recent changes.

Did you check if we mention the module elsewhere in the documentation?

I found several places, however I hope I've replaced all of them.

samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
samples/matter/lock/README.rst Outdated Show resolved Hide resolved
ArekBalysNordic and others added 2 commits May 29, 2024 12:20
- Regenerated Matter Lock Zap to include Timed Schedule
Access feature

- Added Schedules for WeekDay, YearDay and Holiday
to the credentials manager according to Matter
Specification.

- Implemented callbacks for the schedule feature required
by door-lock-server.

- Moved credentials manager users, schedules and credentials
implementations to separate files due to a high number
of lines in the credentials_manager.cpp file.

- Added a guide to Matter Lock sample on how to use this
feature.

- Added guide how to enable the timed-access schedule feature

- Updated release notes.

- Changed names from credentials to access

Signed-off-by: Arkadiusz Balys <[email protected]>
Added description on how to enable Time Synchronization cluster
with all required types.

Signed-off-by: Marcin Kajor <[email protected]>
@rlubos rlubos merged commit 2001e6d into nrfconnect:main May 29, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
doc-required PR must not be merged without tech writer approval.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants