#include <m2minterfaceobserver.h>
Public Member Functions | |
virtual void | init_security_object (uint16_t instance_id)=0 |
A callback indicating that the given security object instance requires initialisation. More... | |
virtual void | bootstrap_done (M2MSecurity *server_object)=0 |
A callback indicating that the bootstap has been performed successfully. More... | |
virtual void | object_registered (M2MSecurity *security_object, const M2MServer &server_object)=0 |
A callback indicating that the device object has been registered successfully to the LWM2M server. More... | |
virtual void | object_unregistered (M2MSecurity *server_object)=0 |
A callback indicating that the device object has been successfully unregistered from the LWM2M server. More... | |
virtual void | registration_updated (M2MSecurity *security_object, const M2MServer &server_object)=0 |
A callback indicating that the device object registration has been successfully updated on the LWM2M server. More... | |
virtual void | error (M2MInterface::Error error)=0 |
A callback indicating that there was an error during the operation. More... | |
virtual void | value_updated (M2MBase *base, M2MBase::BaseType type)=0 |
A callback indicating that the value of the resource object is updated by the server. More... | |
virtual void | bootstrap_data_ready (M2MSecurity *) |
A callback indicating when all bootstrap data has been received. More... | |
virtual void | network_status_changed (bool connected)=0 |
A callback indicating network status is changed. More... | |
virtual void | paused ()=0 |
A callback indicating that client is paused. | |
virtual void | alert_mode ()=0 |
A callback indicating that client is in alert mode. | |
virtual void | sleep ()=0 |
A callback indicating that client is sleeping. | |
This is an observer class that updates the calling application about various events associated with various Interface operations. Also, it informs about various errors that can occur during any of the above operations.
|
inlinevirtual |
A callback indicating when all bootstrap data has been received.
security_object,The | security object that contains the security information. |
|
pure virtual |
A callback indicating that the bootstap has been performed successfully.
server_object | The server object that contains information fetched about the LWM2M server from the bootstrap server. This object can be used to register to the LWM2M server. The object ownership is passed. |
|
pure virtual |
A callback indicating that there was an error during the operation.
error | An error code for the occurred error. |
|
pure virtual |
A callback indicating that the given security object instance requires initialisation.
instance_id | The instance id of the security object instance requiring initialisation. |
|
pure virtual |
A callback indicating network status is changed.
connected | true for connected, false for disconnected. |
|
pure virtual |
A callback indicating that the device object has been registered successfully to the LWM2M server.
security_object | The server object on which the device object is registered. The object ownership is passed. |
server_object | An object containing information about the LWM2M server. The client maintains the object. |
|
pure virtual |
A callback indicating that the device object has been successfully unregistered from the LWM2M server.
server_object | The server object from which the device object is unregistered. The object ownership is passed. |
|
pure virtual |
A callback indicating that the device object registration has been successfully updated on the LWM2M server.
security_object | The server object on which the device object registration updated. The object ownership is passed. |
server_object | An object containing information about the LWM2M server. The client maintains the object. |
|
pure virtual |
A callback indicating that the value of the resource object is updated by the server.
base | The object whose value is updated. |
type | The type of the object. |