Lantronix XPort manual Response

Page 29

 

 

4: Using Setup Mode for Configuration

 

 

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.

 

 

 

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 DTR Active

Attempts to connect when the DTR input changes from not

 

 

 

asserted to asserted.

 

 

With a Specific Start

Attempts to connect when it receives a specific start character

 

 

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 dot-decimal 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.

 

 

Table 4-10. Manual Connection Address Example

 

 

 

 

 

 

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

 

 

 

 

 

XPort™ User Guide

29

Image 29
Contents XPort User Guide Copyright and Trademark Date Rev Comments Disclaimer and RevisionsContents Mail Settings Gpio Interface Chapter Summary Using This GuidePurpose and Audience XPort Integration Guide Additional DocumentationApplications IntroductionCapabilities Addresses and Port Numbers Protocol SupportHardware Address IP AddressAssigning an IP Address Installing DeviceInstaller Using DeviceInstaller to Assign an IP AddressGetting Started Required InformationSelect Assign a specific IP address and click Next Assigning an IP AddressLantronix Web-Manager Using Web-Manager to Configure the UnitUnit Configuration Settings Server Properties Edit the following fields as necessary Port PropertiesDedicated Connection Connect Mode SettingsFlush Mode Input Buffer Packing Algorithm Additional SettingsUpdate Settings Factory SettingsUsing a Telnet Connection Using Setup Mode for ConfigurationAccessing Setup Mode Setup Menu Options Using the Serial PortSetup Mode Configuration Parameters Change Telnet Configuration Password Server Configuration Network ConfigurationSet Gateway IP Address Netmask Number of Bits for Host PartBaudrate Channel 1 Configuration Serial Port ParametersDhcp Name Mode XPort-485 only Interface ModeMode Option Common I/F Mode Setting Binary HexPort Number FlowFlow Control Option Hex Port Numbers Reserved forIncoming Connection Connect ModeConnect Mode Option Response Hostlist Autostart Automatic ConnectionWithout Echo Modem ModeDatagram Type Full Verbose 11. Modem Mode MessagesMessage Meaning 12. Modem Mode Commands Modem Mode Function CommandRemote IP Address Remote PortDisconnect Mode Option Flush Mode Buffer Flushing13. Disconnect Mode Options 14. Flush Mode OptionsOption Pack ControlChannel Port Password DisConnTime Inactivity TimeoutSend Characters Telnet Terminal TypeMail Setup Mail SettingsTrigger Setup Expert SettingsHigh CPU Performance mode ARP Cache timeout in secondsMonitor Mode at Bootup RS-485 TX Enable Active LevelDisable Snmp Security SettingsDisable Telnet Setup Snmp Community NameDisable Port 77FE Hex Disable Tftp Firmware UpgradeDisable Web Server Disable Echo PortsEncryption Tutorial Command syntax telnetEnable Enhanced Password Factory DefaultsDisable Port 77F0 Hex Channel 1 Configuration DefaultsExpert Settings Defaults Exit Configuration ModeSecurity Settings Defaults Mail SettingsFeatures Configurable PinsGpio Interface Control ProtocolGuidelines CommandsByte 0 Command Types Command 11h, Get Directions Command 10h, Get FunctionsCommand 12h, Get Active Levels Command 13h, Get Current StatesExamples Command 1Ah, Set Active LevelsCommand 1Bh, Set States Command details Updating Firmware Using TftpObtaining Firmware Reloading Firmware ROM FileUser Guide Entering Monitor Mode via the Network Port Entering Monitor Mode via the Serial PortMonitor Mode Commands Monitoring the NetworkResponse Meaning Command Command Name FunctionProblem/Message Reason Solution TroubleshootingProblems and Error Messages Caps Lock is not on Address and Network Class Please try againServer, the No Connection With Email eutechsupp@lantronix.com Technical Support

XPort specifications

The Lantronix XPort is a compact and powerful embedded networking module that enables devices to connect to the Internet and communicate over a network. Small in size yet packed with features, the XPort is ideal for applications that require network connectivity without the complexity and cost associated with traditional networking solutions.

One of the standout features of the XPort is its small form factor. Measuring just 1.6 inches by 1.9 inches, it is designed for seamless integration into a variety of devices, making it a popular choice for manufacturers looking to add networking capabilities to their products without occupying much physical space.

The XPort utilizes the robust and widely used TCP/IP protocol stack, allowing it to facilitate reliable data communication over the Internet and other IP networks. This provides developers with a familiar framework for implementing network functionality, while also ensuring compatibility with various networking standards.

Equipped with a built-in web server, the XPort allows for easy configuration and management through a standard web browser. This user-friendly feature enables developers and end users to interact with the device effortlessly, simplifying tasks such as firmware updates and network settings adjustments.

Another key technology employed in the XPort is its serial-to-Ethernet capabilities. This feature converts serial data from devices into network packets, enabling legacy devices that communicate through serial ports to be connected to modern networks. This is particularly beneficial for industries with a significant number of legacy devices still in operation.

The XPort also incorporates security features, including SSL and SSH, which help protect data transmitted over the network. These security measures are essential in today's digital landscape, where data breaches and unauthorized access are growing concerns.

With its low power consumption and versatile applications, the Lantronix XPort is suitable for a variety of IoT applications, including healthcare devices, industrial automation, and smart metering. Its ability to operate in harsh environments enhances its appeal to manufacturers looking to deploy reliable networking solutions.

In summary, the Lantronix XPort offers a blend of compact design, advanced networking capabilities, and essential security features, making it a valuable asset for any project requiring efficient network connectivity. Its compatibility with existing technologies and ease of integration make it an ideal choice for modern IoT applications.