nRF Connect SDK API 0.1.0
|
int fmfu_fdev_load | ( | uint8_t * | buf, |
size_t | buf_len, | ||
const struct device * | fdev, | ||
size_t | offset | ||
) |
#include <include/dfu/fmfu_fdev.h>
Load the modem firmware update from the specified flash device to the modem.
The modem library must be initialized in DFU mode before calling this function.
[in] | buf | Pointer to buffer used to read data from external flash. |
[in] | buf_len | Length of provided buffer. |
[in] | fdev | Flash device to read modem firmware from. |
[in] | offset | Offset within configured flash device to first byte of modem update data. |