ESP8266_NONOS_SDK_V2.0.0 using libssl

ypypy______
Posts: 2
Joined: Sun Apr 10, 2016 9:04 pm

ESP8266_NONOS_SDK_V2.0.0 using libssl

Postby ypypy______ » Wed Aug 03, 2016 5:27 pm

''
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)?

kicer
Posts: 5
Joined: Fri Jul 08, 2016 11:20 am

Re: ESP8266_NONOS_SDK_V2.0.0 using libssl

Postby kicer » Sun Aug 07, 2016 6:56 pm

When try to build v2.0.0 non-os sdk with NodeMcu, then got following errors~
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: Select all

.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'

awilhite
Posts: 1
Joined: Wed Mar 14, 2018 4:13 am

Re: ESP8266_NONOS_SDK_V2.0.0 using libssl

Postby awilhite » Wed Mar 14, 2018 4:15 am

I'm having the same problem when linking. Does anyone know the cause of these undefined references to the sntp functions?

Who is online

Users browsing this forum: No registered users and 4 guests