nrfxlib API 2.8.99
Loading...
Searching...
No Matches
nrf_modem_bootloader.h File Reference
#include <stddef.h>
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  nrf_modem_bootloader_digest
 Storage for 256-bit digest/hash replies. More...
 
struct  nrf_modem_bootloader_uuid
 Modem UUID response. More...
 
struct  nrf_modem_bootloader_fw_segment
 Bootloader segment. More...
 

Macros

#define NRF_MODEM_BOOTLOADER_DIGEST_LEN   8
 Digest buffer length.
 
#define NRF_MODEM_BOOTLOADER_UUID_LEN   36
 UUID buffer length.
 

Functions

int nrf_modem_bootloader_bl_write (void *src, uint32_t len)
 Write a segment of the bootloader to the modem.
 
int nrf_modem_bootloader_fw_write (uint32_t addr, void *src, uint32_t len)
 Write a segment of the firmware to the modem.
 
int nrf_modem_bootloader_update (void)
 Complete bootloader or firmware update.
 
int nrf_modem_bootloader_digest (struct nrf_modem_bootloader_fw_segment *segments, size_t num_segments, struct nrf_modem_bootloader_digest *digest_buffer)
 Read a digest hash data from the modem.
 
int nrf_modem_bootloader_uuid (struct nrf_modem_bootloader_uuid *modem_uuid)
 Read modem UUID data.
 
int nrf_modem_bootloader_verify (const void *data, uint32_t len)
 Verify the modem' firmware signature.