I have been pulling my hair out with this one, could it be the SDK? could it be arduino IDE or could it be me.
I have been trying to get a stable MQTT sketch working, It connects, gets callbacks processes message but needs to be bullet proof. My main aim was to add network and MQTT checking in this sketch fired by the ticker every 20 seconds to check and re connect if need be.
I have a wireless TPLINK router as a bridge, easy to pull out power and force my little ESP to do some network re connect attempts. It realizes the network is down and tries, I plug the network back in and a good old WDT crash is hit.
Can you guru's stop me from insanity here!
Many thanks in advance Dans