ESP8266 Developer Zone The Official ESP8266 Forum 2018-03-14T04:15:33+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=2506 2018-03-14T04:15:33+08:00 2018-03-14T04:15:33+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2506&p=19626#p19626 <![CDATA[Re: ESP8266_NONOS_SDK_V2.0.0 using libssl]]> Statistics: Posted by awilhite — Wed Mar 14, 2018 4:15 am


]]>
2016-08-07T18:56:56+08:00 2016-08-07T18:56:56+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2506&p=8307#p8307 <![CDATA[Re: ESP8266_NONOS_SDK_V2.0.0 using libssl]]> looks like miss some sntp_set_xxx()/sntp_get_xxx() functions in libmain.a.
May I should implement this functions or need a SDK patch to fix it?
tks!

Code:

.a -Wl,--end-group -lm -o .output/eagle/debug/image/eagle.app.v6.out
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `millis':
(.irom0.text+0xb8): undefined reference to `sntp_set_update_delay'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `millis':
(.irom0.text+0xc1): undefined reference to `sntp_set_update_delay'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `updateTime':
(.irom0.text+0xe8): undefined reference to `sntp_set_daylight'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `updateTime':
(.irom0.text+0xec): undefined reference to `sntp_set_timetype'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `updateTime':
(.irom0.text+0xf0): undefined reference to `sntp_set_receive_time_size'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `configTime':
(.irom0.text+0x13c): undefined reference to `sntp_set_daylight'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `configTime':
(.irom0.text+0x144): undefined reference to `sntp_set_timetype'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `configTime':
(.irom0.text+0x171): undefined reference to `sntp_set_receive_time_size'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `configTime':
(.irom0.text+0x1b0): undefined reference to `sntp_get_timetype'
/opt/nodemcu-firmware/sdk/esp_iot_sdk_v2.0.0/lib/libmain.a(time.o): In function `configTime':
(.irom0.text+0x1c3): undefined reference to `sntp_get_timetype'

Statistics: Posted by kicer — Sun Aug 07, 2016 6:56 pm


]]>
2016-08-03T17:27:54+08:00 2016-08-03T17:27:54+08:00 https://bbs.espressif.com:443/viewtopic.php?t=2506&p=8262#p8262 <![CDATA[ESP8266_NONOS_SDK_V2.0.0 using libssl]]> For ESP8266_NONOS_SDK_V2.0.0 using libssl, the following conditions are needed:
if we are using certificate auth, we need to use the configTime API to provide SNTP, otherwise the certification will expire. We also do not support expire date > 2038.
''

What if udp :123 is closed by proxy? Is there way to set current time for "certificate auth" manually (from external rtc, ssldate, ntp over tcp/http)?

Statistics: Posted by ypypy______ — Wed Aug 03, 2016 5:27 pm


]]>