SIM2 DOMINO 20H / DOMINO 30H

RS-232C CONTROL SPECIFICATIONS

3. Communication Protocol

The communication protocol is packet oriented. Packets consists of Header and Payload.

There are two types of packets: Event and Operation.

The packet header size is fixed (7 bytes), while the packet payload type and content varies based on the type of packet: Event payload size is 6 bytes, while Operation payload size is 25 bytes.

The entire packet size is variable, being the sum of the fixed-size packet header and variable-sized packet payload: Event packet size is 13 bytes and Operation packet size is 32 bytes.

Each packet received by the projector is acknowledged with a return code:

-06: Acknowledged with no error

-15: Acknowledged, but an error has occurred.

Header

All Packets use the same Packet Header format.

The Packet Header size is fixed at seven bytes.

0

BE

1

EF

2

Packet Type

34

Packet Payload Size

56

Packet Checksum (CRC)

0xEFBE is a fixed value that is used to insure packet alignment if there are partial packets received or byte lost. The ls-byte of the word 0xBE is sent first, then the ms-byte 0xEF.

The Packet Type is a number (a byte in length) that defines the type of data in the packet.

The Packet Payload Size is a number (two bytes) that defines the size of the payload portion of the packet.

For a given Packet Type, Packet Size is fixed.

The Packet Checksum (two bytes) is the CRC value for the entire packet (Header and Payload).

Payload

The packet payload format depends on the packet type.

The Event packet payload size is 6 bytes, while the Operation packet payload size is 25 bytes.

Event Packet Format:

01

Event

2

00

3

00

4

00

5

00

Operation Packet Format:

0

Op Type

12 Operation ID

3

00

4

00

56

Target

7

8

9

10

 

11

 

12

 

 

 

 

 

 

 

 

 

Operation Value

 

 

00

 

00

 

 

 

 

 

 

 

 

13

14

15

16

17

18

19

20

21

22

23

24

 

 

 

 

 

 

 

 

 

 

 

 

00

00

00

00

00

00

00

00

00

00

00

00

4

Page 4
Image 4
Sim2 Multimedia RS-232C Communication Protocol, Header, Payload, Event Packet Format, Operation Packet Format