-
-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WiFi.getTime() function on WiFiS3 library doesn't work #206
Comments
ArduinoCore-renesas/libraries/WiFiS3/src/WiFi.cpp Lines 562 to 564 in 795a81d
|
I took the example from the WiFi libraries that Michael Margolis originally wrote, did some digging in the NTP RFC, and re-wrote it into a generic function. This should work with any of the WiFi libraries, and could also be submitted to Espressif as a pull request for the ESP32 library. I tested it there too. It requires the UDP library though:
|
Espressif has NTP time in the SDK.
I plan to do the getTime implementations. |
created a pull request to add gettime. regards, |
The getTime() function in the WiFiS2 library never gets the time via NTP.
Here's a test:
When you run this on the Uno R4 WiFi, it'll compile, but you'll get an endless stream of "NTP request attempt" messages.
The text was updated successfully, but these errors were encountered: