facing issue to get current time from NTP server using LAN connetion

kesha.modhia
Posts: 44
Joined: Fri May 13, 2022 12:36 pm

facing issue to get current time from NTP server using LAN connetion

Postby kesha.modhia » Mon Jun 19, 2023 5:22 am

Hello,

I amusing esp32 wrover i version and trying to get current time using
localtime_r(&now, &timeinfo);

for this I am using ethernet connection,
by looking at the esp32 example of getting current time they have used Wi-Fi network

Is there ant dependency, that I can fetch current time only using Wi-Fi network, and not ethernet network ?

Let me know

Who is online

Users browsing this forum: No registered users and 97 guests