Points to the appropriate time conversion functions for each SDK, allowing compilation for these platforms in Arduino IDE.
AVR-UTC
time_t mk_gmtime(tm), for cron_mktime (tm==>time_t)
void gmtime_r(date, out), for cron_time (time_t==>tm)
AVR-Local
time_t mktime(tm), for cron_mktime (tm==>time_t)
void localtime_r(date, out), for cron_time (time_t==>tm)
ESP8266-UTC
implemented in code, for cron_mktime (tm==>time_t)
struct tm * gmtime_r(date, out), for cron_time (time_t==>tm)
ESP8266-Local
time_t mktime(tm), for cron_mktime (tm==>time_t)
struct tm * localtime_r(date, out), for cron_time (time_t==>tm)
The references to websites about the SDKs and codes are in the source code.
Points to the appropriate time conversion functions for each SDK, allowing compilation for these platforms in Arduino IDE. AVR-UTC
time_t mk_gmtime(tm)
, for cron_mktime (tm==>time_t)void gmtime_r(date, out)
, for cron_time (time_t==>tm) AVR-Localtime_t mktime(tm)
, for cron_mktime (tm==>time_t)void localtime_r(date, out)
, for cron_time (time_t==>tm) ESP8266-UTC implemented in code, for cron_mktime (tm==>time_t)struct tm * gmtime_r(date, out)
, for cron_time (time_t==>tm) ESP8266-Localtime_t mktime(tm)
, for cron_mktime (tm==>time_t)struct tm * localtime_r(date, out)
, for cron_time (time_t==>tm) The references to websites about the SDKs and codes are in the source code.