Skip to content

Struct SYN_LwM2M_Client

ClassList > SYN_LwM2M_Client

LwM2M Client Context.

  • #include <syn_lwm2m.h>

Public Attributes

Type Name
const char * binding
const char * endpoint_name
uint32_t last_update_ms
uint32_t lifetime_s
char location_path
size_t object_count
const SYN_LwM2M_Object * objects
SYN_LwM2M_Observation observations
SYN_LwM2M_ClientState state
SYN_Transport * transport

Public Attributes Documentation

variable binding

const char* SYN_LwM2M_Client::binding;

Transport binding ("U" for UDP)


variable endpoint_name

const char* SYN_LwM2M_Client::endpoint_name;

Client endpoint name (e.g. "urn:imei:12345")


variable last_update_ms

uint32_t SYN_LwM2M_Client::last_update_ms;

Timestamp of last registration/update in ms


variable lifetime_s

uint32_t SYN_LwM2M_Client::lifetime_s;

Registration lifetime in seconds


variable location_path

char SYN_LwM2M_Client::location_path[SYN_LWM2M_MAX_URI_PATH_LEN];

Server-assigned location path (e.g. "rd/42")


variable object_count

size_t SYN_LwM2M_Client::object_count;

Count of registered objects


variable objects

const SYN_LwM2M_Object* SYN_LwM2M_Client::objects[SYN_LWM2M_MAX_OBJECTS];

Registered objects


variable observations

SYN_LwM2M_Observation SYN_LwM2M_Client::observations[SYN_LWM2M_MAX_OBSERVERS];

Observation slots


variable state

SYN_LwM2M_ClientState SYN_LwM2M_Client::state;

Registration state


variable transport

SYN_Transport* SYN_LwM2M_Client::transport;

Underlying generic or DTLS transport



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