Read File

Downloads a file from the connected sensor (a .job file, a component of a job file, or another type of file; for more information, see Job File Structure).

To download the live configuration, pass "_live.job" in the name field.

To read the configuration of the live configuration only, pass "_live.job/config.xml" in the name field.

Command

Field

Type

Offset

Description

length

32u

0

Command size including this field, in bytes.

id

16u

4

Command identifier (0x1007).

name[64]

char

6

Source file name.

Reply

Field

Type

Offset

Description

length

32u

0

Reply size including this field, in bytes.

id

16u

4

Reply identifier (0x1007).

status

32s

6

Reply status. For a list of status codes, see Status Codes.

length

32u

10

File length.

data[length]

byte

14

File contents.