Page 1 of 1

wifi: bcn_timout,ap_probe_send_start

Posted: Sat Apr 27, 2019 12:49 pm
by MorseIot
after some runtime code, socket, I get the following wifi error: bcn_timout, ap_probe_send_start, locking the ESP-32 also happens on the ESP-8266.

Is there a fix for this problem ???

Thanks

Re: wifi: bcn_timout,ap_probe_send_start

Posted: Mon Apr 29, 2019 6:40 am
by pythoncoder
Weird errors on ESPx usually come from several sources. One is failing to close sockets when they are no longer used: you need to ensure this always happens, through every code path.

Secondly internal buffers can overflow. This can happen if one peer puts data into a socket and the other fails to remove it.

Lastly, and this is a major issue, WiFi can suffer outages caused by radio frequency interference or otherwise. The detection of these is non-trivial and can lead to buffer overflows. You might like to read my notes on this subject here.

Re: wifi: bcn_timout,ap_probe_send_start

Posted: Tue May 07, 2019 5:29 pm
by MorseIot
pythoncoder wrote:
Mon Apr 29, 2019 6:40 am
Weird errors on ESPx usually come from several sources. One is failing to close sockets when they are no longer used: you need to ensure this always happens, through every code path.

Secondly internal buffers can overflow. This can happen if one peer puts data into a socket and the other fails to remove it.

Lastly, and this is a major issue, WiFi can suffer outages caused by radio frequency interference or otherwise. The detection of these is non-trivial and can lead to buffer overflows. You might like to read my notes on this subject here.
Ok

Thanks