I noticed that when ESP12F (node MCU) is connected to a network with a very weak signal it transmits information for a few minutes and sometimes hours. Then he can no longer connect to the wifi. The connection is lost and I cannot re-establish it.
The only way to reestablish the connection is to do a soft reset or hard reset. I've tried to reconfigure and reset everything regarding wifi. But it does not work.
In this way, I imagine that by doing an RF RECALIBRATION I can get the connection. I am guessing that when restarting the RF it recalibrates and is able to connect to wifi, for this reason it only works when I restart.
Does anyone suggest something to me?
Does anyone know how to do an RF recalibration in code time without restarting esp?