Mistake on this page? Email us

Resuming Device Management Client from the pause() or alert() state

To wake up the client from either the pause() or alert() state, the application should call MbedCloudClient::resume();. This restores the client to the previous state before pause() or state() was called, and the client performs register_update()

    MbedCloudClient::resume();

The result of that request can be:

  • Success

    If Device Management Client successfully resumes, the application receives the RegistrationUpdated result through the on_status_callback callback.

  • Failure

    If the resume operation fails, the application receives the result through the error callback.