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

◆ lwm2m_carrier_event_handler()

int lwm2m_carrier_event_handler ( const lwm2m_carrier_event_t event)

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

LwM2M carrier library event handler.

This function will be called by the LwM2M carrier library whenever some event significant for the application occurs.

Note
This function has to be implemented by the application.
Parameters
[in]eventLwM2M carrier event that occurred.
Returns
In case of LWM2M_CARRIER_EVENT_REBOOT events if non-zero is returned, the LwM2M carrier library will not reboot the device. The application should reboot at the earliest convenient time.