I've got a few nano 33 Iot's running bme280's and sending data to node red. They work fairly well until they lose connection.
What is the best way to detect I lost connection?
If I notice I'm not connected can I just call setup() and start over?
Is there something like ESP.restart() for the Nano 33 IoT?
The boards will stay up for weeks and usually when I lose one I lose all three.
Thanks