#include <nrf_modem/include/nrf_modem_bootloader.h>
Read a digest hash data from the modem.
- Parameters
-
[in] | segments | Firmware segments. |
[in] | num_segments | Number of firmware segments. |
[out] | digest_buffer | Pointer to the buffer to store digest hash data. |
- Return values
-
0 | on success. |
-NRF_EINVAL | When digest_buffer 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. |