nRF Connect SDK API 2.8.0
Loading...
Searching...
No Matches
fmfu_fdev.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2021 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
7#ifndef FMFU_FDEV_H__
8#define FMFU_FDEV_H__
9
10#include <zephyr/device.h>
11
20#ifdef __cplusplus
21extern "C" {
22#endif
23
39int fmfu_fdev_load(uint8_t *buf, size_t buf_len,
40 const struct device *fdev, size_t offset);
41
42#ifdef __cplusplus
43}
44#endif
45
48#endif /* FMFU_FDEV_H__ */
int fmfu_fdev_load(uint8_t *buf, size_t buf_len, const struct device *fdev, size_t offset)
Load the modem firmware update from the specified flash device to the modem.