nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_shutdown()

int nrf_modem_shutdown ( void  )

#include <nrf_modem/include/nrf_modem.h>

De-initialize the Modem library and turn off the modem.

Note
If the modem is initialized in normal mode, it must be put into offline mode (CFUN=0) before shutting it down.

Resources reserved by the library are freed when the library is shutdown.

Return values
Zeroon success.
-NRF_EPERMThe Modem library is not initialized.