Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
[Chef] Create a ContactSensor to support LIT ICD (Linux Only) #37123
base: master
Are you sure you want to change the base?
[Chef] Create a ContactSensor to support LIT ICD (Linux Only) #37123
Changes from 8 commits
8dbb7b3
459d4ad
a7074e8
91317d1
ef66372
0cc62c4
387f7f2
75ecb6f
4c52ef3
6763741
4ccb849
8e0efad
f3b8c91
bc994c9
aa2cae7
36008b5
4c00c84
02b04ca
0c37543
2340c3b
0447721
359366a
7a327ab
487d1e9
e7d92e3
6c19c49
07a6174
161ce0e
865e94a
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is the persistent subscription feature enabled? It is a requirement for this feature.
As a side comment, this changes the behavior on when check-in messages are sent out based on wether we are retrying to re-subscribe or not.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkardous-silabs
chip_persist_subscriptions
hasn't been enabled. Thanks for the reminder. May I know what is your suggestion?Actually I am not very familiar with these feature. So I'll leave this to @yunhanw-google to comment if we should enable both
chip_persist_subscriptions
andchip_subscription_timeout_resumption
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The ICDmanager behavior adapts based on the presence of both feature. The combos are
chip_persist_subscriptions
andchip_subscription_timeout_resumption
chip_persist_subscriptions
and withoutchip_subscription_timeout_resumption
Subscription timeout cannot be present without chip_persist_subscriptions IIRC.
making these configurable might be valuable to enable most tests case.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does the contact sensor implement this feature?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The contact sensor is this current code under chef.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mkardous-silabs I think this feature
chip_enable_icd_dsls
is implemented in the SDK layer. Is there specific logic related to this feature needing to be implemented per device in the application layer?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The question is does the contact-sensor require this feature in the sense do we need to enable it? I don't think the current contact sensor implementation uses but i might be wrong.
The feature can be enabled without it being actually used. You can ignore the comment.