This code specifically is used for device firmware update within the application itself. (Wearable devices) For more info: Refer to the code section.