-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Add SYSTEM_EVENT_WIFI_READY
call back + WiFiMode fixes
#1322
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
Conversation
…lows you to hook in, as the sdk does not generate this event for you. As it stands the SDK does not appear to set `WIFI_MODE_NULL` correctly. if the wifi is initialised and set to `WIFI_MODE_NULL` it actually defaults to AP mode. This fix keeps `WIFI_MODE_NULL` within the ESP class if the wifi has not been init yet, and works in my testing. albeit a one sided conversation. espressif#1306
this PR helps me. tnx! |
Fix working here too; thanks. |
+1 fixed, please merge |
@sticilface can you please adjust this to be inline with the latest code? we added a parameter to the low level functions in order to enable proper persistency |
pinging dr. @sticilface ! :) |
@me-no-dev Sorry was busy last week. That should take care of it :) |
Thanks @sticilface :) |
Hi, Without this fix, I experiencing that WiFi.scanComplete() will return WIFI_SCAN_RUNNING forewer. |
) * Add `SYSTEM_EVENT_WIFI_READY` call back once wifi service is init. allows you to hook in, as the sdk does not generate this event for you. As it stands the SDK does not appear to set `WIFI_MODE_NULL` correctly. if the wifi is initialised and set to `WIFI_MODE_NULL` it actually defaults to AP mode. This fix keeps `WIFI_MODE_NULL` within the ESP class if the wifi has not been init yet, and works in my testing. albeit a one sided conversation. espressif#1306 * make changes compatible with new _persistent behaviour.
Add
SYSTEM_EVENT_WIFI_READY
call back: allows you to hook in, as the sdk does not generate this event for you for some reason.As it stands the SDK does not appear to set
WIFI_MODE_NULL
correctly. if the wifi is initialised and set toWIFI_MODE_NULL
it actually defaults to AP mode. This fix keepsWIFI_MODE_NULL
within the ESP class if the wifi has not been init yet, and works in my testing. albeit a one sided conversation.#1306