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

◆ lwm2m_carrier_portfolio_instance_create()

int lwm2m_carrier_portfolio_instance_create ( uint16_t  instance_id)

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

Create a new instance in the OMA LwM2M Portfolio object (/16/instance_id ).

Parameters
[in]instance_idThe identifier to be used for the new instance.
Return values
0If the instance has been created successfully.
-ENOENTIf the object is not yet initialized.
-ENOMEMIf it was not possible to create the instance because the maximum number of supported object instances has already been reached.
-EINVALIf the provided instance identifier is already in use.