#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] | buffer | Buffer containing the log data to be set. |
| [in] | buffer_len | Number of bytes in the buffer. |
- Return values
-
| 0 | If the resource has been set successfully. |
| -ENOENT | If the object is not yet initialized. |
| -EINVAL | If the buffer is NULL. |
| -ENOMEM | If there is not enough memory to copy the buffer contents to the resource model. |