FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kNode_LoadFirmware ( kNode  node,
kNodeFirmwareType  type,
const kChar path,
kCallbackFx  progress,
kPointer  context 
)

Loads firmware from a local file to non-volatile storage.

If the remote node supports progress feedback, the specified callback will be invoked to provide updates on the progress of the operation. The callback 'args' parameter will receive a k32u value representing the percentage completed.

Parameters
nodeNode object.
typeType of firmware to write
pathPath to local firmware file.
progressOptional progress callback (can be kNULL).
contextCallback context.
Returns
Operation status.