48
Line Service Commands
Set Vmodem
Description This command associates a phone number with an IP address and TCP port. This
enables an existing modem application to issue a dial command with a phone number.
The phone number will be searched in this table and if an exact match is found, the
associated IP address and TCP port will be used to establish the connection.
User Level Admin
Syntax set vmodem line .|<number>|* [echo on|off]
[failure-string <string>] [host <config_host>]
[init-string <string>] [mode auto|manual]
[port <TCP_port>|0] [respons-delay <time_ms>]
[signals dcd always-high|follow-connection]
[signals dtr always-high|represent-dcd|represent-ri]
[signals rts always-high|represent-dcd|represent-ri]
[style numeric|verbose] [success-string <string>]
[suppress on|off]
Options echo
When enabled, echoes back characters that are typed in (equivalent to ATE0/ATE1
commands). Disabled by default.
failure-string
String that is sent to the serial device when a connection fails. If no string is entered,
then the string NO CARRIER will be sent.
host
The target host name.
init-string
You can specify additional vmodem commands that will affect how vmodem starts. The
following commands are supported: ATQn, ATVn, ATEn, ATS0, AT&Z1, AT&Sn,
AT&R n, AT& Cn, AT& F, AT S2 , AT S1 2, a nd ATD S1 .
See VModem Initialisation Commands in the IOLAN User’s Guide for a more detailed
explanation of the support initialization commands.
mode
Auto mode establishes the connection when the line becomes active. You must supply
the AT command or phone number that will start the connection; see Set
Vmodem-Phone in the IOLAN User’s Guide for the command parameters to set the AT
command or phone number.
port
The amount of time, in milliseconds, before an AT response is sent to the requesting
device. The default is 250 ms.
response-delay
The port number the target host is listening on for messages.
signals dcd
Controls the state of the DCD signal.
always-high = DCD signal will always stay high.
follow-connection = DCD signal will be high when an end to end connection is
established and low when it is not.
Since the IOLAN does not have a physical DCD pin, you need to re-map the DTR or
RTS signal to DCD to have the signal present. (see next option).