
KRAMER: SIMPLE CREATIVE TECHNOLOGY
Communication Protocol 3000
26
Design note: transparent supporting for protocol 2000 will be implemented by switch protocol command from protocol 3000 to protocol
2000, in protocol 2000 there is already such a command to switch protocol to ASCII protocol (#56 : H38 H80 H83 H81).
Table 11: Instruction Codes for Protocol 3000
Result Codes
Syntax
No error. Command running succeeded
COMMAND PARAMETERS
OK
Protocol Errors
Syntax Error
ERR001
Command not available for this device
ERR002
Parameter is out of range
ERR003
Unauthorized access (running command without the match login).
ERR004
Help commands
Command
Syntax
Response
Protocol Handshaking
#
CR
~OK
CRLF
Device initiated messages
Command
Syntax
Start message
~Protocol Start
Set/Get coordinate
#
CRDT
win_num
,x0,y0,x1,y1<CR>
(win_num = 1-4; x0,y0 - top-left coordinate; x1,y1
– bottom-right coordinate)
#
CRDT?
win_num
<CR>
(x0,x1 <=180; y0,y1 <=144(for PAL); y0,y1 <= 120(for NTSC))
(win_num = 1-4 or 0(for output window))
Set/Get Brightness / Contrast /
Sharpness / Hue / Color
#
BRIGHTNESS
inp_num,vol
<CR> (vol = 1-255)
#
BRIGHTNESS?
inp_num
<CR>
#
CONTRAST
inp_num,vol
<CR> (vol = 1-255)
#
CONTRAST?
inp_num
<CR>
#
SHARPNESS
inp_num,vol
<CR> (vol = 0-15)
#
SHARPNESS?
inp_num
<CR>
#
HUE
inp_num,vol
<CR> (vol = 1-255)
#
HUE?
inp_num
<CR>
#
COLOR
inp_num,vol
<CR> (vol = 1-255)
#
COLOR?
inp_num<
CR>
Quad / Full
#
QUAD
<CR>
#
FULL
win_num
<CR>
Set / Get Active window
#
WIN
win_num
<CR>
#
WIN?
<CR>
Set / Get window source
#
SRC-VID
win_num
,
in_num
<CR>
#
SRC-VID?
win_num
<CR>
Set / Get Vertical Mirror Status /
Horizontal Mirror Status / Freeze status /
Blank Status
#
SRC-VMIR
win_num
,
status
<CR> (status = 1
– ON, 0 – OFF)
#
SRC-VMIR?
win_num
<CR>
#
SRC-HMIR
win_num
,
status
<CR> (status = 1
– ON, 0 – OFF)
#
SRC-HMIR?
win_num
<CR>
#
SRC-FREEZE
win_num
,
status
<CR> (status = 1
– ON, 0 – OFF)
#
SRC-FREEZE?
win_num
<CR>
#
SRC-BLANK
win_num
,
status
<CR> (status = 1
– ON, 0 – OFF)