sntp: how to know if the time sync is done properly
Re: sntp: how to know if the time sync is done properly
Thanks for the confirmation!
Re: sntp: how to know if the time sync is done properly
Do this issue solved? If yes, i will mark it as solved. Or you can comment here when you face the similar issue.
Re: sntp: how to know if the time sync is done properly
Yes, it did solve the issue.
But just wondering, why we need to restart the sntp. Can't we have an API which is just to sync time?
But just wondering, why we need to restart the sntp. Can't we have an API which is just to sync time?
Re: sntp: how to know if the time sync is done properly
No, lwip sntp not reproduce a public API to send sntp request. As you saw, it is static and need need maintain some timeout function and state, so stopping sntp module and re-starting it is a easy way to send sntp request.
Re: sntp: how to know if the time sync is done properly
Is there a way to find out why the SNTP 'failed' in the first place?
I've tried just restarting until the current year is reported, but that doesn't seem to get me anywhere and just loop indefinitely.
I've tried just restarting until the current year is reported, but that doesn't seem to get me anywhere and just loop indefinitely.
Who is online
Users browsing this forum: MicroController and 67 guests