pub unsafe extern "C" fn nrf_modem_bootloader_verify(
data: *const c_void,
len: u32,
) -> c_intExpand description
Verify the modem’ firmware signature.
data- Pointer to the buffer where the signature is stored.len- Size of the signature.
Returns 0 on success. Returns -NRF_EINVAL When data pointer is NULL. Returns -NRF_EOPNOTSUPP If bootloader is not programmed. Returns -NRF_EPERM When modem did not accept RPC command. Returns -NRF_ENOEXEC When RPC command failed. Returns -NRF_ETIMEDOUT When modem did not respond. Returns -NRF_EIO When incorrect response received from modem.