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

◆ NRF_MODEM_LIB_ON_CFUN

#define NRF_MODEM_LIB_ON_CFUN (   name,
  _callback,
  _context 
)

#include <include/modem/nrf_modem_lib.h>

Value:
static void _callback(int mode, void *ctx); \
STRUCT_SECTION_ITERABLE(nrf_modem_lib_at_cfun_cb, nrf_modem_at_cfun_hook_##name) = { \
.callback = _callback, \
.context = _context, \
};
AT CFUN callback entry.
Definition: nrf_modem_lib.h:136

Define a callback for successful AT CFUN calls.

Parameters
nameCallback name
_callbackCallback function name
_contextUser-defined context for the callback