Lines Matching full:resource
68 * Refer to the OMA LightweightM2M (LwM2M) Object and Resource Registry:
103 uint16_t res_id; /**< Resource ID */
104 uint16_t res_inst_id; /**< Resource instance ID */
105 uint8_t level; /**< Path level (0-4). Ex. 4 = resource instance. */
312 /** Validation buffer. Used as a temporary buffer to decode the resource
314 * copied into the actual resource buffer.
352 * @brief Asynchronous callback to get a resource buffer and length.
354 * Prior to accessing the data buffer of a resource, the engine can
356 * of using the resource's data buffer.
363 * @param[in] res_id Resource ID generating the callback.
364 * @param[in] res_inst_id Resource instance ID generating the callback
376 * @brief Asynchronous callback when data has been set to a resource buffer.
378 * After changing the data of a resource buffer, the LwM2M engine can
391 * @param[in] res_id Resource ID generating the callback.
392 * @param[in] res_inst_id Resource instance ID generating the callback
414 * Various object instance and resource-based events in the LwM2M engine
432 * Resource executes trigger a callback of this type.
449 * @name Power source types used for the "Available Power Sources" resource of
465 * @name Error codes used for the "Error Code" resource of the LwM2M Device
484 * @name Battery status codes used for the "Battery Status" resource (3/0/20)
639 * update resource "execute" operation on the LwM2M Firmware Update object.
656 * update resource "execute" operation on the LwM2M Firmware Update object.
678 * on the corresponding object's Activate resource instance.
691 * on the corresponding object's Deactivate resource instance.
704 * on the corresponding object's Install resource instance.
717 * on the corresponding object's Uninstall resource instance.
743 * on the corresponding object's resource instance.
781 * @brief Maximum value for Objlnk resource fields
786 * @brief LWM2M Objlnk resource type structure
867 * @brief Set resource (instance) value (opaque buffer)
878 * @brief Set resource (instance) value (string)
888 * @brief Set resource (instance) value (u8)
898 * @brief Set resource (instance) value (u16)
908 * @brief Set resource (instance) value (u32)
918 * @brief Set resource (instance) value (s8)
928 * @brief Set resource (instance) value (s16)
938 * @brief Set resource (instance) value (s32)
948 * @brief Set resource (instance) value (s64)
958 * @brief Set resource (instance) value (bool)
968 * @brief Set resource (instance) value (double)
978 * @brief Set resource (instance) value (Objlnk)
988 * @brief Set resource (instance) value (Time)
998 * @brief LwM2M resource item structure
1000 * Value type must match the target resource as no type conversion are
1003 * Following C types are used for resource types:
1017 * resource, the terminator should not be included in size.
1023 /** Pointer to resource value */
1030 * @brief Set multiple resource (instance) values
1032 * NOTE: Value type must match the target resource as this function
1034 * See struct @ref lwm2m_res_item for list of resource types.
1036 * @param[in] res_list LwM2M resource item list
1037 * @param[in] res_list_size Length of resource list
1044 * @brief Get resource (instance) value (opaque buffer)
1055 * @brief Get resource (instance) value (string)
1066 * @brief Get resource (instance) value (u8)
1076 * @brief Get resource (instance) value (u16)
1086 * @brief Get resource (instance) value (u32)
1096 * @brief Get resource (instance) value (s8)
1106 * @brief Get resource (instance) value (s16)
1116 * @brief Get resource (instance) value (s32)
1126 * @brief Get resource (instance) value (s64)
1136 * @brief Get resource (instance) value (bool)
1146 * @brief Get resource (instance) value (double)
1156 * @brief Get resource (instance) value (Objlnk)
1166 * @brief Get resource (instance) value (Time)
1176 * @brief Set resource (instance) read callback
1178 * LwM2M clients can use this to set the callback function for resource reads when data
1189 * @param[in] cb Read resource callback
1196 * @brief Set resource (instance) pre-write callback
1198 * This callback is triggered before setting the value of a resource. It
1199 * can pass a special data buffer to the engine so that the actual resource
1203 * @param[in] cb Pre-write resource callback
1211 * @brief Set resource (instance) validation callback
1213 * This callback is triggered before setting the value of a resource to the
1214 * resource data buffer.
1226 * @param[in] cb Validate resource data callback
1234 * @brief Set resource (instance) post-write callback
1236 * This callback is triggered after setting the value of a resource to the
1237 * resource data buffer.
1239 * It allows an LwM2M client or object to post-process the value of a resource
1240 * or trigger other related resource calculations.
1243 * @param[in] cb Post-write resource callback
1251 * @brief Set resource execute event callback
1253 * This event is triggered when the execute method of a resource is enabled.
1256 * @param[in] cb Execute resource callback
1289 * @brief Resource read-only value bit
1294 * @brief Resource read-only flag
1299 * @brief Read resource flags helper macro
1304 * @brief Set data buffer for a resource
1307 * resource.
1321 * @brief Update data size for a resource
1333 * @brief Get data buffer for a resource
1336 * resource.
1355 * @brief Create a resource instance
1357 * LwM2M clients use this function to create multi-resource instances:
1368 * @brief Delete a resource instance
1370 * Use this function to remove an existing resource instance
1398 * E.g. true if path refers to a resource and the parent object has an
1578 * @brief Enable data cache for a resource.
1580 * Application may enable caching of resource data by allocating buffer for LwM2M engine to use.
1583 * @param path LwM2M path to resource as a struct