Gocator API

- Home
- Types
- Files

All Classes Files Functions Variables Typedefs Macros Modules Pages

kStatus GoSensor_UploadFile | ( | GoSensor | sensor,
|  | const kChar * | sourcePath,
|  | const kChar * | destName
| ) |  |

Uploads a file to the connected sensor.

Version
  Introduced in firmware 4.0.10.27

Parameters

  sensor | GoSensor object.
  sourcePath | Source file system path for the file to be uploaded.
  destName | Destination name for the uploaded file (maximum 63 characters).

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.