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.
WARNING! This operation writes to flash storage. Review the user manual for implications.
This function results in flash storage modifications. If modifications are interrupted due to power loss, the sensor may reboot into Rescue mode.
The sensor does not need to be connected to perform an upgrade.
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. |