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.
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
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 5 guests
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
We also have a RTOS version and a MESH version too!
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!