Re: "universal I/O bridge"
Posted: Thu Jul 09, 2015 2:14 pm
This afternoon I decided to upgrade to the latest SDK, 1.2.0. The result was that it wasn't working anymore, no more WLAN connectivity. I followed the usual route of flashing an AT-style firmware, but still no WLAN connectivity. The system config area just wasn't recognised anymore (as seen from UART debug output). I don't know what Espressif exactly did, but is just not working.
So I moved the WLAN configuration (SSID, password) to my own config. That works and still works.
To get the proper values into the config, I added a "quick bootstrap" mode. When the ESP is started, you have 30 seconds to enter the SSID and the password over the UART. Enter the SSID (no spaces allowed!), then a space, then the password and then a linefeed (no carriage return! use ^J if necessary, instead of enter). The SSID and the password will be entered in the config, written to non-volatile storage and it will try to connect immediately as well. See the output to the UART for progress.
If you don't want the messages on the UART, set print_debug to 0 in the config. The quick bootstrap mode will continue to work, but in silence. After 30 seconds, the channel is completely transparent again.
So I moved the WLAN configuration (SSID, password) to my own config. That works and still works.
To get the proper values into the config, I added a "quick bootstrap" mode. When the ESP is started, you have 30 seconds to enter the SSID and the password over the UART. Enter the SSID (no spaces allowed!), then a space, then the password and then a linefeed (no carriage return! use ^J if necessary, instead of enter). The SSID and the password will be entered in the config, written to non-volatile storage and it will try to connect immediately as well. See the output to the UART for progress.
If you don't want the messages on the UART, set print_debug to 0 in the config. The quick bootstrap mode will continue to work, but in silence. After 30 seconds, the channel is completely transparent again.