Skip to content

Struct SYN_LwM2M_DeviceContext

ClassList > SYN_LwM2M_DeviceContext

Device Object (Object ID 3) state and context.

  • #include <syn_lwm2m.h>

Public Attributes

Type Name
int64_t battery_level
int64_t current_time
int64_t error_code
bool factory_reset_requested
const char * firmware_ver
const char * manufacturer
int64_t memory_free_kb
const char * model_number
bool reboot_requested
const char * serial_number
const char * timezone
const char * utc_offset

Public Attributes Documentation

variable battery_level

int64_t SYN_LwM2M_DeviceContext::battery_level;

Res 9: Battery Level (0..100)


variable current_time

int64_t SYN_LwM2M_DeviceContext::current_time;

Res 13: Current Time (Unix Epoch)


variable error_code

int64_t SYN_LwM2M_DeviceContext::error_code;

Res 11: Error Code


variable factory_reset_requested

bool SYN_LwM2M_DeviceContext::factory_reset_requested;

Flag set when Res 5 (Factory Reset) executed


variable firmware_ver

const char* SYN_LwM2M_DeviceContext::firmware_ver;

Res 3: Firmware Version


variable manufacturer

const char* SYN_LwM2M_DeviceContext::manufacturer;

Res 0: Manufacturer


variable memory_free_kb

int64_t SYN_LwM2M_DeviceContext::memory_free_kb;

Res 10: Free RAM in KB


variable model_number

const char* SYN_LwM2M_DeviceContext::model_number;

Res 1: Model Number


variable reboot_requested

bool SYN_LwM2M_DeviceContext::reboot_requested;

Flag set when Res 4 (Reboot) executed


variable serial_number

const char* SYN_LwM2M_DeviceContext::serial_number;

Res 2: Serial Number


variable timezone

const char* SYN_LwM2M_DeviceContext::timezone;

Res 15: Timezone


variable utc_offset

const char* SYN_LwM2M_DeviceContext::utc_offset;

Res 14: UTC Offset



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