![background image](http://html.mh-extra.com/html/kramer/dsp-1/dsp-1_user-manual_2002022036.webp)
Kramer Electronics Ltd.
DSP
‑
1
– Protocol 3000
34
Communication Commands
These commands are used by network devices running Protocol 3000.
Command
Description
NET-CONFIG
Set/get a network configuration
ETH-PORT
Set/get Ethernet port protocol
NET-DHCP
Set/get DHCP mode
NET-MAC?
Get MAC address
NET-CONFIG
Functions
Permission
Transparency
Set:
NET-CONFIG
End User
Public
Get:
NET-CONFIG?
End User
Public
Description
Syntax
Set:
Set a network configuration.
#NET-CONFIG
SP
id
,
ip
,
net_mask
,
gateway
CR LF
Get: Get a network configuration.
#NET-CONFIG?
SP
id
CR LF
Response
Get: ~
nn
@NET-CONFIG
SP
id
,
ip
,
net_mask
,
gateway
CR LF
Parameters
id
– network ID
ip
– network IP
net_mask
– network mask
gateway
– network gateway
K-Config Example
“
#NET-CONFIG 1,192.168.113.10,255.255.0.0,192.168.0.1
”,0x0D
ETH-PORT
Functions
Permission
Transparency
Set:
ETH-PORT
Administrator
Public
Get:
ETH-PORT?
End User
Public
Description
Syntax
Set:
Set Ethernet port protocol
#ETH-PORT
SP
portType
,
ETHPort
CR
Get:
Get Ethernet port protocol
#ETH-PORT?
SP
portType
CR
Response
~
nn
@ETH-PORT
SP
portType
,
ETHPort
CR LF
Parameters
portType
–
0
(TCP),
1
(UDP)
ETHPort
–
0
-
65534
(TCP / UDP port number)
Notes
If the port number you enter is already in use, an error is returned.
The port number must be within the following range: 2000-(2^16-1).
UDP port 50001 and TCP port 5001 are reserved for internal use.
K-Config Example
Set the Ethernet port protocol for TCP to port 12457:
“#ETH
-
PORT 0,12457”,0x0D