nRF Connect SDK API 2.8.99
|
int lwm2m_os_dfu_img_type | ( | const void *const | buf, |
size_t | len, | ||
struct lwm2m_os_dfu_header ** | header ) |
#include <lib/bin/lwm2m_carrier/include/lwm2m_os.h>
Find the image type for the buffer of bytes received.
[in] | buf | A buffer of bytes which are the start of a binary firmware image. |
[in] | len | The length of the provided buffer. |
[out] | header | DFU image header descriptor. Only applicable to MCUboot-style upgrades over multiple files. |