16 #ifndef M2M_OBSERVATION_HANDLER_H 17 #define M2M_OBSERVATION_HANDLER_H 48 bool send_object =
false) = 0;
70 #ifndef DISABLE_DELAYED_RESPONSE 78 #ifdef ENABLE_ASYNC_REST_RESPONSE 88 virtual void send_asynchronous_response(
M2MBase *base,
89 const uint8_t *payload,
92 const uint8_t token_len,
93 coap_response_code_e code) = 0;
98 #endif // M2M_OBSERVATION_HANDLER_H Definition: m2mobservationhandler.h:31
virtual bool observation_to_be_sent(M2MBase *object, uint16_t obs_number, const m2m::Vector< uint16_t > &changed_instance_ids, bool send_object=false)=0
The observation callback to be sent to the server due to a change in a parameter under observation...
virtual void resource_to_be_deleted(M2MBase *base)=0
A callback for removing an NSDL resource from the data structures.
virtual void send_delayed_response(M2MBase *base)=0
Sends a delayed post response to the server with 'COAP_MSG_CODE_RESPONSE_CHANGED' response code...
The base class based on which all LwM2M object models can be created.
Definition: m2mbase.h:63
virtual void remove_object(M2MBase *object)=0
A callback for removing an object from the list.
M2MBase. This class is the base class based on which all LwM2M object models can be created...
CoAP response code values.
virtual void value_updated(M2MBase *base)=0
A callback indicating that the value of the resource object is updated by server. ...
Definition: m2mresourceinstance.h:32
Definition: m2mvector.h:30