Struct anjay_dm_object_def_struct

Struct Documentation

struct anjay_dm_object_def_struct

A struct defining a LwM2M Object.

Public Members

anjay_oid_t oid

Object ID; MUST not be ANJAY_ID_INVALID (65535)

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.

anjay_dm_handlers_t handlers

Handler callbacks for this object.