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

◆ LTE_LC_ON_CFUN

#define LTE_LC_ON_CFUN ( name,
_callback,
_context )

#include <include/modem/lte_lc.h>

Value:
static void _callback(enum lte_lc_func_mode, void *ctx); \
STRUCT_SECTION_ITERABLE(lte_lc_cfun_cb, lte_lc_cfun_cb_##name) = { \
.callback = _callback, \
.context = _context, \
};
lte_lc_func_mode
Definition lte_lc.h:153
Definition lte_lc.h:1197

Define a callback for functional mode changes through lte_lc_func_mode_set().

Parameters
nameCallback name.
_callbackCallback function.
_contextUser-defined context.
Deprecated
since v2.8.0, use NRF_MODEM_LIB_ON_CFUN instead.