Gocator API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSensor_Restore | ( | GoSensor | sensor,
|  | const kChar * | sourcePath
| ) |  |

Restores a backup of sensor files.

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

Version
  Introduced in firmware 4.0.10.27

Parameters

  sensor | GoSensor object.
  sourcePath | Local file system path of the saved backup file.

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.