I use ESP8266 always staying in AP mode.
Notebook PC is connected to ESP8266 through Wifi.
After user has pressed a key, ESP8266 will connect to the network, read information and finally disconnect from the network.
I use WiFi.disconnect(true) to disconnect.
Sometimes, notebook PC will also disconnect from ESP8266 and connect to another network automatically.
Anyone can suggest a better way to disconnect from network?
which network? I thought the ESP was in AP mode, so creating the network itself?
ESP8266 is in AP+STATION mode.
Usually, ESP8266 is creating network itself AP-mode. A notebook PC is connected to ESP8266 through Wifi.
For some instances, example user has pressed a key or the trigger time is reached.
ESP8266 keeps its own network and it also connected to the internet to read information. After ESP8266 has gotten the information, ESP8266 will disconnect from the internet.
Sometimes, notebook PC will automatically disconnect from ESP8266 and automatically connect to another network at this moment. However, PC does not tell ESP8266 so that ESP266 thinks that it is still connecting to PC.
can the Notebook PC be on the same network as the ESP when the ESP joins the "network" and is no longer just an AP ?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.