-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Enable otNetworkTimeGet from OpenThread (IDFGH-10962) #12154
Comments
@Ereaey The The time sync feature is independent of SNTP, unless the Leader implements some mechanism and snyc to the network time periodically. Note that this feature is experimental and not part of the Thread Specification. |
Yes, you are completely right. |
@Ereaey Ok, we will enable the time synce feature on ESP platform, before the end of Sept. |
Thanks ! |
Hi @chshu, I am also trying to get Network Time Synchronization to work with my OpenThread devices. However, I'm getting build errors when I enable If time permits, any steps that you can give me to help me debug this issue would greatly be appreciated. Thank you, |
Is your feature request related to a problem?
The problem I am facing is related to the use of otNetworkTimeGet from the OpenThread stack. ESP-IDF does not currently support this function, which is crucial for my application as it requires synchronization with the network time. Although it is possible to set up an SNTP server as an alternative, it is a more time-consuming and resource-intensive approach compared to using otNetworkTimeGet.
Describe the solution you'd like.
I would like ESP-IDF to support the otNetworkTimeGet function from the OpenThread stack. This would significantly simplify the development process by avoiding the need to set up an SNTP server or implement another network time synchronization mechanism. Supporting this function will also make ESP-IDF more compatible with OpenThread and enhance its capabilities.
Describe alternatives you've considered.
I have considered setting up an SNTP server as an alternative, but this approach is time-consuming and resource-intensive. It also increases the development time and maintenance efforts. Another alternative is to use a different chipset or platform that supports otNetworkTimeGet, but this would involve changing the hardware and software architecture of my application, which is not feasible at this stage of development.
Additional context.
Supporting otNetworkTimeGet in ESP-IDF will not only benefit my application but also others that require network time synchronization. It is a fundamental feature for many applications and will make ESP-IDF more versatile and compatible with the OpenThread stack.
The text was updated successfully, but these errors were encountered: