I seem to have a problem after calling SNTP_oneshot() function. Problem is that sometimes my tasks stop running. There are no stack overflows, neither unhandled interrupts, I dont see any memory corruption. All my task status are OK and waiting for a time delay, message blocked, etc but none of them run again.
It appears that if the time server answers the program continues to run as expected.
Do any of you have a clue about what could be going on?
Solved! Go to Solution.
It is blocking function, but just for the timeout you pass as last parameter.
It's been tested, that when no answer comes from server, it returns with error after the timeout and task continues.
Do you have initialized ethernet device, RTCS and do you have IP address at the time you call this function?
PetrM
It is blocking function, but just for the timeout you pass as last parameter.
It's been tested, that when no answer comes from server, it returns with error after the timeout and task continues.
Do you have initialized ethernet device, RTCS and do you have IP address at the time you call this function?
PetrM