anjay
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, which implies version 1.0.


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