-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
Implement Smart Config for ESP32 #2474
Conversation
Ah I missed it :) Anyway, I'll be glad to tell me how Sming includes the esp-idf header files? |
Move classes into SmingInternal::Network namespace Handle station events in station class implementation Add placeholder for accesspoint events Implement auto-connect setting
76550c0
to
b10f756
Compare
The Smart config won't work if station has already been configured and set to auto-connect on startup. Attempting to configure with wrong credentials isn't really handled. Again, that's something the application needs to consider. I took a quick look at ESP8266 behaviour and same deal. |
Note: The UPDATE: My bad, typo in libc, now fixed :-) |
0b57b23
to
0218041
Compare
Works well for me. Both the example and in my project. |
0218041
to
4b0ae9b
Compare
Refinement to the event handling now blocks auto-connect if WPS or SmartConfig are active, so the |
Re. #2473 here are the bones of a smart config implementation for ESP32.
TODO:
__wrap_putchar
error (libsc_get_ssid_passwd.a
)Closes #2473