nRF Connect SDK API 2.8.99
|
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.
handler | Pointer to a handler function of type slm_ind_handler_t. |
wakeup | Enable/disable System Off wakeup by GPIO Sense. |
Zero | Success. |
-EFAULT | if MODEM_SLM_INDICATE_PIN is not defined. |