anjay_dm_object_def_struct Struct Reference

#include <dm.h>

Data Fields

anjay_oid_t oid
const char * version
anjay_dm_handlers_t handlers

Detailed Description

A struct defining a LwM2M Object.

Field Documentation

◆ handlers

Handler callbacks for this object.

◆ oid

Object ID; MUST not be ANJAY_ID_INVALID (65535)

◆ version

const char* version

Object version: a string with static lifetime, containing two digits separated by a dot (for example: "1.1"). If left NULL, client will not include the "ver=" attribute in Register and Discover messages. This implies:

  1. Version 1.0 for Non-Core Objects.
  2. The version corresponding to the version in the LwM2M Enabler for Core Objects.

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