Gocator API > Go2 > Classes > Go2System > Functions > Go2System_Upgrade

Gocator 1x00 API | Contents | Reference | Previous | Up | Next

Go2System_Upgrade
Functions
Description

Upgrades system firmware.

C

    Go2Status Go2System_Upgrade(Go2System system, const Go2Char* sourcePath, Go2UpgradeCallback onUpdate, Go2Handle context);

Parameters

Parameters | Description
Go2System system | Go2System object.
const Go2Char* sourcePath | Local file system path to the upgrade file.
Go2UpgradeCallback onUpdate | Callback function to receive progress updates, or GO2_NULL.
Go2Handle context | Context handle to be passed to the upgrade callback.

Returns

Operation status.

Remarks

This function will block until the upgrade is completed.

This command can be called in a partially connected state. That is, if the SDK attempts to connect to a sensor with older firmware and fails due to a version error, the user can call this command to upgrade the firmware of the sensor.

File

Go2System.h

Copyright (c) 2013 by LMI Technologies Inc. All rights reserved.
Contents | Reference