Several access points and wrong channel
Posted: Sun Nov 16, 2014 5:22 am
Yesterday I noticed very strange behavior after I set up the access point mode AT+CWSAP. It seems to be that ESP8266 continues to support the last AP after creating the newer one.
I'm working on a small hardware that should generate a new AP at startup. The name of the AP is generated randomly. So the command was
The first issue was that my AP started on the 6th channel and not on the 11th. I'm not sure what happened, but after a while it changed to the 11th and stayed there. What could be the reason?
Second one... It worked some time long perfectly, so I started to debug the rest, rebooting the chip several times. Every time the chip started it created a new AP with unique numbers in the name. I was very surprised to see that on both my PC and smartphone I can see at least the last three created APs!
After some chip reboots and maybe after some working time the only last one was there. But this time was maybe 10 minutes or more(!). During this time I was able to connect to some (old) access points(!!!).
AT+CWSAP? said there was only one (last) AP.
Is it only my problem or is it a known "feature"? Thank you in advance!
The version is
I'm working on a small hardware that should generate a new AP at startup. The name of the AP is generated randomly. So the command was
AT+CWSAP="Access Point 23-67-31","password",11,3
The first issue was that my AP started on the 6th channel and not on the 11th. I'm not sure what happened, but after a while it changed to the 11th and stayed there. What could be the reason?
Second one... It worked some time long perfectly, so I started to debug the rest, rebooting the chip several times. Every time the chip started it created a new AP with unique numbers in the name. I was very surprised to see that on both my PC and smartphone I can see at least the last three created APs!
After some chip reboots and maybe after some working time the only last one was there. But this time was maybe 10 minutes or more(!). During this time I was able to connect to some (old) access points(!!!).
AT+CWSAP? said there was only one (last) AP.
Is it only my problem or is it a known "feature"? Thank you in advance!
The version is
AT+GMR
00150900