Cino FA470 User Manual

Page 15

Advertising
background image

Command Overview

1-8

2) Get

Get commands are used to obtain the device setting. The parameter field can handle
multiple parameters request at the same time. It means you are able to obtain multiple
setting of device at same as well. It is a very useful for application to reduce
communication overhead.

Each parameter is composed of “PID”, “Size” and “Option”. If necessary, you are able to
pack the selected parameters into one parameter field in accordance with the format
described in the following table. Due to Get command does not have Option section,
please always set the “Size” section to “00h 00h”.

Parameter(s)

First Parameter …

Last Parameter

PID

Size

PID

Size

2 Bytes 2 Byte

2 Bytes 2 Byte

If the device received a Get command issued by the host successfully, the device will pack
all requested parameters into one Reply message string and send it to the host. Otherwise,
a Device NAK will be sent to host to indicate a command error. However, if the host didn’t
receive any response from the device within the user preset time-out duration, please
resend the above command.

3) Reply

Reply message is sent by the device in response to the Get command. All the desired
values are listed one by one in the Parameter(s) field in accordance with the format
described in the following table. Each parameter is composed of “PID”, “Size” and “Option”.
If necessary, you are able to pack the selected parameters into one parameter field in
accordance with the format described in the following table. Please note that the
Parameter(s) field of a Reply message is the same as Set command.

Parameter(s) (Reply)

First Parameter

Last Parameter

PID

Size

Option

PID

Size

Option

2 Bytes 2 Byte Variable … 2 Bytes 2 Byte Variable

Since Reply message is a device-to-host return message, there is no response for this
message.


Advertising