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

Thread Sleepy End Device help (CON-1285) #1035

Closed
pavel808 opened this issue Aug 1, 2024 · 2 comments
Closed

Thread Sleepy End Device help (CON-1285) #1035

pavel808 opened this issue Aug 1, 2024 · 2 comments

Comments

@pavel808
Copy link

pavel808 commented Aug 1, 2024

Hello all,

I have an ESP32-C6 battery-powered device which works as a Thread end device.

I am now exploring the Thread Sleepy Device capabilities (SED or SSED) to preserve battery life.

My device is quite simple. It receives commands over Matter / Thread from time to time from a client / user (non periodically - it could be once every few seconds, or once every few hours). The device on reception of a command then sends data out on a GPIO pin to control another device.

I believe SSED would suit the best in this case?

How can I simply enable this in my build? I don't see options for this via idf.py menuconfig .

I see the flag in the code CHIP_DEVICE_CONFIG_ENABLE_SSED . Would it simply be enough to have this enabled? Or should other parameters be configured? Unfortunately I don't see a proper example on how to use this.

Thanks so much in advance for any help or guidelines.

@github-actions github-actions bot changed the title Thread Sleepy End Device help Thread Sleepy End Device help (CON-1285) Aug 1, 2024
@wqx6
Copy link
Contributor

wqx6 commented Aug 6, 2024

You should call ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_SynchronizedSleepyEndDevice) to make a Thread device be an SSED.

@pavel808
Copy link
Author

pavel808 commented Aug 7, 2024

You should call ConnectivityMgr().SetThreadDeviceType(ConnectivityManager::kThreadDeviceType_SynchronizedSleepyEndDevice) to make a Thread device be an SSED.

@wqx6 Thanks for your reply. Are there other configuration options involved? For polling times etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants