
6: Setup Mode: Channel Configuration
DeviceLinx™ XPort Direct/XChip Direct SoC User Guide
31
To enable the hostlist:
1. Enter
a
Connect Mode
of 0x20 (
2
X), where X is any digit. The menu shows you
a list of current entries already defined in the product.
2. To delete, modify, or add an entry, select
Yes
. If you enter an IP address of
0.0.0.0
, that entry and all others after it are deleted.
3. After completing the hostlist, repeat the previous step if necessary to edit the
hostlist again.
4. For
Retrycounter
, enter the number of times the Lantronix unit should try to
make a good network connection to a hostlist entry that it has successfully
ARPed. The range is 1-15, with the default set to
3
.
5. For
Retrytimeout
, enter the number of seconds the unit should wait before
failing an attempted connection. The time is stored as units of milliseconds in the
range of 1-65535. The default is
250
.
d) Datagram Type
Directed UDP
When selecting this option, you are prompted for the Datagram type.
Enter
01
for directed or broadcast UDP. Datagrams of type 01 can be
sent as a broadcast by enabling the
Send as Broadcast
option. The
default is not to broadcast.
When the UDP option is in effect, the unit never attempts to initiate a
TCP connection because it uses UDP datagrams to send and receive
data.
e) Modem Mode
In Modem (Emulation) Mode, the unit presents a modem interface to the attached
serial device. It accepts AT-style modem commands and handles the modem signals
correctly.
Normally, there is a modem connected to a local PC and a modem connected to a
remote machine. A user must dial from the local PC to the remote machine,
accumulating phone charges for each connection. Modem Mode allows you to
replace modems with XPort Directs, and to use an Ethernet connection instead of a
phone call. By not having to change communications applications, you avoid
potentially expensive phone calls.
To select Modem Mode, set the Connect Mode to
C6
(no echo),
D6
(echo with full
verbose),
D7
(echo with numeric response),
CF
(modem responses only, numeric
response), or
CE
(modem responses only, full verbose).
Note:
If the unit is in Modem Mode, and the serial port is idle, the unit can
still accept network TCP connections to the serial port if Connect Mode is set
to
C6
(no echo),
D6
(echo with full verbose),
D7
(echo with numeric
response,
CF
(modem responses only, numeric response), or
CE
(modem
responses only, full verbose).
Without Echo
In Modem Mode, echo refers to the echo of all of the characters
entered in command mode; it does
not mean
to echo data that is
transferred. Quiet Mode (without echo) refers to the modem
not
sending an answer to the commands received (or displaying what
was typed).