For the last few months, we have been struggling with the following error occurring far more often than expected:
bcn_timout,ap_probe_send_start followed by
ap_probe_send over, rest wifi status to disassoc, and then a full wifi reconnect.
Here are some of the tests we have done, all with ESP-12F modules (ESP-8266)
From these results, we don't believe the cause of these disconnects is our production firmware, but is instead some interaction between mgos and the hardware.
Additionally, we have used wireshark to capture the wifi traffic. Those results can be shared as well if desired.
At this point, we need to find a solution to this disconnect issue, as having devices disconnecting from wifi every 30 seconds, every 10 minutes, or in the rare best cases, every hour, is not acceptable for a commercial product.
Any and all help is appreciated, thanks!