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

◆ lwm2m_carrier_memory_total_set()

int lwm2m_carrier_memory_total_set ( uint32_t  memory_total)

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

Set the OMA LwM2M Device object Memory Total resource (/3/0/21).

  • The default value of this resource is 0 (kB).
Parameters
[in]memory_totalTotal amount of storage space in kilobytes (kB).
Return values
0If the total amount of storage space has been set successfully.
-EINVALIf the reported value is bigger than INT32_MAX.