You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.
If I call the code insert below every 5 second for a couple of dozen times the SNTP function starts to constantly fail.
SNTP_init(SOCKET_SNTP, sntpSvrIp, tz, pEthernetBuf );
for (uint8_t i=0; i < 5; i++){
res = SNTP_run(&d);
if (d.yy >= 2022){
break;
}
vTaskDelay(10);
}
if (d.yy < 2022){
printf("SNTP Failed %d\n", res);
printf("Failed: %d-%d-%d %d:%d:%d\n", d.yy, d.mo, d.dd, d.hh, d.mm, d.ss);
return false;
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
If I call the code insert below every 5 second for a couple of dozen times the SNTP function starts to constantly fail.
SNTP_init(SOCKET_SNTP, sntpSvrIp, tz, pEthernetBuf );
The text was updated successfully, but these errors were encountered: