Anjay Lite
Loading...
Searching...
No Matches
anj_uri_path_t Struct Reference

#include <defs.h>

Data Fields

uint16_t ids [ANJ_URI_PATH_MAX_LENGTH]
 
size_t uri_len
 

Detailed Description

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.

Field Documentation

◆ ids

uint16_t ids[ANJ_URI_PATH_MAX_LENGTH]

◆ uri_len

size_t uri_len

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