nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ nrf_modem_bootloader_verify()

int nrf_modem_bootloader_verify ( const void *  data,
uint32_t  len 
)

#include <nrf_modem/include/nrf_modem_bootloader.h>

Verify the modem' firmware signature.

Parameters
[in]dataPointer to the buffer where the signature is stored.
[in]lenSize of the signature.
Return values
0on success.
-NRF_EINVALWhen data pointer is NULL.
-NRF_EOPNOTSUPPIf bootloader is not programmed.
-NRF_EPERMWhen modem did not accept RPC command.
-NRF_ENOEXECWhen RPC command failed.
-NRF_ETIMEDOUTWhen modem did not respond.
-NRF_EIOWhen incorrect response received from modem.