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

◆ lwm2m_carrier_custom_init()

int lwm2m_carrier_custom_init ( lwm2m_carrier_config_t * config)

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

Initialize the LwM2M carrier library with a custom configuration.

This function supplies the application with the config generated by Kconfig. This allows the application to inject or change configurations. The LwM2M shell and Serial LTE Modem application use this function to make the LwM2M configuration run-time configurable.

Note
A weak version of this function is supplied in lwm2m_carrier.c that does not change any configurations.
Parameters
[in]configConfiguration parameters for the library.