Hello all,
I'm faced with the following problem with the ESP8266 : one module is configured as SoftAP; some more modules configured as stations; all works well, despite the fact that I'm stuck with the 1.3.0 version.
But sometimes a station module goes dead (the reason is not important); the problem is that the SoftAP seems not to figure this out, and the wifi_softap_get_station_info still returns info about it, and the SoftAP module still tries to send data to it.
Any idea or suggestion about how to handle this is welcome. Thanks in advance.
SoftAP remove dead station
Re: SoftAP remove dead station
Postby sharkx » Wed May 02, 2018 4:04 am
Thanks for the info.
Unfortunately, upgrading is not an option for me; I already tried, but the core libraries along with my own code exceed the 236k limit for the 512k modules, and I'm still using some.
However, I don't think the event would solve my problem; let me explain the problem differently (it's not the exact scenario I have, but I think it's easier to follow).
There are two nodes :
node 1 is running as SoftAP
node 2 is running as station
Unfortunately, upgrading is not an option for me; I already tried, but the core libraries along with my own code exceed the 236k limit for the 512k modules, and I'm still using some.
However, I don't think the event would solve my problem; let me explain the problem differently (it's not the exact scenario I have, but I think it's easier to follow).
There are two nodes :
node 1 is running as SoftAP
node 2 is running as station
Code: Select all
Time Node 1 Node 2
T0 wifi_set_opmode(SOFTAP_MODE)
T1 wifi_set_opmode(STA_MODE)
T2 connects to node 1
T3 wifi_softap_get_station_info returns count=1
T4 power is cut to node 2
T5 wifi_softap_get_station_info returns count=1
T6 power is still cut to node 2 (T6 = T5 + 1minute)
T7 wifi_softap_get_station_info returns count=1
Who is online
Users browsing this forum: No registered users and 147 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.