I have had some problems caused by failure of external components connected on the bus i2c. The external component fails and produces some kind of noise and for some reason and esp12e just freezing too. I then testing some methods to restart and keep the system running.
The first method that comes to head was just the WDT that was made for it. What is the utility for this class in sming if it should not be used?