pub unsafe extern "C" fn nrf_modem_shutdown() -> c_int
Expand description

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.

Returns Zero on success. Returns -NRF_EPERM The Modem library is not initialized.