Lantronix xDirect xDirect - User Guide - Page 46

b) Response, c) Active Startup, Table 8-7, Manual Connection Address Example

Page 46 highlights

8: Setup Mode: Channel Configuration b) Response Character Response A single character is transmitted to the serial port when there is a change in connection state: C = connected, D = disconnected, N = host unreachable. The IP address of the host connecting to the CoBos device will be provided when you use verbose mode. This option is overridden when the Active Start Modem Mode or Active Start Host List is in effect. Default setting is Nothing (quiet). c) Active Startup No Active Startup With Any Character With active Modem Control in With a Specific Start Character Manual Connection Does not attempt to initiate a connection under any circumstance. Default setting. Attempts to connect when any character is received from the serial port. Attempts to connect when the Modem Control In input changes from not asserted to asserted. Attempts to connect when it receives a specific start character from the serial port. The default start character is carriage return. Attempts to connect when directed by a command string received from the serial port. The first character of the command string must be a C (ASCII 0x43), and the last character must be either a carriage return (ASCII 0x0D) or a line feed (0x0A). No blanks or space characters may be in the command string. Between the first and last command string characters must be a full or partial destination IP address and may be a destination port number. The IP address must be in standard decimal-dot notation and may be a partial address, representing the least significant 1, 2, or 3 bytes of the remote IP address. The period is required between each pair of IP address numbers. If present, the port number must follow the IP address, must be presented as a decimal number in the range 1-65535, and must be preceded by a forward slash (ASCII 0x2F). The slash separates the IP address and the port number. If you omit the port number from a command string, the internally stored remote port number starts a connection. If a partial IP address is presented in a command string, it is interpreted to be the least significant bytes of the IP address and uses the internally stored remote IP address to provide the most significant bytes of the IP address. If the IP address entered is 0.0.0.0/0, the device server enters Monitor Mode. For example, if the remote IP address already configured in the unit is 129.1.2.3, then an example command string would be C3/7. (This would connect to 129.1.2.3 and port 7.) You may also use a different ending for the connection string. For example, C50.1/23 would connect you to 129.1.50.1 and port 23. If an IP address does not follow the first command string character (which is "C"), the subsequent character string is interpreted as the host name and domain to be used in DNS lookup. This character string can include a destination port number as well. The port number can be preceded by either a forward slash (/) or a colon ( : ). Command String C121.2.4.5/1 C5 C28.10/12 Table 8-7 Manual Connection Address Example Result if remote IP is 129.1.2.3 and remote port is 1234 Complete override; connection is started with host 121.2.4.5, port 1. Connects to 129.1.2.5, port 1234. Connects to 129.1.28.10, port 12. xDirect User Guide 46

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82

8: Setup Mode: Channel Configuration
xDirect User Guide
46
b) Response
c) Active Startup
Table 8-7
Manual Connection Address Example
Character Response
A single character is transmitted to the serial port when there is a change in
connection state:
C
= connected,
D
= disconnected,
N
= host unreachable.
The
IP address of the host connecting to the CoBos device will be provided when you
use verbose mode.
This option is overridden when the
Active Start Modem Mode
or
Active Start
Host List
is in effect. Default setting is
Nothing (quiet)
.
No Active Startup
Does
not
attempt to initiate a connection under any circumstance. Default setting.
With Any Character
Attempts to connect when any character is received from the serial port.
With active Modem
Control in
Attempts to connect when the
Modem Control In
input changes from not
asserted to asserted.
With a Specific Start
Character
Attempts to connect when it receives a specific start character from the serial port.
The default start character is carriage return.
Manual Connection
Attempts to connect when directed by a command string received from the serial
port. The first character of the command string must be a
C
(ASCII 0x43), and the
last character must be either a carriage return (ASCII 0x0D) or a line feed (0x0A).
No blanks or space characters may be in the command string. Between the first
and last command string characters must be a full or partial destination IP address
and may be a destination port number.
The IP address must be in standard decimal-dot notation and may be a partial
address, representing the least significant 1, 2, or 3 bytes of the remote IP
address. The period is required between each pair of IP address numbers.
If present, the port number must follow the IP address, must be presented as a
decimal number in the range
1-65535
, and must be preceded by a forward slash
(ASCII 0x2F). The slash separates the IP address and the port number. If you
omit the port number from a command string, the internally stored remote port
number starts a connection.
If a partial IP address is presented in a command string, it is interpreted to be the
least significant bytes of the IP address and uses the internally stored remote IP
address to provide the most significant bytes of the IP address. If the IP address
entered is 0.0.0.0/0, the device server enters Monitor Mode.
For example, if the remote IP address already configured in the unit is 129.1.2.3,
then an example command string would be C3/7. (This would connect to
129.1.2.3 and port 7.) You may also use a different ending for the connection
string. For example, C50.1/23 would connect you to 129.1.50.1 and port 23.
If an IP address does not follow the first command string character (which is "C"),
the subsequent character string is interpreted as the host name and domain to be
used in DNS lookup. This character string can include a destination port number
as well. The port number can be preceded by either a forward slash (/) or a colon (
: ).
Command String
Result if remote IP is 129.1.2.3 and remote port is 1234
C121.2.4.5/1
Complete override; connection is started with host 121.2.4.5, port 1.
C5
Connects to 129.1.2.5, port 1234.
C28.10/12
Connects to 129.1.28.10, port 12.