nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches

◆ lwm2m_carrier_utc_time_read()

int32_t lwm2m_carrier_utc_time_read ( void  )

#include <lib/bin/lwm2m_carrier/include/lwm2m_carrier.h>

Read the OMA LwM2M Device object Current Time resource (/3/0/13).

Note
This function can be implemented by the application, if custom time management is needed. A __weak implementation is included inside the LwM2M carrier library which will read the time from modem.
Returns
Current UTC time since Epoch in seconds.