832a47dd70
Added sanity checking of received timestamp before using it. Added millis() rollover protection in getEpochTime(). Added new function, setEpochTime(), to set NTPClient's internal currentEpoch from hardware RTC time. Changed the default updateInterval to 1 hour. Added 'Advanced_with_RTC' example to demonstrate new capabilities and accuracy.
26 lines
573 B
Plaintext
26 lines
573 B
Plaintext
#######################################
|
|
# Datatypes (KEYWORD1)
|
|
#######################################
|
|
|
|
NTPClient KEYWORD1
|
|
|
|
#######################################
|
|
# Methods and Functions (KEYWORD2)
|
|
#######################################
|
|
|
|
begin KEYWORD2
|
|
end KEYWORD2
|
|
update KEYWORD2
|
|
forceUpdate KEYWORD2
|
|
isTimeSet KEYWORD2
|
|
getDay KEYWORD2
|
|
getHours KEYWORD2
|
|
getMinutes KEYWORD2
|
|
getSeconds KEYWORD2
|
|
getFormattedTime KEYWORD2
|
|
getEpochTime KEYWORD2
|
|
setTimeOffset KEYWORD2
|
|
setUpdateInterval KEYWORD2
|
|
setPoolServerName KEYWORD2
|
|
setEpochTime KEYWORD2
|