5.Protocol 1 : with ID
5.1Command Description
Length: | Total Byte of Message excluding “CR” |
TV ID | Identification for each of TV |
| Identify command type, |
| “s” (0x73h) : Set Command |
| “g” (0x67h) : Get Command |
Command Type | “r” (0x72h) : Reply Command |
| “p” (0x70h) : RCU |
| “+” (0x2Bh) : Valid command Reply |
| |
Command: | Function command code: One byte ASCII code |
Value[1~3]: | Three bytes ASCII that defines the value |
CR | 0x0D |
5.2Set-Function Listing
The PC can control the LCD Monitor for specific actions. The
Set-Function description:
Length: | Total Byte of Message excluding “CR” |
TV ID | Identification for each of TV |
| If we want to set all TV settings, TV ID can use “99” to achieve, and it will not |
| have Reply command on this function. |
Command Type | Identify command type, |
| “s” (0x73h) : Set Command |
Command: | Function command code: One byte ASCII code |
Value[1~3]: | Three bytes ASCII that defines the value |
CR | 0x0D |
Set-Function format
Send: (Command Type=”s”)
Name
Byte
Count
Bytes order
Length | ID | Command Type | Command | Value1 | Value2 | Value3 | CR |
1 Byte | 2 Byte | 1 Byte | 1 Byte | 1 Byte | 1 Byte | 1 Byte | 1 Byte |
|
|
|
|
|
|
|
|
1 | 2~3 | 4 | 5 | 6 | 7 | 8 | 9 |
|
|
|
|
|
|
|
|
Reply: (Command Type=”+” or “-”)
Name
Byte
Count
Bytes order
Length | ID | Command Type | CR |
1 Byte | 2 Byte | 1 Byte | 1 Byte |
|
|
|
|
1 | 2~3 | 4 | 5 |
|
|
|
|
Example1: Set Brightness as 76 for
| Name |
| Length | ID | Command Type | Command | Value1 | Value2 | Value3 | CR | |
| Hex |
| 0x38 | 0x30 | 0x73 | 0x24 | 0x30 | 0x37 | 0x36 | 0x0D | |
|
|
|
| 0x32 |
|
|
|
|
|
|
|
| Reply (Hex Format) |
|
|
|
|
|
|
|
| ||
| Name |
| Length | ID | Command Type | CR |
|
|
|
|
|
| Hex |
| 0x34 | 0x30 | 0x2B | 0x0D |
|
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
| 0x32 |
|
|
|
|
|
|
|
Example2: Set Brightness as 176 for
Name
Length
ID
Command Type Command
Value1
Value2
Value3
CR
ViewSonic CD4620 | 46 |
Downloaded From