Pausing Device Management Client
The application can halt all operations done by the Device Management client by calling MbedCloudClient::pause();
. This halts all the timers and active operations for the client as soon as possible. This also closes the network connection and removes the interface registered to client. This doesn't deregister the client from Device Management.
To continue client operations, the application should call MbedCloudClient::resume();
MbedCloudClient::pause();
This API always halts the client and places it in the paused state. The application receives the Paused
result through the on_status_callback
callback.
It is the responsibility of the application to resume()
the client operations before the device lifetime expires.