|
Gocator API
|
| kStatus GoSensor_Upgrade | ( | GoSensor | sensor, |
| const kChar * | sourcePath, | ||
| GoUpgradeFx | onUpdate, | ||
| kPointer | context | ||
| ) |
Upgrades sensor firmware.
This function will block until the upgrade is completed. For sensors upgrading from a 4.X firmware, an automatic reboot is required in order for the upgrade to take effect. Otherwise, a manual reboot must be called.
| sensor | GoSensor object. |
| sourcePath | Local file system path to the upgrade file. |
| onUpdate | Callback function to receive progress updates, or kNULL. |
| context | Context handle to be passed to the upgrade callback. |