Description

i_update_create_image() creates an image file in SerialFlash of the currently running application.

Syntax

i_update_create_image( os_filename );

Parameters

Optional:
String os_filename : name of the binary that should be created. If omitted then the name of the current application is used automatically. (max. 32 bytes; ending with “.bin”)

Returns

int: 1 : OK
0: Error
– wrong filename (max. 32 bytes; ending with “.bin”)
– no more space in the SerialFlash filesystem

Notes and Warnings

It is recommended not to use this function but the function i_update_recover() instead. This would auto. create the image and does the configuration of an update including fallback function for you.

See also

i_update_recover()