MatchPort™ b/g User Guide Part Number 900-484 Revision A March 2007
Copyright and Trademark © 2007, Lantronix. All rights reserved. No part of the contents of this book may be transmitted or reproduced in any form or by any means without the written permission of Lantronix. Printed in the United States of America. MatchPort, with its patent-pending technology, is a trademark of Lantronix. Ethernet is a trademark of XEROX Corporation. UNIX is a registered trademark of The Open Group.
Disclaimer This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to Part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses, and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications.
location with another transmitter), then the FCC authorization is no longer considered valid and the FCC ID cannot be used on the final product (including the transmitter) and obtaining a separate FCC authorization. Note: Changes or modifications to this device not explicitly approved by Lantronix will void the user's authority to operate this device.
Contents Copyright and Trademark _________________________________________________2 Contacts ______________________________________________________________2 Disclaimer _____________________________________________________________3 1: Using This Guide 8 Purpose and Audience ___________________________________________________8 Chapter Summary _______________________________________________________8 Additional Documentation _________________________________________________9 2: Introduction 10 Capabilitie
Contents Telnet Access ______________________________________________________________35 Serial Port Access___________________________________________________________36 Server Configuration ____________________________________________________37 Network Mode ______________________________________________________________37 Set the IP Address __________________________________________________________37 Set the Gateway IP Address___________________________________________________37 Set the Netmask _____________
Contents SMTP Port Number__________________________________________________________58 MTU Size _________________________________________________________________58 Alternate MAC Address ______________________________________________________58 Ethernet Connection Type ____________________________________________________59 Security Settings _______________________________________________________59 Disable SNMP______________________________________________________________59 SNMP Community Name ________________
1: Using This Guide Purpose and Audience This guide provides the information needed to configure, use and update the MatchPort b/gTM and is intended for software developers and system integrators who are embedding the unit in their designs. Chapter Summary The remaining chapters in this guide include: Introduction Describes the main features of the MatchPort and the protocols it supports. Using DeviceInstaller Provides information for viewing the MatchPort’s configuration using DeviceInstaller.
1:Using This Guide Additional Documentation The following guides are available on the product CD and the Lantronix web site www.lantronix.com: MatchPort b/g Demonstration Kit Quick Start Guide Briefly explains the basics of getting the MatchPort up and running. MatchPort b/g Integration Guide Provides information about the MatchPort hardware and integrating the MatchPort into another product.
2: Introduction MatchPort b/g is a wireless embedded device server that provides a networkenabling solution based on the IEEE 802.11b/g wireless standard. MatchPort allows Original Equipment Manufacturers (OEMs) to add wireless connectivity to their products by incorporating it onto a circuit board. The MatchPort functions independently of a PC, providing a fully integrated solution that combines a processor, memory, 802.
2:Introduction Connection to devices through a TCP or UDP data channel to computers or to another device server Web server allowing presentation of custom content and easy configuration through the browser Contains five programmable I/O pins used to monitor or control attached devices. Applications The MatchPort device server connects serial devices such as those listed below to wireless and Ethernet networks using the IP protocol family.
2:Introduction Addresses and Port Numbers Hardware Address The hardware address is also referred to as the Ethernet address or the MAC address. The first three bytes of the Ethernet address are fixed and read 00-20-4A, identifying the unit as a Lantronix product. The fourth, fifth, and sixth bytes are unique numbers assigned to each unit. Example: 00-20-4A-14-01-18 Note: Make note of the MAC address. It is needed to locate the MatchPort using DeviceInstaller.
3: Using DeviceInstaller This chapter covers the steps for viewing the MatchPort device server’s properties and device details. The MatchPort’s default configuration is as follows: Network name: LTRX_IBSS Ad hoc mode No security BOOTP, DHCP, and AutoIP enabled. The computer on which DeviceInstaller will be installed needs to have access to a wireless card with the same settings. Set the IP address to 0.0.0.0. Note: AutoIP generates a random IP address in the range 169.254.0.1 to 169.254.255.
3: Using DeviceInstaller Group Configurable field. Enter a group to categorize the MatchPort. Double-click the field, type in the value, and press Enter to complete. This group name is not visible on other PCs or laptops using DeviceInstaller. Comments Configurable field. Enter comments for the MatchPort. Doubleclick the field, type the comment, and press Enter to complete. This description or comment is not visible on other PCs or laptops using DeviceInstaller. Device Family Non-configurable field.
3: Using DeviceInstaller Supports DynamicIP Non-configurable field. Indicates whether the current IP address on the MatchPort was set using DHCP or other automatic method. Subnet Mask Non-configurable field. Displays the MatchPort’s current subnet mask. To change the subnet mask, see 4: Configuration Using Web-Manager or 5: Configuration via Serial Mode or Telnet Port. Gateway Non-configurable field. Displays the MatchPort’s current gateway.
4: Configuration Using Web-Manager This chapter describes how to configure the MatchPort using Web-Manager, Lantronix’s browser-based configuration tool. The unit’s configuration is stored in nonvolatile memory and is retained without power. The unit performs a reset after the configuration is changed and stored. Note: The MatchPort b/g is based on a standard release of Lantronix's CoBos operating system. Some CoBos products support both wired and wireless interfaces.
4: Configuration Using Web-Manager If no Telnet password has been defined (default), leave both fields blank and click OK. If a Telnet password has been defined, leave the username blank, type in the password, and then click OK. The Web-Manager displays. The main menu is in the left pane of the WebManager page. Figure 4-2. Web-Manager Network Configuration The unit’s network values display when you select Network from the main menu.
4: Configuration Using Web-Manager Figure 4-3. Network Settings (Wireless Only) Network Mode Configuration To determine the MatchPort’s network mode: 1. Click Network from the main menu. 2. Modify the following: Network Mode Select Wireless Only to enable only the wireless network connectivity for the MatchPort. Select Wired Only to enable only the Ethernet network connectivity. Automatic IP Address Configuration To assign an IP address and its network configuration automatically: 1.
4: Configuration Using Web-Manager enable this feature. DHCP Host Name Enter the name of the host on the network providing the IP address. Note: Disabling BOOTP, DHCP, and Auto-IP (all three checkboxes) is not advised as the only available IP assignment method will then be ARP or serial port. 4. Click the OK button when finished. Static IP Address Configuration To assign an IP address and its network configuration manually: 1. Click Network from the main menu. 2.
4: Configuration Using Web-Manager Figure 4-4. Ethernet Settings (Wired Only) To specify how data will be transmitted: 1. Enter the following (as necessary): Auto Negotiate With this option, the Ethernet port auto-negotiates the speed and duplex with the hardware endpoint to which it is connected. This is the default setting. If this option is not selected, complete the fields that become available: Speed: The speed of data transmission. The default setting is 100 Mbps.
4: Configuration Using Web-Manager Server Configuration The unit’s server values display when you select Server from the main menu. The following sections describe the configurable parameters within the Server configuration menu. Figure 4-5. Server Settings To configure the MatchPort’s device server settings: 1. On the main menu, click Server to open the Server Settings page. 2. Configure or modify the following fields: Server Configuration Telnet Password Enter the password required for Telnet access.
4: Configuration Using Web-Manager and Regular is 48 Mhz. The default is Regular. HTTP Server Port This option allows the configuration of the web server port number. The valid range is 1-65535. The default HTTP server port number is 80. 0x77FE Server Port Not applicable for this product. MTU Size The Maximum Transmission Unit (MTU) is the largest physical packet size a network can transmit for TCP and UDP. Enter between 512 and 1400 bytes. The default is 1400 bytes.
4: Configuration Using Web-Manager Host Information Host Address Enter or modify the host’s IP address. Port Enter the target port number. Channel 1 Configuration Channel 1 configuration defines how the serial port responds to network and serial communication. Serial Settings To configure the channel’s serial settings: 1. On the main menu, click Serial Settings for Channel 1 to open the Serial Settings page. Figure 4-7. Channel Serial Settings 2.
4: Configuration Using Web-Manager retransmitted data. Baud Rate The unit and attached serial device, such as a modem, must agree on a speed or baud rate to use for the serial connection. Valid baud rates are 300, 600, 1200, 2400, 4800, 9600 (default), 19200, 38400, 57600, 115200, and 230400. Data Bits Indicates the number of bits in a transmitted data package. Parity Checks for the parity bit. The default is None. Stop Bits The stop bit follows the data and parity bits in serial communication.
4: Configuration Using Web-Manager With Passive Connect Select Yes to clear the output buffer with a connection initiated from the network to the device. At Time of Disconnect Select Yes to clear the output buffer when the network connection to or from the device is disconnected. Connection Settings - TCP To configure a channel’s TCP settings: 1. On the main menu, click Connection to open the Connection Settings page for the channel. 2.
4: Configuration Using Web-Manager Telnet mode. Password If Password Required was set to Yes, enter the password for passive connections. Connect Mode: Active Connection Active Connect Select None to disable Active Connect. Otherwise, indicate the connection type from the drop-down list: With Any Character: Attempts to connect when any character is received from the serial port. With Active Mdm Ctrl In: Accepts external connection requests only when the Modem Control In input is asserted.
4: Configuration Using Web-Manager Use the terminal name for the Telnet terminal type. Enter only one name. When this option is enabled, the unit also reacts to the end of record (EOR) and binary options, which can be used for applications such as terminal emulation to IBM hosts. Use Hostlist If this option is set to True, the device server scrolls through the host list until it connects to a device listed in the host list table. Once it connects, the unit stops trying to connect to any others.
4: Configuration Using Web-Manager Figure 4-9. UDP Connection Settings Datagram Mode Datagram Type Configures the remote IP or network broadcast address and the remote port. Enter 01 for directed or broadcast UDP. Accept Incoming Select Yes to accept incoming UDP datagrams. Other options are No and With Active Mdm Ctrl In. Endpoint Configuration Local Port Enter the local port number. Remote Port Enter the port number of the remote device. Remote Host Enter the IP address of the remote device.
4: Configuration Using Web-Manager Email Configuration The unit sends an email to multiple recipients when a specific trigger event occurs. There are three separate triggers, based on any combination of the configurable pins when selected as user I/O functions. Optionally, use a two-byte serial string to initiate a trigger. Each trigger is independent of the others. Each condition within an individual trigger must be met before the unit will send the email. To configure the MatchPort’s email settings: 1.
4: Configuration Using Web-Manager To configure the MatchPort’s email trigger settings: 1. On the main menu, click Trigger 1, Trigger 2, or Trigger 3 to configure the desired Trigger settings. The Email Trigger Settings page opens. Figure 4-11. Email Trigger Settings 2. Configure the following fields: Conditions Configurable Pins Select the condition from the drop-down list for the configurable pins. Repeat for each Trigger Input field.
4: Configuration Using Web-Manager WLAN Configuration Without adequate protection, a wireless LAN is susceptible to access by unauthorized users. Note: Due to regulations, the country-specific setting has been removed from the setup menu and Web-Manager. However, we provide a separate utility for changing the Country/Zone setting. The utility is called SetZone and is included in the MatchPort package. It is also available for download from the Lantronix web site.
4: Configuration Using Web-Manager 2. Enter or modify the following fields: Wireless Network Configuration Network Name Enter the name of the wireless network (SSID). The MatchPort connects to this wireless network. Network Type Select Infrastructure or Ad-Hoc. Infrastructure mode communicates with Access Points. Adhoc mode communicates only with other clients. Channel Configurable only when Network Type is set to Ad-Hoc. Select from the drop-down list the radio channel for the Ad Hoc network.
4: Configuration Using Web-Manager the default encryption for WPA. Key Type Select the key type (Hex or Passphrase). Key and Retype Key Enter the Encryption Key in hexadecimal value if the key type is Hex. Enter the key as a string if the key type is Passphrase. Passphrase input is not the same as ASCII input. A passphrase of more than 20 characters is recommended. Spaces and punctuation characters are permitted.
4: Configuration Using Web-Manager Direction Select whether the pin inputs or outputs. Trigger Input Select whether the GPIO input signal is to be used as a trigger condition for email. Active Level Select the signal active level (Low or High). Configurable Pin Functions General Purpose I/O Monitors input or controls output by means of the 77F0 port. Modem Ctrl Channel 1 In Allows for control of the connection (and disconnection) of channel 1.
5: Configuration via Serial Mode or Telnet Port As an alternative to Web-Manager, you can configure the MatchPort unit using a terminal program to access the serial port locally. Using this terminal program to respond to prompts is referred to as being in Setup Mode. Another way to access Setup Mode is over the network through a Telnet connection. The unit’s configuration is stored in nonvolatile memory and is retained without power. You can change the configuration at any time.
5: Configuration via Serial Mode or Telnet Port Figure 5-2. Change Setup Menu Options 5. To select a menu option, enter the number of the option in the Your choice ? field and press Enter. View the current configuration by pressing Enter from the Change Setup menu. To enter a value for a parameter, type the value and press Enter. To confirm a current value, press Enter (without entering parameters). 6. When finished, save the new configurations (9 Save and exit). The unit reboots.
5: Configuration via Serial Mode or Telnet Port Figure 5-4. Change Setup Menu Options 4. Select an option on the menu by entering the number of the option in the Your choice ? field and pressing Enter. View the current configuration by pressing Enter from the Change Setup menu. To enter a value for a parameter, type the value and press Enter. To confirm a current value, press Enter (without entering parameters). 5. When finished, save the new configurations (9 Save and exit). The unit reboots.
5: Configuration via Serial Mode or Telnet Port Set the Netmask A netmask defines the number of bits taken from the IP address that are assigned for the host part. Netmask: Number of Bits for Host Part (0=default) (0) _ The unit prompts for the number of host bits to be entered, then calculates the netmask, which displays in standard decimal-dot notation when the saved parameters display (for example, 255.255.255.0). Table 5-1.
5: Configuration via Serial Mode or Telnet Port The third octet of the IP address sets the BootP/DHCP/AutoIP options. To disable an option, set the appropriate bit: Table 5-2. BootP/DHCP/AutoIP Options Options Bit AutoIP 0 DHCP 1 BootP 2 For example, if the third octet is 0.0.5.0, the AutoIP and BootP options are disabled; only DHCP is enabled. (The value 5 results from adding the binary equivalents of 0 and 2.) This is the most common setting when using DHCP.
5: Configuration via Serial Mode or Telnet Port The following table displays available I/F Mode options: Note: All bit positions in the table that are blank represent “don’t care” bits for that particular option, which can be set to either a 0 or 1 value. Table 5-3.
5: Configuration via Serial Mode or Telnet Port Flow Flow control sets the local handshaking method for stopping serial input/output. The current value displays in parentheses. Flow (00) ? _ Use the following table to select flow control options: Table 5-5.
5: Configuration via Serial Mode or Telnet Port Connect Mode Connect Mode defines the unit’s connection method and its reaction to incoming connections over the network. The current value displays in parentheses. ConnectMode (C0) ? _ Enter Connect Mode options in hexadecimal notation: Note: All bit positions in the table that are blank represent “don’t care” bits for that particular option, which can be set to either a 0 or 1 value. Table 5-7.
5: Configuration via Serial Mode or Telnet Port a) b) Incoming Connection Never Accept Incoming Rejects all external connection attempts. Accept with Modem Control In Active Accepts external connection requests only when the Modem Control In input is asserted. Cannot be used with Modem Mode. Always Accept Accepts any incoming connection when a connection is not already established. Default setting.
5: Configuration via Serial Mode or Telnet Port 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 5-8. Manual Connection Address Example Command String Result if remote IP is 129.1.2.3 and remote port is 1234 C121.2.4.
5: Configuration via Serial Mode or Telnet Port Hostlist Retrytimeout (250) ? DisConnMode (00) ? FlushMode (00) ? DisConnTime (00:00) ?: SendChar 1 (00) ? SendChar 2 (00) ? To enable the hostlist: 1. Enter a Connect Mode of 0x20. The menu shows 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.
5: Configuration via Serial Mode or Telnet Port Echo & Modem Response Full Verbose: The unit echoes modem commands and responds to a command with a message string shown in the table below. Numeric Response: The unit echoes modem commands and responds to a command with a numeric response. Modem Responses Only Full Verbose: The unit responds to a command with a message string shown in the table below. Numeric Response: The unit responds to a command with a numeric response. Table 5-9.
5: Configuration via Serial Mode or Telnet Port No serial data is received for one second. The character sequence +++ is received, with no more than one second between each two characters. No serial data is received for one second after the last + character. At this time, the unit responds affirmatively according to the selected echo/response mode. The character string ATH is received, terminated with a carriage return.
5: Configuration via Serial Mode or Telnet Port Send the Escape Sequence (+++) in Modem Mode Send ‘+++’ in Modem Mode (Y) ? _ Disable or enable the MatchPort’s ability to send the escape sequence. The default is Y (Yes) (send the escape sequence). Show IP addr after 'RiNG' Disable or enable the MatchPort's ability to show the IP address after RING in Modem Mode. The default is Y (Yes), to show the IP address.
5: Configuration via Serial Mode or Telnet Port Table 5-11. Disconnect Mode Options Disconnect Mode Option 7 Disconnect when Modem Control In not asserted (6) 1 Ignore Modem Control In 0 Telnet Com Port Cntrl and (1) terminal type setup 6 5 4 3 2 1 0 1 Channel (port) password (2) 1 Hard disconnect (3) 0 Disable hard disconnect 1 State LED off with connection (4) Disconnect with EOT (^D) (5) 1 1 (1) The MatchPort sends the "Terminal Type" upon an outgoing connection.
5: Configuration via Serial Mode or Telnet Port Function 7 6 5 4 3 2 1 0 Output Buffer (Network to Serial) Clear with a connection that is initiated from the device to the network 1 Clear with a connection initiated from the network to the device 1 Clear when the network connection to or from the device is disconnected 1 Alternate Packing Algorithm (Pack Control) Enable 1 Pack Control The packing algorithm defines how and when packets are sent to the network.
5: Configuration via Serial Mode or Telnet Port Packing Interval: Packing Interval defines how long the unit should wait before sending accumulated characters. This wait period is between successive network segments containing data. For alternate packing, the default interval is 12 ms. Trailing Characters: In some applications, CRC, Checksum, or other trailing characters follow the end-of-sequence character; this option helps to adapt frame transmission to the frame boundary.
5: Configuration via Serial Mode or Telnet Port Email Configuration The unit sends an email to multiple recipients when a specific trigger event occurs. There are three separate triggers, based on any combination of the configurable pins (PIO) when selected as user I/O functions. Optionally, use a two-byte serial string to initiate a trigger. To configure email configuration settings, select option 3 Email from the Change Setup menu. Figure 5-7.
5: Configuration via Serial Mode or Telnet Port Domain Name Enter the email server’s domain name. The current value displays in parentheses. Domain name () ? _ Recipients Enter the full email address of up to two trigger email recipients. The current value displays in parentheses. Recipient 1 () ? _ Recipient 2 () ? _ Triggers A trigger event occurs when the unit receives the specified trigger input because of a specified combination of conditions on the configurable pins.
5: Configuration via Serial Mode or Telnet Port WLAN Settings Without adequate protection, a wireless LAN is susceptible to access by unauthorized users. As such, MatchPort features the WPA security standard, based on IEEE802.11i and IEEE802.1X. WEP provides for backwards compatibility and interaction with older devices. When in WPA and WPA2-PERSONAL modes, the encryption setting denotes the lowest acceptable encryption method. CCMP is higher than TKIP and TKIP is higher than WEP.
5: Configuration via Serial Mode or Telnet Port Adhoc Network Channel When Adhoc is selected in the Topology parameter, and the MatchPort cannot find the specified network, it creates one with that name by transmitting a beacon on the selected channel. Channel (11) ? _ You can only select channels allowed in the country for which the MatchPort is designated. The country displays in the settings overview. Security Suite The MatchPort features WEP, WPA, and 802.
5: Configuration via Serial Mode or Telnet Port the passphrase input style recommended. Note: Lantronix recommends using a passphrase of 20 characters or more for maximum security. TX Key index Select the WEP key used for transmissions. Enter a value from 1 to 4. WPA This firmware version allows only Pre-Shared Keys (PSK) for authentication.
5: Configuration via Serial Mode or Telnet Port Fixed or Automatic Data Rate MatchPort permits the control of the transmission rate. Select 0 to set a fixed data rate or select 1 to set an automatic data rate. The default is 1 (auto fallback). Transmission Data Rate If the above TX Data rate is set to fixed, the selected data rate is the MatchPort’s fixed transmission rate. If the above TX Data rate is set to auto fallback, the selected data rate is the MatchPort’s maximum data rate.
5: Configuration via Serial Mode or Telnet Port ARP Cache Timeout When the unit communicates with another device on the network, it adds an entry into its ARP table. ARP Cache timeout defines the number of seconds (1-600) the unit waits before timing out this table. ARP Cache timeout in s (1s – 65s; 0s=disable): (600)? _ CPU Performance Select the MatchPort’s performance mode. Higher performance settings require more energy. Low is 26 Mhz, and Regular is 48 Mhz. The default is Regular.
5: Configuration via Serial Mode or Telnet Port Ethernet Connection Type The MatchPort allows you to configure the Ethernet speed manually. Enter 0 for automatic negotiation (default). To select the speed and duplex, enter one of the following: 2 (10Mbit/half duplex), 3 (10Mbit/full duplex), 4 (100Mbit/half duplex), or 5 (100Mbit/full duplex). Note: Manually configured speed/duplex settings only work correctly if the peer or switch also uses a static setting.
5: Configuration via Serial Mode or Telnet Port Disable Port 77FEh (N) ? _ The default setting is the N (No) option, which enables remote configuration. Disable Web Server The Y (Yes) option disables the web server. This setting defaults to the N (option). Disable Web Server (N) ? _ Disable Web Setup The Y (Yes) option disables configuration using the Web-Manager. This setting defaults to the N (No) option.
5: Configuration via Serial Mode or Telnet Port Default Settings Select 7 Default Settings from the Change Setup menu to reset the unit’s Channel 1 configuration, Channel 2 configuration, Email settings, and Expert settings to the factory default settings. The server configuration settings for IP address, gateway IP address, netmask, wireless enable, infrastructure or ad hoc setting, and wireless security settings remain unchanged. The configurable pins’ settings also remain unchanged.
5: Configuration via Serial Mode or Telnet Port HTTP Port Number 80 SMTP Port Number 25 MTU Size 1400 Enable Alternate MAC N (No) ( for OEM use only) Ethernet Connection Type 0 (auto negotiate) Security Settings Disable SNMP (N) No SNMP Community Name public Disable Telnet Setup (N) No Disable TFTP Firmware Update (N) No Disable Port 77FEh (N) No Disable Web Server (N) No Disable Web Setup (N) No Disable ECHO ports (Y) Yes Enable Encryption (N) No Enable Enhanced password (N) N
6: Configurable Pins The MatchPort has five pins configurable for General Purpose I/O (GPIO). Use these GPIO pins to control devices such as relays, servers, lights, monitor switches, sensors, and even processes such as data transfer. Defaults Settings Function: general purpose input/output Direction: input Active Level: low Set the functions for the five pins independently and in any combination.
6: Configurable Pins Byte Command 0 Pin Number Parameter 1 2 3 1 0 7 8 15 16 4 23 24 Parameter 2 6 7 5 31 0 7 8 15 16 8 23 24 31 On some commands, one or all parameters are ignored. For UDP, command type and parameters need to be in the same datagram. Responses to valid commands are always five bytes long, consisting of the returned command byte and as parameters in the current or updated values. In case of an invalid command, only one byte with value 0FFh is returned.
6: Configurable Pins Command 11h, Get Directions Send: No parameters Response: 1 parameter Bytes 1-4: Directions Bit X 1 means GPIO X is an output. 0 means it is an input. Command 12h, Get Active Levels Send: No parameters Response: 1 parameter Bytes 1-4: Active levels Bit X 1 means GPIO X is active low (0V when active, 3.3V when inactive). 0 means it is active high (3.3V when active, 0V when inactive).
6: Configurable Pins Command 1Ah, Set Active Levels Send: 2 parameters Bytes 1-4: Mask Bit X 1 means the direction for GPIO X will be updated with the value in the second parameter. 0 means the active type for that GPIO will not change. Bytes 5-8: New Active Levels Bit X 1 means GPIO X will become active low. 0 means it will become active high.
6: Configurable Pins Example 2: PC sends command 1Bh to change the current states of GPIO 0 and 1 (assuming they are configured as outputs). PC -> MatchPort b/g: 1Bh, 01h, 02h, 00h, 00h, 01h, 00h, 00h, 00h MatchPort b/g -> PC: 1Bh, 03h, 00h, 00h, 00h Command details: 1Bh = command 1Bh 01h, 00h, 00h, 00h = the mask that determines which GPIOs will be changed. Bit 0 and 9 are 1 → GPIO0 and GPIO9 will be changed. bit 1 is 0 → GPIO1 will remain the same.
7: Monitor Mode Monitor Mode is a command-line interface used for diagnostic purposes. There are two ways to enter Monitor Mode: locally using the serial port or remotely via the network. Note: The MatchPort b/g is based on a standard release of Lantronix's CoBos operating system. Some CoBos products support both wired and wireless interfaces. The MatchPort b/g currently supports only wireless. Please ignore references and settings that deal with a wired Ethernet interface.
7: Monitor Mode Command Command Name Function PI x.x.x.x Ping Pings unit with IP address x.x.x.x to check device status. AT ARP Table Shows the unit’s ARP table entries. TT TCP Connection Table Shows all incoming and outgoing TCP connections. NC Network Connection Shows the unit’s current IP address. RS Reset Resets the unit. QU Quit Exits diagnostics mode. G0, G1, ....,Ge, Gf Get configuration from memory page Gets a memory page of configuration information from the device. S0, S1,.
8: Updating Firmware This chapter explains how to obtain and update the unit’s firmware. Obtaining Firmware Obtain the most up-to-date firmware and release notes for the unit from the Lantronix web site (www.lantronix.com) or by using anonymous FTP (ftp.lantronix.com/pub). Reloading Firmware There are several ways to update the unit's internal operational code (*.ROM): via DeviceInstaller (the preferred way), via TFTP, or via the serial port. You can also update the unit's internal web interface (*.
8: Updating Firmware Using TFTP: Command Line Interface To download new firmware from a computer, enter the following from a TFTP command line interface: tftp –i put The following examples demonstrate the TFTP command sequence to download the .rom file, the .fwx file, and the .cob file: tftp –i 192.168.1.111 put mpt_6502.rom W8 tftp –i 192.168.1.111 put gen_mpt_webm_1602.
9: Troubleshooting This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. The MatchPort’s diagnostic LEDs indicate the unit’s status. It helps to connect a terminal to the serial port while diagnosing an error to view summary messages that may display. When troubleshooting, always ensure that the physical connections (power cable, network cable, and serial cable) are secure.
9: Troubleshooting Problems and Error Messages Problem/Message Reason Solution When you issue the ARP –S command in Windows, The ARP entry addition failed: 5 message displays. Your currently logged-in user does not have the right to use this command on this PC. Have someone from your IT department log you in with sufficient rights. When you attempt to assign an IP address to the unit by the ARP method and Telnet to the device server through port 1, the connection fails.
9: Troubleshooting Problem/Message Reason Solution logical subnet. You did not choose the correct subnet mask. The device server is not communicating with the serial device to which it is attached. The most likely reason is the wrong serial settings were chosen. The serial settings for the serial device and the device server must match. The default serial settings for the device server are RS-232, 9600 baud, 8 character bits, no parity, 1 stop bit, no flow control.
9: Troubleshooting Problem/Message Reason Solution When connecting to the WebManager within the device server, the No Connection With The Device Server message displays. Your computer is not able to connect to port 30718 (77FEh) on the device server. Make sure that port 30718 (77FEh) is not blocked with any router that you are using on the network. Also, make sure that port 77FEh is not disabled within the Security settings of the device server.