beautypg.com

Ask Proxima C20 User Manual

Page 5

background image

Projector Control

C20 / C60

Page 5

Version 1.

All values is in hexadecimal indicated with the leading 0x. The Magic number is used for synchronizing the start
of a message. The Body size is set to the number of bytes contained in the Body part of the message.
Currently there is only one type of body so the size is fixed to 0x0006. The CRC field contains the CRC of the
message. The CRC algoritm is given in Appendix 1. To disable CRC set CRC_lo=0x00 and CRC_hi = 0x00.
The Message Head – if the CRC are disabled – then looks like the following string:
0xBE 0xEF 0x80 0x06 0x00 0x00 0x00.

This Head will be present in all strings sent to the projector from the

host.

4.1.2 Message Body

The message body has the following structure:

Byte 0

Byte 1

Byte 2

Byte 3

Byte 4

Byte 5

Operation Type

Function

Value

OpTypeLo

0x00

FuncNum_lo

0x00

Opval_lo

Opval_hi

Table 6

4.1.2.1 Field description

Field Name

Field Value

Description

OpTypeLo
0x01

Operation Set. Set current value

0x02

Operation Get. Gets the current value

0x03

Operation Initialize. Initialize the value to
default. Should not be used

0x04

Operation Increment. Increment the value by
one step. Only valid for “Adjust” functions.

0x05

Operation Decrement. Decrement the value by
one step. Only valid for “Adjust” functions.

Operation Type

0x06

Operation Execute. Execute the operation.
Only used for “Execute” operations

Function

FuncNum

The actual function number to execute. A list of
usable FuncNum is given in Chapter 9

Value

-

Only used by Operation Set. The actual value to
set the operation to. For all other operation
actions, this field is set to 0x0000.

Table 7