![background image](http://html1.mh-extra.com/html/kramer/kds-sw2-en7/kds-sw2-en7_user-manual_2001590067.webp)
Kramer Electronics Ltd.
KDS-SW2-EN7
– Protocol 3000
65
Function
Description
Syntax
Response
Parameters/Attributes
Example
LDFW
Load new firmware
file.
NOTE:
In most
devices firmware
data is saved to flash
memory, but the
memory does not
update until
receiving the
“UPGRADE”
command and is
restarted.
Step 1:
#LDFW size
<CR>
Step 2: If ready was received, send
FIRMWARE_DATA
Response 1:
~nn@LDFW size
ready
<CR><LF>
or
~nn@LDFW errnn
<CR><LF>
Response 2:
~nn@LDFW size ok
<CR><LF>
size
– Size of firmware data that is
sent
firmware_data
– HEX or KFW file in
protocol packets
Using the Packet Protocol
Send a command: LDRV, LOAD,
IROUT, LDEDID
Receive Ready or ERR###
If Ready:
a. Send a packet,
b. Receive OK on the last packet,
c. Receive OK for the command
Packet structure:
Packet ID (1, 2, 3…) (2 bytes in
length)
Length (data 2 for CRC)
–
(2 bytes in length)
Data (data length -2 bytes)
CRC
– 2 bytes
01
02
03 04 05
Packet ID
Length
Data CRC
Response: ~nnnn ok
<CR><LF>
(Where NNNN is the received
packet ID in ASCII hex digits.)
LOCK-EDID
Lock last read EDID.
#LOCK-EDID
in_index,lock_mode
<CR>
~nn@LOCK-EDID
in_index,lock_mode
<CR><LF>
in_index
– 1
lock_mode
– On/Off
0
– Off unlocks EDID
1
– On locks EDID
Lock the last read EDID from
the HDMI In 1 input
#LOCK-EDID 1,1
<CR>
LOCK-EDID?
Get EDID lock state.
#LOCK-EDID? in_index
<CR>
~nn@LOCK-EDID
in_index,lock_mode
<CR><LF>
in_index
– 1
lock_mode
– On/Off
0
– Off unlocks EDID
1
– On locks EDID
Get EDID lock state for Input
1
#LOCK-EDID? 1
<CR>
LOCK-FP
Lock the front panel.
#LOCK-FP lock/unlock
<CR>
~nn@LOCK-FP
lock/unlock
<CR><LF>
Lock/Unlock
– On/Off
0
– (Off) Unlocks EDID
1
– (On) Locks EDID
Unlock front panel:
#LOCK-FP 0
<CR>
LOCK-FP?
Get the front panel
lock state.
#LOCK-FP?
<CR>
~nn@LOCK-FP
lock/unlock
<CR><LF>
Lock/Unlock
– On/Off
Off
– Unlocks EDID
On
– Locks EDID
Get the front panel lock state:
#LOCK-FP?
<CR>
LOG-ACTION
Reset events log.
#LOG-ACTION action,period
<CR>
~nn@LOG-ACTION
action,period
<CR><LF>
action
– one of
1
– start (start logging)
2
– pause (pause logging, but keep
log content)
3
– resume (resume logging)
4
– reset (clear all current logs, keep
logging)
period - relevant for "start"
1
– keep current
2
– daily
3
– weekly (default)
Reset events log daily:
#LOG-ACTION 4,2
<CR>
LOG-TAIL?
Get the last “n” lines
of message logs.
NOTE:
Used for
advanced
troubleshooting.
Helps find error root
causes and gets
details not displayed
in the error code
number.
#LOG-TAIL? line_num
<CR>
Get:
~nn@LOG-TAILnn
<CR><LF>
Line content #1
<CR><LF>
Line content #2
<CR><LF>
Etc...
line_num
– Optional, default
line_num is 10
Get the last "2" lines of
message logs:
#LOG-TAIL? 2
<CR>
LOGIN
Set protocol
permission.
NOTE:
The permission
system works only if
security is enabled
with the “SECUR”
command.
LOGIN allows the
user to run
commands with an
End User or
Administrator
permission level.
When the permission
system is enabled,
LOGIN enables
running commands
with the User or
Administrator
permission level
When set, login must
be performed upon
each connection
It is not mandatory to
enable the
permission system in
order to use the
device
In each device, some
connections allow
logging in to different
levels. Some do not
work with security at
all.
Connection may
logout after timeout.
#LOGIN login_level,password
<CR>
~nn@LOGIN
login_level,password
ok
<CR><LF>
or
~nn@LOGIN err
004
<CR><LF>
(if bad password entered)
login_level
– Level of permissions
required (User or Admin)
password
– Predefined password
(by PASS command). Default
password is an empty string
Set the protocol permission
level to Admin (when the
password defined in the
PASS command is 33333):
#LOGIN admin,33333
<CR>