Function nrfxlib_sys::nrf_modem_full_dfu_verify [−][src]
pub unsafe extern "C" fn nrf_modem_full_dfu_verify(
bytes: u32,
data: *const c_void
) -> c_int
Expand description
Verify the modem firmware signature.
On failure, errno is set to one of following values:
NRF_EINVAL
When data pointer is NULL.NRF_EOPNOTSUPP
If bootloader is not programmed.NRF_EFAULT
When modem responded with error codes.NRF_EPERM
When modem did not accept RPC command.NRF_ENOEXEC
When RPC command failed.NRF_ETIMEDOUT
When modem did not respond.NRF_EIO
When incorrect response received from modem.
bytes
- Size of signature.data
- Pointer to the buffer where signature is stored.
Returns 0 if the procedure succeeds, -1 otherwise.