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

◆ lwm2m_carrier_utc_time_write()

int lwm2m_carrier_utc_time_write ( int32_t time)

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

Write to 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 write the time to modem.
Parameters
[in]timeTime since Epoch in seconds.
Return values
0If success.