Command Control via the Network (continued)
Command Format
[TCP #23]
1. Protocol
Consist of header (7 bytes) + command data (6 bytes)
2. Header
BE + EF + 03 + 06 + 00 + CRC_low + CRC_high
CRC_low: Lower byte of CRC ag for command data
CRC_high: Upper byte of CRC ag for command data
3. Command data
Command data chart
byte_0
byte_1
Action
low
high
Action (byte_0 - 1)
Classication
Action
1
Set
2
Get
Increment
4
Decrement
5
6
Execute
Requesting projector status (Get command)
(1) Send the following request code from the PC to the projector.
Header + Command data ('02H' + '00H' + type (2 bytes) + '00H' + '00H')
(2) The projector returns the response code '1DH' + data (2 bytes) to the PC.
Changing the projector settings (Set command)
(1) Send the following setting code from the PC to the projector.
Header + Command data ('01H' + '00H' + type (2 bytes) + setting code (2 bytes))
(2) The projector changes the setting based on the above setting code.
(3) The projector returns the response code '06H' to the PC.
Using the projector default settings (Reset Command)
(1) The PC sends the following default setting code to the projector.
Header + Command data ('06H' + '00H' + type (2 bytes) + '00H' + '00H')
(2) The projector changes the specied setting to the default value.
(3) The projector returns the response code '06H' to the PC.
Increasing the projector setting value (Increment command)
(1) The PC sends the following increment code to the projector.
Header + Command data ('04H' + '00H' + type (2 bytes) + '00H' + '00H')
(2) The projector increases the setting value on the above setting code.
(3) The projector returns the response code '06H' to the PC.
byte_2
byte_3
Type
low
high
Change setting to desired value.
Read projector internal setup value.
Increment setup value by 1.
Decrement setup value by 1.
Run a command.
byte_4
byte_5
Setting code
low
high
Content
10