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

◆ lwm2m_utils_rai_event_cb()

void lwm2m_utils_rai_event_cb ( struct lwm2m_ctx *  client,
enum lwm2m_rd_client_event *  client_event 
)

#include <include/net/lwm2m_client_utils.h>

LwM2M utils RAI event handler.

Handle registration of the socket state callback and enabling/disabling of Release Assistance Indication depending on the state of LwM2M client.

This function should be called from an event handler registered to lwm2m_rd_client_start() before normal event handler part. This is called from lwm2m_utils_connection_manage() if that module is enabled. Otherwise application should call this directly.

Parameters
clientLwM2M context.
client_eventevent.