I am wondering whether it is possible to have STA and AP modes at the same time in Non OS SDK v3.0?
Thanks in advance for any help.
Explore... Chat... Share...
A.4. ESP8266 SoftAP and Station Channel Configuration
Even though ESP8266 supports the SoftAP + Station mode, it is limited to only one
hardware channel.
In the SoftAP + Station mode, the ESP8266 SoftAP will adjust its channel configuration to
be the same as the ESP8266 Station.
This limitation may cause some inconveniences in the SoftAP + Station mode that users
need to pay special attention to, for example:
Case 1:
(1) When users connect the ESP8266 Station to a router (for example, channel 6),
(2) and sets the ESP8266 SoftAP through wifi_softap_set_config,
(3) if the value set is effective, the API will return true. However, the channel will be
automatically adjusted to channel 6 in order to be in line with the ESP8266 Station
interface. This is because there is only one hardware channel in this mode.
Case 2:
(1) If users set the channel of the ESP8266 SoftAP through wifi_softap_set_config (for
example, channel 5),
(2) other Stations will connect to the ESP8266 SoftAP.
(3) When the users connects the ESP8266 Station to a router (for example, channel 6),
(4) the ESP8266 SoftAP will adjust its channel to be the same as that of the ESP8266
Station (which is channel 6 in this case).
(5) As a result of the change of channel, the Station Wi-Fi connected to the ESP8266
SoftAP in Step Two will be disconnected.
Case 3:
(1) Other stations are connected to the ESP8266 SoftAP.
(2) If the ESP8266’s Station interface has been scanning or trying to connect to a target
router, the ESP8266 SoftAP’s connection may terminate.
(3) This is because the ESP8266 Station will try to find its target router in different channels,
which means it will keep changing channels, and as a result, the ESP8266 channel is
changing, too. Therefore, the ESP8266 SoftAP’s connection may terminate.
(4) In cases like this, users can set a timer to call wifi_station_disconnect to stop the
ESP8266 Station from continuously trying to connect to a router. Or use
wifi_station_set_reconnect_policy or wifi_station_set_auto_connect to disable
the ESP8266 Station from reconnecting to the router.
It takes about 20-25 seconds for home assistant c[…]
I tried to upgrade tof my sonoff basic R2 with the[…]
a problem Perhaps you want to define "Probl[…]
Rebooting your router will not give you a faster I[…]
There are no other notifications from esptool.py i[…]
Using the Arduino IDE, you'll learn how to set up […]
In this project, you will post to Twitter using an[…]
In this project, we will build a water level contr[…]
I guess I'm late, but I had the same problem and f[…]
Last night I received my first D1 Minis for a lear[…]
Although I am aware that this is an old post, I fe[…]