i_update_create_image() creates an image file in SerialFlash of the currently running application.
i_update_create_image( os_filename );
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”)
int: 1 : OK
– 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.