Gocator API

◆ GoSensor_RestoreDefaults()

kStatus GoSensor_RestoreDefaults ( GoSensor  sensor,
kBool  restoreAddress 
)

Restores factory default settings.

WARNING! This operation writes to flash storage. Review the user manual for implications.

Version
Introduced in firmware 4.0.10.27
Parameters
sensorGoSensor object.
restoreAddresskTRUE to restore the factory default IP address; False otherwise.
Returns
Operation status.
Remarks
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.