nRF Connect SDK API 0.1.0
|
enum dfu_target_image_type dfu_target_img_type | ( | const void *const | buf, |
size_t | len | ||
) |
#include <include/dfu/dfu_target.h>
Find the image type for the buffer of bytes received. Used to determine what DFU target to initialize.
[in] | buf | A buffer of bytes which are the start of a binary firmware image. |
[in] | len | The length of the provided buffer. |