Lantronix XPort manual Command details

Page 49

5: GPIO Interface

Command details:

1Bh = command 1Bh

01h, 00h, 00h, 00h = the mask that determines which GPIOs will be changed.

bit 0 is 1 GPIO0 will be changed.

bit 1 is 0 GPIO1 will remain the same.

00h, 00h, 00h, 00h = the new states

bit 0 is 0 GPIO0 will become 0.

bit 1 is ignored since it is masked out.

Response details:

1Bh = response to command 1Bh 05h, 00h, 00h, 00h =

bit 0 is 1 GPIO0 = 1 bit 1 is 0 GPIO1 = 0 bit 2 is 1 GPIO2 = 1

The other bits are ignored because there are only three configurable pins on the XPort.

XPort™ User Guide

49

Image 49
Contents XPort User Guide Copyright and Trademark Date Rev Comments Disclaimer and RevisionsContents Mail Settings Gpio Interface Purpose and Audience Using This GuideChapter Summary XPort Integration Guide Additional DocumentationCapabilities IntroductionApplications 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 PropertiesFlush Mode Input Buffer Connect Mode SettingsDedicated Connection Packing Algorithm Additional SettingsUpdate Settings Factory SettingsAccessing Setup Mode Using Setup Mode for ConfigurationUsing a Telnet Connection 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 PartDhcp Name Channel 1 Configuration Serial Port ParametersBaudrate Mode XPort-485 only Interface ModeMode Option Common I/F Mode Setting Binary HexPort Number FlowFlow Control Option Hex Port Numbers Reserved forConnect Mode Option Connect ModeIncoming Connection Response Hostlist Autostart Automatic ConnectionDatagram Type Modem ModeWithout Echo Message Meaning 11. Modem Mode MessagesFull Verbose 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 ProtocolByte 0 Command Types CommandsGuidelines Command 11h, Get Directions Command 10h, Get FunctionsCommand 12h, Get Active Levels Command 13h, Get Current StatesCommand 1Bh, Set States Command 1Ah, Set Active LevelsExamples 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 FunctionProblems and Error Messages TroubleshootingProblem/Message Reason Solution 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.