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
i'm using your library which is great.
But in my project, it may be the case the the user device has internet connection and maybe NOT has internet connection.
Is something like this possible
if (WiFi.status()==WL_CONNECTED) {
timeClient.update();
epochTime = timeClient.getEpochTime();
} else {
timeClient.setEpochTime(myTimeValueComingFromtheDevice (e.g. mobile phone));
}
I know that the function "setEpochTime()" does not exist, but is there a way to manually set the initial date/time which is then refreshed inside the loop?
Best wishes
Daniel
The text was updated successfully, but these errors were encountered:
Hi @basementmedia2. Thanks for taking the time to submit an issue.
I see we already have a prior feature request this at #26.
It's best to have only a single issue per subject so we can consolidate all relevant discussion to one place, so I'll go ahead and close this in favor of the other.
If you end up with additional information to share, feel free to comment in the other thread.
Hi,
i'm using your library which is great.
But in my project, it may be the case the the user device has internet connection and maybe NOT has internet connection.
Is something like this possible
I know that the function "setEpochTime()" does not exist, but is there a way to manually set the initial date/time which is then refreshed inside the loop?
Best wishes
Daniel
The text was updated successfully, but these errors were encountered: