Restores factory default settings
Go2Status Go2System_RestoreDefaults(Go2System system, Go2Bool restoreIPAddress);
|
Parameters |
Description |
|
Go2System system |
Go2System object. |
|
Go2Bool restoreIPAddress |
Restore the factory default IP address? |
Operation status.
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.
Calling this function will result in writing operations to flash storage. Should the process be disrupted due to power loss or other factors, the sensor may enter Rescue mode.
Go2System.h