nrfxlib API 0.1.0
|
int nrf_modem_bootloader_verify | ( | const void * | data, |
uint32_t | len | ||
) |
#include <nrf_modem/include/nrf_modem_bootloader.h>
Verify the modem' firmware signature.
[in] | data | Pointer to the buffer where the signature is stored. |
[in] | len | Size of the signature. |
0 | on success. |
-NRF_EINVAL | When data pointer is NULL. |
-NRF_EOPNOTSUPP | If bootloader is not programmed. |
-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. |