Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FXAS21002 FXOS8700Q
ServiceClientCallback Class Reference
ServiceClientCallback A callback class for passing the client progress and error condition to the MbedCloudClient class object. More...
#include <ServiceClient.h>
Inherited by MbedCloudClient.
Public Member Functions | |
| virtual void | complete (ServiceClientCallbackStatus status)=0 |
| Indicates that the setup or close operation is complete with success or failure. | |
| virtual void | error (int error, const char *reason)=0 |
| Indicates an error condition from one of the underlying clients, including identity, connector or update client. | |
| virtual void | value_updated (M2MBase *base, M2MBase::BaseType type)=0 |
| A callback indicating that the value of the resource object is updated by the LWM2M Cloud server. | |
Detailed Description
ServiceClientCallback A callback class for passing the client progress and error condition to the MbedCloudClient class object.
Definition at line 46 of file ServiceClient.h.
Member Function Documentation
| virtual void complete | ( | ServiceClientCallbackStatus | status ) | [pure virtual] |
Indicates that the setup or close operation is complete with success or failure.
- Parameters:
-
status,Indicates success or failure in terms of status code.
| virtual void error | ( | int | error, |
| const char * | reason | ||
| ) | [pure virtual] |
Indicates an error condition from one of the underlying clients, including identity, connector or update client.
- Parameters:
-
error,Indicates an error code translated to MbedCloudClient::Error. reason,Indicates human readable text for error description.
| virtual void value_updated | ( | M2MBase * | base, |
| M2MBase::BaseType | type | ||
| ) | [pure virtual] |
A callback indicating that the value of the resource object is updated by the LWM2M Cloud server.
- Parameters:
-
base,The object whose value is updated. type,The type of the object.
Generated on Tue Jul 12 2022 11:18:38 by
1.7.2