14#ifndef NRF_BOOTLOADER_H__
15#define NRF_BOOTLOADER_H__
25#define NRF_MODEM_BOOTLOADER_DIGEST_LEN 8
27#define NRF_MODEM_BOOTLOADER_UUID_LEN 36
int nrf_modem_bootloader_fw_write(uint32_t addr, void *src, uint32_t len)
Write a segment of the firmware to the modem.
#define NRF_MODEM_BOOTLOADER_UUID_LEN
UUID buffer length.
Definition: nrf_modem_bootloader.h:27
int nrf_modem_bootloader_update(void)
Complete bootloader or firmware update.
int nrf_modem_bootloader_bl_write(void *src, uint32_t len)
Write a segment of the bootloader to the modem.
#define NRF_MODEM_BOOTLOADER_DIGEST_LEN
Digest buffer length.
Definition: nrf_modem_bootloader.h:25
int nrf_modem_bootloader_verify(const void *data, uint32_t len)
Verify the modem' firmware signature.
uint32_t data[8]
Definition: nrf_modem_bootloader.h:31
Storage for 256-bit digest/hash replies.
Definition: nrf_modem_bootloader.h:30
uint32_t end_addr
Definition: nrf_modem_bootloader.h:42
uint32_t start_addr
Definition: nrf_modem_bootloader.h:41
Bootloader segment.
Definition: nrf_modem_bootloader.h:40
uint8_t data[36]
Definition: nrf_modem_bootloader.h:36
Modem UUID response.
Definition: nrf_modem_bootloader.h:35