nRF Connect SDK API 0.1.0
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:1170

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

Parameters
nameCallback name.
_callbackCallback function.
_contextUser-defined context.