Skip to content

Struct SYN_LwM2M_Observation

ClassList > SYN_LwM2M_Observation

Active resource or instance observation (RFC 7641).

  • #include <syn_lwm2m.h>

Public Attributes

Type Name
bool active
uint16_t inst_id
uint32_t last_notify_ms
uint16_t obj_id
uint32_t pmax
uint32_t pmin
int32_t res_id
uint32_t seq
uint8_t token
uint8_t token_len

Public Attributes Documentation

variable active

bool SYN_LwM2M_Observation::active;

Slot is currently active


variable inst_id

uint16_t SYN_LwM2M_Observation::inst_id;

Target Instance ID


variable last_notify_ms

uint32_t SYN_LwM2M_Observation::last_notify_ms;

Timestamp of last notification in ms


variable obj_id

uint16_t SYN_LwM2M_Observation::obj_id;

Target Object ID


variable pmax

uint32_t SYN_LwM2M_Observation::pmax;

Maximum observation period in ms


variable pmin

uint32_t SYN_LwM2M_Observation::pmin;

Minimum observation period in ms


variable res_id

int32_t SYN_LwM2M_Observation::res_id;

Target Resource ID (-1 if observing whole instance)


variable seq

uint32_t SYN_LwM2M_Observation::seq;

Notification sequence counter


variable token

uint8_t SYN_LwM2M_Observation::token[8];

CoAP observation token


variable token_len

uint8_t SYN_LwM2M_Observation::token_len;

CoAP observation token length



The documentation for this class was generated from the following file src/syntropic/proto/syn_lwm2m.h