

You call different versions of it depending upon what type of security settings are configured on your router. shows that the begin function is overloaded.

Some routers are setup to take hexadecimal values as the "password" and others are setup to take a password of characters. I will add this in hopes that it may help someone else coming across this thread as I had. I believe my issue may have been a simpler one to fix, but I haven't seen anyone comment on this potential cause here. Regardless, it may have had an effect on letting the chip reconnect to the router.ĪT+CIPSTAMAC_DEF="18:fe:35:98:d3:7b" (example values)ĪT+CIPSTA_DEF="192.168.0.70","192.168.6.1","255.255.255.0" (example values)Īfter all this is done, flash a normal arduino sketch and see if you can connect! This is supposed to stick after a reboot but didn't for me. Next, I don't know if this is necessary, but I changed the device's hard ip and mac address. If you get a response, you can type in AT+RST to fully reset the device. Don't know why putty requirs ctrl-J after enter, but knowing this will save you some headache. To send any command, type your command, followed by enter, followed by ctrl+J.

Start by typing in AT to verify that communication works.

For me, the baud rate was 115200 but you may have to experiment. Open Putty or some other serial comm software and set your Serial address. Once completed, you can unplug the ESP, exit the flash software, and plug it back in. Now, plug in the ESP8266 via FTDI, and hit flash. Under 'Config' in the flash software, set these files to their corresponding memory locations File PathĮSP8266_NONOS_SDK-2.1.0\bin\esp_init_data_default.binĮSP8266_NONOS_SDK-2.1.0\bin\boot_v1.7.binĮSP8266_NONOS_SDK-2.1.0\bin\at\512+512\.2.bin Reflash stock firmware using the nodeMCU flashing software and ESP8266_NONOS_SDK-2.1.0. So here's what I did to allow the esp8266 to reconnect to the router: So at the very least the debug message no SimonAP found, reconnect after 1s is wrong. Added the network scan so it shows that the SSID does exist and is found by the esp8266. I've simplified it to just the basic steps/example code. change encryption to WPA1/TKIP or to WPA1/WPA2 compatible TKIP or EASīut none of them fixed the problem Sketch.switch mode between b and g (it doesn't support n).I tried everything I could think of on the access point: The strange thing is, it does work when I connect to my phone's Wi-Fi hotspot, but doesn't work when connecting to my regular access point (a Asus WL-500gP running Tomato). I'm just doing a simple thing, namely connection to an access point, which used to work fine when using lua/nodemcu with this access point, but refuses to work using this framework. Core Version: 2.3.0 (assuming this is the version of the Arduino framework for the esp8266) Description
