nRF5 SDK v15.0.0
Data Fields
lwm2m_instance_prototype_t Struct Reference

LWM2M instance structure. More...

#include <lwm2m_api.h>

Data Fields

uint16_t object_id
 
uint16_t instance_id
 
uint16_t num_resources
 
uint8_t operations_offset
 
uint8_t resource_ids_offset
 
lwm2m_instance_callback_t callback
 

Detailed Description

LWM2M instance structure.

Prototype for the instance object, this enables us to search through the instances without knowing the type.

Field Documentation

lwm2m_instance_callback_t lwm2m_instance_prototype_t::callback

Called when an operation is done on this instance.

uint16_t lwm2m_instance_prototype_t::instance_id

Used to identify the instance.

uint16_t lwm2m_instance_prototype_t::num_resources

Number of resources MUST equal number of members in the lwm2m instance, sizeof resource_access and sizeof resource_ids.

uint16_t lwm2m_instance_prototype_t::object_id

Identifies what object this instance belongs to.

uint8_t lwm2m_instance_prototype_t::operations_offset

Internal use.

uint8_t lwm2m_instance_prototype_t::resource_ids_offset

Internal use.


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

Documentation feedback | Developer Zone | Subscribe | Updated