Ask Proxima C90 Command Return Codes, Transaction Examples, Projector Control, Page, Version

Page 6
5 COMMAND RETURN CODES

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

Return Code Value

Description

ACK

0x06

Packet acknowledged – no errors. Normal

 

 

response when receiving

NAK

0x15

Packet not acknowledged – some error occurred in

 

 

receiving this packet. Usually

 

 

Indicates a CRC error.

ERR

0x1C 0xXXXX

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

VAL

0x1D 0xXX 0xYY

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.

STRING

Strings 0x06

ASCII Strings and at last ACK

Table 8

6TRANSACTION EXAMPLES

6.1.1 Example 1: Set

Host:Projector 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

Version 1.0

Image 6
Contents Version Projector ControlC90/100 REVISEDSETTING UP 1 SETTING UP Projector Control4 PROTOCOL MESSAGES 2 GENERAL3 FUNCTION TYPE 0xBEFunction OpTypeLoOperation Type Value5 COMMAND RETURN CODES 6 TRANSACTION EXAMPLES6.1.4 Example 4 Hex sequence for power on with CRC deactivated 7 TABLE OF FUNCTIONS Projector Control APPENDIX 1 CRC CALCULATION ALGORITHM static const BYTE cCRCLoArray =