-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Identify a peer device as a sleepy device #11502
Comments
I believe the only mechanism we have for the 1.0 release is for devices to define sleepy devices as those that are not using default values for CRA/CRI in either their DNS or PASE/CASE session establishment. |
PR to add |
What exactly is going to change on the controller side if it determines that a peer device is SED?
|
Few optimizations could use this flag
These optimizations are not part of the current TE7.5 plan. So the flag may not be used in the code right away. |
Fixed by #12447 |
Problem
Sleepy devices may require special handling of MRP parameters, attribute read/write and commands. The current specifications do not have clear mechanism via which a device can advertise itself as a sleepy device. There are a few cluster definitions and DNSSD advertisements that can be used to build a heuristics to treat a peer device as sleepy.
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/PowerSourceCluster.adoc#14-features
https://github.com/CHIP-Specifications/connectedhomeip-spec/blob/master/src/service_device_management/PowerSourceConfigurationCluster.adoc
and, CRA/CRI parameters in DNSSD advertisements.
Need an algorithm design and implementation that can identify a device as sleepy device.
The information about CRA and CRI can be stored in
src/lib/dnssd/DnssdCache.h
. An API can be written on top of these parameters to determine if the device is sleepy or not.The text was updated successfully, but these errors were encountered: