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

◆ lwm2m_carrier_error_code_remove()

int lwm2m_carrier_error_code_remove ( int32_t error)

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

Clear an error code in the OMA LwM2M Device object Error Code resource (/3/0/11).

Parameters
[in]errorIndividual error code to be removed (lwm2m_carrier_error_code_values).
Return values
0If the error has been removed successfully.
-EINVALIf the error code is not supported.
-ENOENTIf the error to be removed is not present on the error code list.