-->
Page 1 of 1

ESP creates AP though it's set into station mode

PostPosted: Sat May 07, 2016 10:28 am
by TheWaldorfer
As I've posted yet, ESP Basic 2.0.Alpha 23 creates an AP though it's set into station mode.

Module: ESP8266MOD (4 MB Flash).

The ESP Basic reports that while booting (APName & APPass is empty)

Code: Select allTerminal log file
Date: 07.05.2016 - 17:19:50
-----------------------------------------------
Server listening Port: 80
ESP Basic 2.0.Alpha 23
1
2
3
0.0.0.0
Creating WIFI access point
ESP
APname
APpass
Creating WIFI access point
ESP
APname
APpass
file open failed

-----------------------------------------------
Date: 07.05.2016 - 17:20:29
End log file

Re: ESP creates AP though it's set into station mode

PostPosted: Sat May 07, 2016 8:24 pm
by forlotto
This is standard operating procedure.
It is ESP and it is an open connection by default.
It is best practice to secure your AP by default with a username and a password.

Read the beginners guide for some more info on this and some issues you can run into by leaving your connection open are kinda as follows if your devices are set to connect to open networks automatically it may cause conflict when using your device in station mode as well so many reasons to protect your AP mode.

It is important to leave this mode enabled though in case your device were to become unreachable by other means.

Re: ESP creates AP though it's set into station mode

PostPosted: Mon May 23, 2016 8:28 am
by Atilla Oguz Tuneyli
How can we close AP mode with basic code? we can connect ssid pass and ap ssid pass but we can not close ap mode! is there any code of closing ap mode? thnx

Re: ESP creates AP though it's set into station mode

PostPosted: Mon May 23, 2016 11:46 pm
by forlotto
Using the wifioff command and then just starting station mode I believe it may be possible or at least this is my understanding, while I have yet to use the feature yet until I get my code working for selecting a connection and connecting to it then running code. A bit complex but so many other things to do right now hopefully memorial day weekend will provide me with enough free time to go at the esp8266 and try a few things but in the mean time look into wifioff and its uses.

Enjoy,
forlotto