-->
Page 1 of 1

Soft Access Point still active after ESP coded as a Station

PostPosted: Sun Oct 25, 2020 10:55 pm
by MCUwiz
Hi, this is my first post, so, be kind ;)
I did search for the topic in the subject line but could not tell if that has been already covered, so, here I go:
- I have purchased several ESP8266-01 from 2 vendors.
- I am following examples from the "Beginner's Guide to the ESP8266" from Peter P.
- I have build 3 compact (2" x 2") mini-modules housing an ESP8266-01, a 5V to 3V module, a RS232 to 3V module, completed with necessary resistors, reset switch and programming jumper.

Running several of the programs in the guide, I noticed that even when the ESP8266s are programmed to operate as STATIONS, they also broadcast a SSID. This is true for all the ESPs, out of the box, I currently have.
I discovered that the Access Point mode (if previously used in factory test) stores some parameters in memory and cause an Access Point mode to be started by default.

I added the line: WiFi.softAPdisconnect(true);
and now I do not see any ESP wifi access point listed in the available connections on my laptop.

Sorry if this is already well known, I hope to learn from the coaches.