![]() |
nRF Connect SDK API 3.4.99
|
| int lwm2m_carrier_portfolio_instance_create | ( | uint16_t | instance_id | ) |
#include <lwm2m_carrier.h>
Create a new instance in the OMA LwM2M Portfolio object (/16/instance_id ).
| [in] | instance_id | The identifier to be used for the new instance. |
| 0 | If the instance has been created successfully. |
| -ENOENT | If the object is not yet initialized. |
| -ENOMEM | If it was not possible to create the instance because the maximum number of supported object instances has already been reached. |
| -EINVAL | If the provided instance identifier is already in use. |