Gocator API > Go2 > Classes > Go2System > Functions > Go2System_RestoreDefaults

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

Go2System_RestoreDefaults
Functions
Description

Restores factory default settings

C

    Go2Status Go2System_RestoreDefaults(Go2System system, Go2Bool restoreIPAddress);

Parameters

Parameters | Description
Go2System system | Go2System object.
Go2Bool restoreIPAddress | Restore the factory default IP address?

Returns

Operation status.

Remarks

If 'restoreIPAddress' is TRUE, then the sensor will auto-reset and the Go2System object will be disconnected when this function completes.

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 still call this command to factory restore the sensor. It will also return a version error, but the factory restore will take place.

File

Go2System.h

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.

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