Cino FA470 User Manual

Page 31

Advertising
background image

Command Descriptions

2-16

Reply Format

Part 1 – First Image Data Command

Prefix

Opcode

Status

Length

Parameter

CRC16

Suffix

7Eh

0Fh 1Ah 02h

34h

10h 00h

See Below

Variable

7Eh

1 Byte

3 Bytes

1 Byte

2 Bytes

4096 Bytes

2 Bytes

1 Byte

Parameter

Image Width

Image Height

Image Size

Image Data

4 Bytes

(Big Endian)

4 Bytes

(Big Endian)

4 Bytes

(Big Endian)

4084 Bytes

Part 2 – Subsequent Image Data Commands

Prefix

Opcode

Status

Length

Parameter

CRC16

Suffix

7Eh

0Fh 1Ah 02h

34h

10h 00h

<Image Data>

Variable

7Eh

1 Byte

3 Bytes

1 Byte

2 Bytes

4096 Bytes

2 Bytes

1 Byte

Part 3 – Last Image Data Command

Prefix

Opcode

Status

Length

Parameter

CRC16

Suffix

7Eh

0Fh 1Ah 02h

14h

See Note

<Image Data>

Variable

7Eh

1 Byte

3 Bytes

1 Byte

2 Bytes

Maximum 4096 Bytes

2 Bytes

1 Byte

.

Notes

1.

Status is defined as follows:

Value

Bit 2 ACK/NAK

Bit 4 Check Digit

Bit 5 Continuation

Other Bits

0

Do not request

LRC (1 Byte)

Last packet

1

Request

CRC16 (2 Bytes)

Intermediate packet

Reserved

Always 0

2.

Length of the Last Image Data Command equals to the length of the remaining Image Data

which should be no more than 4096 bytes.

3.

CRC16 Check Digit is calculated from the beginning of the Opcode field to the end of the

Parameter field.

Advertising