Struct anj_uri_path_t

Struct Documentation

struct anj_uri_path_t

Representation of an LwM2M data model path.

A path can point to any level of the data model hierarchy:

  • the root,

  • an Object,

  • an Object Instance,

  • a Resource,

  • or a Resource Instance.

The ids array stores the identifiers for each level. It can be safely indexed using values from anj_id_type_t. The uri_len field indicates how many components of the path are in use.

Public Members

uint16_t ids[ANJ_URI_PATH_MAX_LENGTH]
size_t uri_len