Skip to content

add a ArduinoIoTCloudClass::end() function for a regulated shutdown #73

Open
@generationmake

Description

@generationmake

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: codeRelated to content of the project itselftype: enhancementProposed improvement

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions