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

◆ lwm2m_carrier_log_data_set()

int lwm2m_carrier_log_data_set ( const uint8_t *  buffer,
size_t  buffer_len 
)

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

Set the OMA LwM2M Event Log object LogData resource (/20/0/4014).

Note
The Event Log object is only available in LWM2M_CARRIER_SOFTBANK and LWM2M_CARRIER_GENERIC.
Parameters
[in]bufferBuffer containing the log data to be set.
[in]buffer_lenNumber of bytes in the buffer.
Return values
0If the resource has been set successfully.
-ENOENTIf the object is not yet initialized.
-EINVALIf the buffer is NULL.
-ENOMEMIf there is not enough memory to copy the buffer contents to the resource model.