Mistake on this page? Email us
registry_path_s Struct Reference

Describes the path of an item in the LwM2M Object registry. More...

#include <lwm2m_types.h>

Data Fields

uint16_t object_id
 Object ID, for example value 1 translates to /1.
 
uint16_t object_instance_id
 Object Instance ID, for example value 1 in all applicable IDs translates to /1/1.
 
uint16_t resource_id
 Resource ID, for example value 1 in all applicable IDs translates to /1/1/1.
 
uint16_t resource_instance_id
 Resource Instance ID, for example value 1 in all applicable IDs translates to /1/1/1/1.
 
uint8_t path_type
 This field describes which other fields are valid inside this structure.
 

Detailed Description

Describes the path of an item in the LwM2M Object registry.

Note
Field path_type must be read before reading other fields, except object_id, to check if they are available.

The documentation for this struct was generated from the following file: