Gocator API

## ◆ GoControl_ReadFile()

kStatus GoControl_ReadFile | ( | GoControl | control,
|  | const kChar * | fileName,
|  | kByte ** | data,
|  | kSize * | size,
|  | kAlloc | allocator
| ) |  |

Reads a file from the connected sensor.

Version
  Introduced in firmware 4.0.10.27

Parameters

  control | GoControl object.
  fileName | Name of remote file to be read.
  data | Receives a pointer to a buffer containing the file data.
  size | Receives the size of the allocated buffer.
  allocator | Memory allocator, used to allocate the file buffer (or kNULL for default).

Returns
  Operation status.