- Mon Aug 01, 2016 9:35 pm
#51922
Pulling my hair out, Changing the channel seemed to help temporarily. Since it was temporary I added a bit to select a random channel (6 or 11) before starting the softAp(), I also added a 2.4ghz antennae in place of a 3 cm wire.
Here is some background on my sketch,
When the ESP starts up if pin 13 is low I am starting an access point via the WIFIManager library onGitHub
Starting in this mode spins up a config portal in the users browser and allows them to connect the esp to an available network. The user can then connect thier PC or Mobile to the same network as the esp or multiple Esps and send packets.
If the ESP starts 13 HIGH I simply set up an access point via softAp() method so the user can connect directly to the ESP and send packets.
I had two up and running smoothly here this morning. Connecting back and forth between standalone and what I am calling IOT mode. Eating packets like potato chips. I took it to my partners place and crash and burn. Nothing worked. All of a sudden it is not recognizing a packet was sent in either mode and the hit or miss connectivity has returned.
I can't figure out if it's Hardware, The Antennae, The WifiManager Library, Something unseen in the config that gets set between modes and not forgotten. Simply something I should be doing and am not.
Any advice is greatly appreciated.