Unable to connect to WiFi network, and then randomly I can
Posted: Thu Feb 02, 2017 1:00 am
Hi! I ran into a unique problem tonight. I was able to fix it, but I don't know why.
About a week ago, I was able to get the ESP set up as an Access Point so that it would accept my network ssid and password, and connect to my wifi network. Everything was working fine.
I took a bit of a break, and coming back to it I try again and it can't connect. I reset it, power cycle, everything. It accepts the POST request containing my network ssid and password information, but it can't connect. Then I load up a sketch with the same ssid and password information hardcoded in, and it connects fine. Then I load up the original sketch, I make the exact same POST request I was making before, and it connects first try. Am I missing something, or should I chalk it up to ¯\_(ツ)_/¯?
I would be happy to provide code if you think it would help. Thanks!
About a week ago, I was able to get the ESP set up as an Access Point so that it would accept my network ssid and password, and connect to my wifi network. Everything was working fine.
I took a bit of a break, and coming back to it I try again and it can't connect. I reset it, power cycle, everything. It accepts the POST request containing my network ssid and password information, but it can't connect. Then I load up a sketch with the same ssid and password information hardcoded in, and it connects fine. Then I load up the original sketch, I make the exact same POST request I was making before, and it connects first try. Am I missing something, or should I chalk it up to ¯\_(ツ)_/¯?
I would be happy to provide code if you think it would help. Thanks!