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

◆ lwm2m_carrier_timezone_write()

int lwm2m_carrier_timezone_write ( const char *  tz)

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

Write to the OMA LwM2M Device object Timezone resource (/3/0/15).

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 timezone to modem.
Parameters
[in]tzNull-terminated time zone string pointer.
Return values
0If success.