andriyadi / AzureIoTHubMQTTClient

Azure IoT Hub client for ESP8266 using MQTT
31 stars 17 forks source link

Error in NtpClientLib_ESP: undefined reference to 'sntp_get_timezone'. #20

Open jeanjmichel opened 2 months ago

jeanjmichel commented 2 months ago

Guys, I'm trying lear about IoT using a ESP8266 and Azure, but it's really tough, the last version of the libraries do not work and show tons of errors.

After some downgrades I have installed:

Board: esp8266 2.7.4

Libraries: ArduinoJson 5.13.5 AzureIoTHubMQTTClient 0.2.3 Time 1.6.1

And when I try compile my code I receive this error: "\libraries\AzureIoTHubMQTTClient\NtpClientLib_ESP.cpp.o:(.text._ZN9NTPClient7getTimeEv+0x2c): undefined reference to `sntp_get_timezone'".

What I must do now to put my code to run?