-
Notifications
You must be signed in to change notification settings - Fork 197
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 switching causes panic #503
Comments
Can you try with the I just work-arounded the problem on [patch.crates-io]
esp-idf-svc = { git = "https://github.com/esp-rs/esp-idf-svc" }
esp-idf-hal = { git = "https://github.com/esp-rs/esp-idf-hal" }
esp-idf-sys = { git = "https://github.com/esp-rs/esp-idf-sys" } |
I'll try it |
@ivmarkov ok, It can run normally now |
@ivmarkov I still have a problem, that is, the wifi event subscribed in init() has never been triggered. This problem has always existed before |
That's because you are not keeping around the By the way, for these questions, it might be much better if you just join the |
I want to switch to different Wi-Fi every time the
connect_wifi
is called.but, it only succeeds the first time it is called, and second time it will cause the process to panic.
code:
log:
The text was updated successfully, but these errors were encountered: