Simulated product dispenser

Dependencies:   HTS221

Fork of mbed-cloud-workshop-connect-HTS221 by Jim Carver

Embed: (wiki syntax)

« Back to documentation index

MbedCloudClientCallback Class Reference

MbedCloudClientCallback Class Reference

MbedCloudClientCallback A callback class for informing updated object and resource value from the LWM2M server to the user of the MbedCloudClient class. More...

#include <MbedCloudClient.h>

Public Member Functions

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

MbedCloudClientCallback A callback class for informing updated object and resource value from the LWM2M server to the user of the MbedCloudClient class.

The user MUST instantiate the class derived out of this and pass the object to MbedCloudClient::set_update_callback().

Definition at line 38 of file MbedCloudClient.h.


Member Function Documentation

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:
baseThe object whose value is updated.
typeThe type of the object.