
Net-2000™ Voice Codec Unit
User’s Manual
Page 9
Section 3 – Net-2000™ VCU Control
DVSI Confidential Proprietary
Use the -i -m -g -n and -d options to set up a static IP address. The argument following the -i -m -g
and -n options should in the form of a dotted IP address (e.g. “192.168.0.1”). If a DHCP server
becomes available at a later time, it can be enabled by issuing the network command with the -dhcp
option.
After setting or changing the network settings, the VCU should be rebooted by typing “shutdown” at
the console terminal adsh> prompt.
adsh>shutdown
Serial Interface Commands
The serial port located on the back of the Net-2000™ VCU unit provides the same control functions
as the web interface. The interface itself consists of a simple command/response ASCII text protocol.
To access the interface use a terminal or terminal emulator on a personal computer to type in
commands.
All commands are ASCII character strings terminated by a newline character (ASCII 0x0A). The
maximum size allowed for a command is 512 characters. Commands are case-sensitive. Command
arguments are separated by white space. With the serial cable connected and the terminal running
type a few carriage returns at the keyboard. The Net-2000™ VCU responds with the console prompt
as shown below:
adsh>
Commands to the Net-2000™ VCU can be issued after receiving the prompt. Each time a command
is issued to the Net-2000™ VCU it will respond with a string indicating the command was accepted
as “OK” or an error message. After another prompt is ready to receive a new command. Any
newline-terminated string reported by the Net-2000™ VCU between the time a command is issued
and a new command prompt is received indicates an error was encountered executing the command.
Commands consist of a command word, zero or more arguments, and a newline (which marks the
end of the command). Commands for the serial port interface are listed in the following subsections.
When issuing commands at the "adsh>" prompt the net2k will respond with
"<cmd> OK" (
where
<cmd>
is the command issued) or an error message if the command fails.
VOIP mode command
The VOIP commands start the Net-2000™ VCU to VOIP mode.
adsh> dut voip <args>
where
args
are