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

Added support for Thread Synchronized Sleepy End Devices #66

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

kkasperczyk-no
Copy link
Owner

Problem

Thread 1.2 allows to use Synchronized Sleepy End Devices
that doesn't need to poll parent for data like traditional SED,
but wakes up in scheduled time slots to listen for messages
without transmitting requests to parent.

Change overview

  • Refactored naming for sleepy end devices, as everywhere
    the polling mechanism is assumed. Basically renamed polling
    intervals to intervals and fast/slow polling mode to
    active/idle mode.
  • Added CHIP_DEVICE_CONFIG_THREAD_SSED that allows to enable
    Thread SSED support.
  • Added new Thread kThreadDeviceType_SynchronizedSleepyEndDevice
    device type
  • Added calculating communication intervals for Thread SSED based
    on CSL period instead of poll period.

Thread 1.2 allows to use Synchronized Sleepy End Devices
that doesn't need to poll parent for data like traditional SED,
but wakes up in scheduled time slots to listen for messages
without transmitting requests to parent.

* Refactored naming for sleepy end devices, as everywhere
the polling mechanism is assumed. Basically renamed polling
intervals to intervals and fast/slow polling mode to
active/idle mode.
* Added CHIP_DEVICE_CONFIG_THREAD_SSED that allows to enable
Thread SSED support.
* Added new Thread kThreadDeviceType_SynchronizedSleepyEndDevice
device type
* Added calculating communication intervals for Thread SSED based
on CSL period instead of poll period.
config/zephyr/Kconfig Outdated Show resolved Hide resolved
@@ -1682,6 +1690,7 @@ CHIP_ERROR GenericThreadStackManagerImpl_OpenThread<ImplClass>::DoInit(otInstanc
initNetworkCommissioningThreadDriver();

exit:

Copy link
Collaborator

Choose a reason for hiding this comment

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

Is this new line needed?

Copy link
Collaborator

@LuDuda LuDuda left a comment

Choose a reason for hiding this comment

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

Looks good 👍

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

Successfully merging this pull request may close these issues.

4 participants