Kramer Electronics Ltd.
KDS-SW2-EN7
– Protocol 3000
62
Function
Description
Syntax
Response
Parameters/Attributes
Example
GTW-MSG-
NUM?
Get Control Gateway
Messages Counter
from certain period.
Add Recv_Count
and Send_Count
NOTE:
<date> is a
legacy parameter, for
KDS7 and should be
ignored
#GTW-MSG-NUM?
message_type,data
<CR>
~nn@GTW-MSG-NUM
message_type,date,
recv_counter,send_count
<CR>
<LF>
message_type
– where:
1 =CEC
2 = IR
3 = RS232
date
– Format: DD-MM-YYYY.
Recv_counter
– counter of receive
messages
Send_counter
– counter of send
messages
Get Control Gateway
Messages Counter from
certain period
#GTW-MSG-NUM? 1,05-12-
2018
<CR>
HDCP-MOD
Set HDCP mode.
NOTE:
Set HDCP
working mode on the
device input:
HDCP supported -
HDCP_ON [default].
HDCP not supported
- HDCP OFF.
#HDCP-MOD in_index,mode
<CR>
~nn@HDCP-MOD
in_index,mode
<CR><LF>
in_index
– Number that indicates
the specific input:
1-N (N= the total number of inputs)
mode
– HDCP mode:
0
– HDCP Off
1
– HDCP On
Set the input HDCP-MODE of
IN 1 to Off:
#HDCP-MOD 1,0
<CR>
HDCP-MOD?
Get HDCP
mode.
NOTE:
Set
HDCP working mode
on the device input:
HDCP supported -
HDCP_ON [default].
HDCP not supported
- HDCP OFF.
HDCP support
changes following
detected sink -
MIRROR OUTPUT.
#HDCP-MOD? in_index
<CR>
~nn@HDCP-MOD
in_index,mode
<CR><LF>
in_index
– Number that indicates
the specific input:
1-N (N= the total number of inputs)
mode
– HDCP mode:
0
– HDCP Off
1
– HDCP On
3
– HDCP Mirror Mode - used by
KDS-7 decoder to allow an HDCP
2.2 source connected to the
encoder to play on an HDCP 1.4
TV/display connected to the
decoder.
Get the input HDCP-MODE
of IN 1 HDMI:
#HDCP-MOD? 1
<CR>
HDCP-STAT?
Get HDCP signal
status.
NOTE:
io_mode =1
– get the
HDCP signal status
of the sink device
connected to the
specified output.
io_mode =0
– get the
HDCP signal status
of the source device
connected to the
specified input.
#HDCP-STAT?
io_mode,in_index
<CR>
~nn@HDCP-STAT
io_mode,in_index,status
<CR>
<LF>
io_mode
– Input/Output
0
– Input
1
– Output
io_index
– Number that indicates
the specific number of inputs or
outputs (based on io_mode): 1-N
(N=total number of inputs or
outputs)
status
– Signal encryption status -
valid values On/Off
0
– HDCP Off
1
– HDCP On
Get the output HDCP-
STATUS of IN 1:
#HDCP-STAT? 0,1
<CR>
HELP
Get command list or
help for specific
command.
#HELP
<CR>
#HELP cmd_name
<CR>
1. Multi-line:
~nn@Device cmd_name,
cmd_name
<CR><LF>
cmd_name
– Name of a specific
command
Get the command list:
#HELP
<CR>
HW-TEMP?
Get device heat
#HW
‑
TEMP? region_id,mode
<CR>
~nn@HW
‑
TEMP region_id,
temperature
<CR><LF>
region_id
– ID of the region for
which to get the temperature
0
– First CPU
Mode
– Celsius or Fahrenheit
0
– Celsius
1
–Fahrenheit
Temperature
– Temperature of the
HW region, rounded down to the
closest integer
Get temperature in Celsius of
first cpu
#HW
‑
TEMP? 0,0
<CR>
HW-
VERSION?
Get hardware
version
#HW-VERSION?
<CR>
~nn@HW-VERSION
hardware_version
<CR><LF>
hardware_version
– XX.XX.XXXX
where the digit groups are:
major.minor.version
Get hardware version
#HW-VERSION?
<CR>
IDV
Set visual indication
from device.
NOTE:
Using this command,
some devices can
light a sequence of
buttons or LEDs to
allow identification of
a specific device
from similar devices.
#IDV
<CR>
~nn@IDV ok
<CR><LF>
#IDV
<CR>
IR-SND
Send IR command to
port.
#IR-SND
ir_index,sn_id,cmd_name,repeat_a
mount,total_packages,package_id,<
pronto command…>
<CR>
~nn@IR-SND
ir_index,sn_id,cmd_name,ir_st
atus
<CR><LF>
ir_index
– Number that indicates the
specific ir port:
1-2 (N= the total number of inputs)
* - broadcasts to all ports
sn_id
– Serial number of command
for flow control and response
commands from device
cmd_name
– Command name
(length limit 15 chars)
repeat_amount
– Of times the IR
command is transmitted
(limited to 50; repeats > 50 are
truncated to 50), default = 1
total_packages
– Number of
messages the original command
was divided into, default = 1
package_id
– Chunk serial number
(only valid when Total_packages
>1)
pronto_command
– Pronto format
command (in HEX format, no
leading zeros, no ‘0x’ prefix)
ir_status
– IR Status
0
– Sent (no error)
1
– Stop
2
– Done
3
– Busy
4
– Wrong Parameter
5
– Nothing to Stop
6
– Start
7
– Timeout
8
– Error
Send IR command to port 1:
#IR-SND 1,1,1,1,1,1,1
<CR>
KDS-ACTION
Set action to perform
by encoder/decoder.
#KDS-ACTION kds_mode
<CR>
~nn@KDS-ACTION
kds_mode
<CR><LF>
kds_mode
– Action (state) for
encoder/decoder
0
– Stop
1
– Play
2
– Save config
Stop the encoder/decoder:
#KDS-ACTION 0
<CR>