Skip to content
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 time out error #112

Open
mikejrh opened this issue Nov 13, 2022 · 5 comments
Open

wifi time out error #112

mikejrh opened this issue Nov 13, 2022 · 5 comments

Comments

@mikejrh
Copy link

mikejrh commented Nov 13, 2022

I am getting this output when i run the sketch in Arduino-IDE on an Esp-Wroom board
"wifi:timeout when WiFi un-init, type=4".
The wifiscan sketch example works.

@devWaves
Copy link
Owner

have you started with a fresh arduino install and cleared out the ~/Documents/Arduino/libraries folder ?

you could have a conflicting wifi library

what esp32 model are you using?

@mikejrh
Copy link
Author

mikejrh commented Nov 14, 2022

using a ESP32-WROOM-32 board.
fresh install with these libraries: NimBLE-Arduino, EspMQTTClient. ArduinoJson, CRC32, ArduinoQueue
and I had to install PubSubClient-2.8.0 after an error message in compilation.

@Tadeas3
Copy link

Tadeas3 commented Dec 7, 2022

I'm having same issue (same board - ESP32 devkit v1). I can see in my router's GUI that it keeps re-connecting and then disconnecting over and over.

I tried to set printSerialOutputForDebugging = true but nothing more is shown in monitor. Just this:

Switchbot ESP32 starting...
Starting NimBLE Client
E (1165) wifi:timeout when WiFi un-init, type=4

and that's it.

@devWaves
Copy link
Owner

devWaves commented Dec 7, 2022

not sure. I can't reproduce

Does you SSID or password has special or non-alphanumeric characters?

@Tadeas3
Copy link

Tadeas3 commented Dec 8, 2022

Both are alphanumeric only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants