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

◆ modem_slm_register_ind()

int modem_slm_register_ind ( slm_ind_handler_t  handler,
bool  wakeup 
)

#include <include/modem/modem_slm.h>

Register callback for MODEM_SLM_INDICATE_PIN indication.

Parameters
handlerPointer to a handler function of type slm_ind_handler_t.
wakeupEnable/disable System Off wakeup by GPIO Sense.
Return values
ZeroSuccess.
-EFAULTif MODEM_SLM_INDICATE_PIN is not defined.