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

Complete bootloader or firmware update.

This call ensures that all parts from internal update buffers have been written to the modem. Call after the final bootloader segment or the final firmware segment has been written.

Returns 0 on success. Returns -NRF_EOPNOTSUPP If the modem is not in a state to receive. Returns -NRF_EPERM When modem did not accept the flash programming request. Returns -NRF_ENOEXEC When flash programming failed. Returns -NRF_ETIMEDOUT When modem did not respond. Returns -NRF_EIO When incorrect response received from modem.