16 #ifndef M2M_RESOURCE_INSTANCE_H 17 #define M2M_RESOURCE_INSTANCE_H 55 const String &resource_name,
60 bool external_blockwise_store,
61 bool multiple_instance);
77 const String &resource_name,
79 const String &resource_type,
84 bool external_blockwise_store,
85 bool multiple_instance);
121 #if defined (MBED_CONF_MBED_CLIENT_ENABLE_OBSERVATION_PARAMETERS) && (MBED_CONF_MBED_CLIENT_ENABLE_OBSERVATION_PARAMETERS == 1) 127 virtual bool handle_observation_attribute(
const char *query);
153 friend class Test_M2MResourceInstance;
154 friend class Test_M2MResource;
155 friend class Test_M2MObjectInstance;
156 friend class Test_M2MObject;
157 friend class Test_M2MDevice;
158 friend class Test_M2MSecurity;
159 friend class Test_M2MServer;
160 friend class Test_M2MNsdlInterface;
161 friend class Test_M2MFirmware;
162 friend class Test_M2MTLVSerializer;
163 friend class Test_M2MTLVDeserializer;
166 #endif // M2M_RESOURCE_INSTANCE_H Mode
Enum defining a resource type.
Definition: m2mbase.h:98
Definition: m2mobservationhandler.h:31
virtual void set_observation_handler(M2MObservationHandler *handler)
Sets the observation handler.
The base class based on which all LwM2M object models can be created.
Definition: m2mbase.h:63
virtual M2MObservationHandler * observation_handler() const
Returns the Observation Handler object.
M2MResourceBase. This class is the base class for mbed Client Resources. All defined LWM2M resource m...
Definition: m2mobjectinstance.h:36
uint32_t value_length() const
Returns the length of the value pointer.
LwM2M parameters.
Definition: m2mbase.h:210
Definition: m2mstring.h:33
virtual const char * object_name() const
Returns the name of the object where the resource exists.
virtual M2MBase * get_parent() const
Returns the owner object. Can return NULL if the object has no parent.
virtual M2MResource & get_parent_resource() const
Get reference to the resource owning this resource instance.
DataType
Enum defining a resource data type.
Definition: m2mbase.h:107
Definition: m2mblockmessage.h:26
Mode mode() const
Returns the mode of the resource.
Definition: m2mresourceinstance.h:32
Definition: m2mresourcebase.h:43
The base class for Client Resources.
Definition: m2mresource.h:40
const char * resource_type() const
Returns the resource type of the object.
virtual uint16_t object_instance_id() const
Returns the instance ID of the object where the resource exists.
uint8_t * value() const
Returns the value pointer of the object.