-
Notifications
You must be signed in to change notification settings - Fork 7.5k
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
Fixed "Invalid mbox" error in SimpleTime example #9262
Conversation
👋 Hello kinoh, we appreciate your contribution to this project! Click to see more instructions ...
Review and merge process you can expect ...
|
@kinoh - Thanks for the PR! Indeed it is necessary to connect to the network in order to get the time/date information. |
@me-no-dev - This should also be merged to the |
@SuGlider is it ok now to call |
You are right, it is also called latter. I must call it at first and then use IDF calls. |
…be called at first.
Does mentioned issue (invalid mbox) really affects this ntp example? It is related to TCP socket, but NTP does not use TCP at all. arduino-esp32/libraries/ESP32/examples/Time/SimpleTime/SimpleTime.ino Lines 45 to 53 in 50ef6f4
|
Description of Change
As stated in #8661, we have to call
WiFi.mode
before networking.Tests scenarios
I've tested my Pull Request on arduino-esp32 v2.0.14 with ESP32-DevKitC-32E Board.
Related links