16 #ifndef M2M_INTERFACE_OBSERVER_H 17 #define M2M_INTERFACE_OBSERVER_H 107 virtual void paused() = 0;
117 virtual void sleep() = 0;
120 #endif // M2M_INTERFACE_OBSERVER_H Definition: m2mserver.h:31
Definition: m2minterfaceobserver.h:32
virtual void object_unregistered(M2MSecurity *server_object)=0
A callback indicating that the device object has been successfully unregistered from the LWM2M server...
BaseType
Enum to define the type of object.
Definition: m2mbase.h:61
virtual void init_security_object(uint16_t instance_id)=0
A callback indicating that the given security object instance requires initialisation.
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 ...
Definition: m2msecurity.h:31
virtual void paused()=0
A callback indicating that client is paused.
Header for M2MBase class.
virtual void network_status_changed(bool connected)=0
A callback indicating network status is changed.
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.
virtual void sleep()=0
A callback indicating that client is sleeping.
virtual void alert_mode()=0
A callback indicating that client is in alert mode.
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...
virtual void error(M2MInterface::Error error)=0
A callback indicating that there was an error during the operation.
virtual void bootstrap_done(M2MSecurity *server_object)=0
A callback indicating that the bootstap has been performed successfully.
Error
An enum defining different kinds of errors that can occur during various client operations.
Definition: m2minterface.h:96
virtual void bootstrap_data_ready(M2MSecurity *)
A callback indicating when all bootstrap data has been received.
Definition: m2minterfaceobserver.h:96