Chat freely about anything...

User avatar
By pabra
#89050 I have a very strange problem. One of my ESP12s is creating an access point but I am 99.9% sure it's not in the code. What's more I have three of them, all running the same code and it is only one of them doing it! In all other respects it, like the others, is behaving correctly, is connecting to my wifi router in station mode and running a web server and MQTT client without problems.

Does anyone have any idea what is going on here? There may be a clue in the SSID it is creating - ESP-1A90C5, which is the tail end of the mac address, or the IP address it is giving itself (192.168.4.1).

I can't really believe it's not something I've included by mistake in the code but I can't find anything.
User avatar
By davydnorris
#89055 If you have the wifi mode set to STA+AP then it will create an access point by default. Look through your code and see if you have it explicitly set and set it to STA explicitly if not.

The default mode is set in flash and remembered so you may have an earlier flash that set it on that unit.
User avatar
By pabra
#89062 Its fresh out of the packaging so I wouldn't have thought it had any leftovers - but I suppose that also means I can't be sure what was in it before. I'm not setting any station modes explicitly but I'll give it a try. How do you do that? I'm having trouble finding the appropriate call.

By the way, I'm using ESP8266WiFiMulti if that makes any difference. Only one access point added at present though that will change in the future.