CycloneBOOT 2.6.6
Secure Bootloader for ARM Cortex-M MCU
Loading...
Searching...
No Matches
image_utils.h
Go to the documentation of this file.
1
31#ifndef _IMAGE_UTILS_H
32#define _IMAGE_UTILS_H
33
34// Dependencies
35#include "image/image.h"
36
37// C++ guard
38#ifdef __cplusplus
39extern "C"
40{
41#endif
42
46void imageChangeState(Image *image, ImageState newState);
47void imageCompareFirmwareVersions(ImageVersion *version_one, ImageVersion *version_two,
49
50// C++ guard
51#ifdef __cplusplus
52}
53#endif
54
55#endif
cboot_error_t
Error codes.
Definition cboot_error.h:57
CycloneBOOT Image management.
ImageState
Image states.
Definition image.h:103
ImageVersionComparisonFlag
Image version comparison flags definition.
Definition image.h:122
void imageChangeState(Image *image, ImageState newState)
Update Image state.
Definition image_utils.c:541
cboot_error_t imageProcessAppData(ImageProcessContext *context)
Process receiving of the firmware data bloc by bloc. If firmware is encrypted the data will first be ...
Definition image_utils.c:225
cboot_error_t imageProcessAppCheck(ImageProcessContext *context)
Process receiving of the image check data. Depending of the user settings it could be the integrity o...
Definition image_utils.c:385
cboot_error_t imageProcessAppHeader(ImageProcessContext *context)
Process image application header. Once fully received it will parse the image header,...
Definition image_utils.c:56
void imageCompareFirmwareVersions(ImageVersion *version_one, ImageVersion *version_two, ImageVersionComparisonFlag *result)
Compare two image versions.
Definition image_utils.c:553
Image Process context definition.
Definition image.h:199
Image context definition.
Definition image.h:153