2.2- Data Format
(1) Terminal Mode control format (Turning on and Off Terminal Mode)
- Terminal On is achieved by sending a 1 byte command of 05 (Hex).
- Terminal Off is achieved by sending a 1 byte command of 04 (Hex)
ON
/
Off
Figure. 2
(2) Terminal Communication Format (Sending Commands to TV)
Commands are sent to the TV in 14 byte strings
The strings consist of the following:
-
Start: 1 byte (02) Hex (STX)
-
Command: 12 byte
Stop: 1 Byte (03) Hex (ETX)
1
2
3
Start
Function
STX
(2 Byte)
(1 Byte)
Figure. 3
(3) Television Answer Format (Showing current Status)
The television responds with a 6 byte answer strings as follows:
-
Start: 1 byte (02) Hex (STX)
Response: 4 byte (Upper Data/Lower Data)
Stop: 1 Byte (03) Hex (ETX)
1
2
3
Start
STX
Upper Data
(1 Byte)
(2 Byte)
Figure. 4
(4) Television Answer Format (Status of Command Execution)
Acknowledgement: (06) Hex (ACK)
-
-
No Acknowledgement: (15) Hex (NAK)
ACK
/
NAK
Figure. 5
4
5
6
7
Function
Read/Write
(2 Byte)
(2 Byte)
Function
Function
(2 Byte)
(2 Byte)
4
5
6
Stop
Lower Data
ETX
(2 Byte)
(1 Byte)
8
9
10
11
Stop
Function
Upper Data
(2 Byte)
(2 Byte)
Function
Function
(2 Byte)
(2 Byte)
73
12
13
14
Lower Data
ETX
(2 Byte)
(1 Byte)
Function
(2 Byte)
DP43