|
FireSync API
|
| 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.
When PL programs are changed, some existing node settings may be invalidated as a result. These violations are not automatically addressed. Accordingly, it is recommended to clear node settings and reconfigure from scratch after switching configurations.
| node | Node object. |
| type | Type of firmware to write |
| path | Path to local firmware file. |
| progress | Optional progress callback (can be kNULL). |
| context | Callback context. |