Ask C90 Руководство по эксплуатации - Страница 6
Просмотреть онлайн или скачать pdf Руководство по эксплуатации для Проектор Ask C90. Ask C90 11 страниц. Projector control
5 COMMAND RETURN CODES
The Serial protocol returns an acknowledgement ("return code") for every packet sent. If
the host sends a packet, then the projector acknowledge the receipt of this packet. The return codes are detailed in the table
below.
Command Return Code Name
ACK
NAK
ERR
VAL
STRING
Table 8
6 TRANSACTION EXAMPLES
6.1.1 Example 1: Set
Host:
Operation Set Packet =>
<= ACK
6.1.2 Example 2: Get
Operation Get Packet =>
<= VAL
VAL=0x1D 0x00 0x03 means that 0x0300 is returned
Page 6
Projector Control
Return Code Value
0x06
0x15
0x1C 0xXXXX
0x1D 0xXX 0xYY
Strings 0x06
Projector
Description
Packet acknowledged – no errors. Normal
response when receiving
Packet not acknowledged – some error occurred in
receiving this packet. Usually
Indicates a CRC error.
Packet was received OK, but an error occurred
when executing the command contained in the
Packet. The two bytes following the 0x1C
(0xXXXX) are the error code
Packet value returned. This return code will be
sent in response to a Operation packet of type
OPERATION_GET. The first byte after 0x1D
(0xXX), is the least-byte of the returned value. The
0xYY is the most significant-byte of the returned
value.
ASCII Strings and at last ACK
Version 1.0