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

[ICD] Add read handler callback to negociate max sub interval #24414

Merged
merged 13 commits into from
Jan 21, 2023

Conversation

mkardous-silabs
Copy link
Contributor

Description

Add a generic read handler callback to allow ICD device to change max interval to set their sleep time.

Tests

manual tests with an efr32

examples/light-switch-app/silabs/efr32/BUILD.gn Outdated Show resolved Hide resolved
examples/platform/silabs/ICDSubscribtionCallback.cpp Outdated Show resolved Hide resolved
examples/platform/silabs/ICDSubscribtionCallback.h Outdated Show resolved Hide resolved
examples/platform/silabs/ICDSubscribtionCallback.h Outdated Show resolved Hide resolved
examples/platform/silabs/ICDSubscribtionCallback.h Outdated Show resolved Hide resolved
examples/platform/silabs/ICDSubscribtionCallback.h Outdated Show resolved Hide resolved
examples/platform/silabs/ICDSubscribtionCallback.cpp Outdated Show resolved Hide resolved
examples/platform/silabs/efr32/matter_config.cpp Outdated Show resolved Hide resolved
@selissia selissia merged commit 7f54fb6 into project-chip:master Jan 21, 2023
@mkardous-silabs mkardous-silabs deleted the feature/sub_neg branch January 21, 2023 03:36
lecndav pushed a commit to lecndav/connectedhomeip that referenced this pull request Mar 22, 2023
…t-chip#24414)

* add max interval negociation

* generic read handler

* restyle

* Address PR comments

* Update naming used

* Update gn argument name

* Add class / function comments

* Add an ICD build to efr32 workflow

* Apply suggestions from code review

Co-authored-by: Boris Zbarsky <[email protected]>

* Address PR comments

* restyle

* Add fail safe checks to always have a valid maxInterval

* PR comments

Co-authored-by: Boris Zbarsky <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants