16 #ifndef M2M_RESOURCE_INSTANCE_H 17 #define M2M_RESOURCE_INSTANCE_H 58 const String &resource_name,
63 bool external_blockwise_store,
64 bool multiple_instance);
80 const String &resource_name,
82 const String &resource_type,
87 bool external_blockwise_store,
88 bool multiple_instance);
124 #if defined (MBED_CONF_MBED_CLIENT_ENABLE_OBSERVATION_PARAMETERS) && (MBED_CONF_MBED_CLIENT_ENABLE_OBSERVATION_PARAMETERS == 1) 130 virtual bool handle_observation_attribute(
const char *query);
156 friend class Test_M2MResourceInstance;
157 friend class Test_M2MResource;
158 friend class Test_M2MObjectInstance;
159 friend class Test_M2MObject;
160 friend class Test_M2MDevice;
161 friend class Test_M2MSecurity;
162 friend class Test_M2MServer;
163 friend class Test_M2MNsdlInterface;
164 friend class Test_M2MTLVSerializer;
165 friend class Test_M2MTLVDeserializer;
166 friend class Test_M2MDiscover;
169 #endif // M2M_RESOURCE_INSTANCE_H Mode
Enum defining a resource type.
Definition: m2mbase.h:89
Definition: m2mobservationhandler.h:30
virtual void set_observation_handler(M2MObservationHandler *handler)
Sets the observation handler.
virtual M2MObservationHandler * observation_handler() const
Returns the Observation Handler object.
header for M2MResourceBase.
Definition: m2mobjectinstance.h:42
uint32_t value_length() const
Returns the length of the value pointer.
LwM2M parameters.
Definition: m2mbase.h:199
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:98
Definition: m2mblockmessage.h:26
Mode mode() const
Returns the mode of the resource.
Definition: m2mresourceinstance.h:38
Definition: m2mresourcebase.h:49
Definition: m2mresource.h:38
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.