(15/37)
7. Power control procedure
7.1 Power status read
1) The controller requests the monitor to reply a current power status.
Header
Message
Check code
Delimiter
SOH-'0'-'A'-'0'-'A'-'0'-'6'
STX-'0'-'1'-'D'-'6'-ETX
BCC
CR
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'A' (41h): Monitor ID
LCD3215/LCD4215 must be ASCII 'A' (41h).
'0' (30h): Message sender is the controller
'A' (41h): Message Type is "Command"
'0'-'6' (30h, 36h): Message length is 6 bytes
Message
STX (02h): Start of Message
'0'-'1'-'D'-'6': Get power status command
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5
“
Check code
”
for a BCC calculation.
Delimiter
CR (0Dh): End of packet.
2) The monitor returns with the current power status.
Header
SOH (01h): Start Of Header
'0' (30h): Reserved
'0' (30h): Message receiver is the controller
'A' (41h): Monitor ID
LCD3215/LCD4215 must be ASCII 'A' (41h).
'B' (42h): Message Type is "Command reply"
'1'-'2' (31h, 32h): Message length is 18 bytes
Message
STX(02h):Start of Message
'0'-'2' (30h, 32h): Reserved data
'0'-'0' (30h, 30h): Result code
00: No Error
01: Unsupported
'D'-'6'(44h, 36h): Display power mode code
'0'-'0' (30h, 30h): Parameter type code is "Set parameter"
'0'-'0'-'0'-'4' (30h, 30h, 30h, 34h): Power mode is 4 types
'0'-'0'-'0'-'1' (30h, 30h, 30h, 31h): Current power mode
<Status>
0001: ON
0002: Stand-by (power save)
0003: Suspend (power save)
0004: OFF (same as IR power off)
ETX (03h): End of Message
Check code
BCC: Block Check Code
Refer to the section 4.5
“
Check code
”
for a BCC calculation.
Delimiter
CR (0Dh): End of packet
Header
Message
Check code
Delimiter
SOH-'0'-'0'-'A'-'B'-'1'-'2'
STX-'0'-'2'-'0'-'0'-'D'-'6'-'0'-'0'-'0'
-'0'-'0'-'4'-'0'-'0'-'0'-'1'-ETX
BCC
CR