Open
Description
I suggest to add a ArduinoIoTCloudClass::end() function for a regulated shutdown and restart of the whole cloud function. This would allow arduinos to shut down the cloud functions for power reasons (for example sleep mode) and enable them later again.
For example:
void ArduinoIoTCloudClass::end() {
_connection->end(); // power down network interface - reduces power consumption from serveral mAs to a few uAs
ECCX08.end(); // power down ECC508 - reduces power consumption from 800 uA to 6 uA
}
and add to the ConnectionManager a public end function. For the MKR WIFI 1010 for example WiFi.end();
Thank you