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

◆ lwm2m_settings_server_lifetime_set()

int lwm2m_settings_server_lifetime_set ( const int32_t  new_server_lifetime)

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

Set or update the server lifetime in the custom LwM2M settings.

Parameters
[in]new_server_lifetimeServer lifetime (in seconds). Used only for an LwM2M Server.
Return values
0on success, non-zero on failure.