Page 3 - WiPortTM User Guide; Copyright and Trademark; Lantronix Corporate Headquarters; Email; Sales Offices
WiPort™ User Guide i Copyright and Trademark © 2004, 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. WiPort, with its patent-pending...
Page 4 - Disclaimer and Revisions
ii WiPort™ User Guide Disclaimer and Revisions Note: This product has been designed to comply with the limits for a Class B digital device pursuant to Part 15 of FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equ...
Page 5 - Contents; : Configuration using DeviceInstaller
WiPort™ User Guide iii Contents Copyright and Trademark _________________________________________________ i Contacts ______________________________________________________________ i Disclaimer and Revisions _________________________________________________ ii 1: Using This Guide 1-1 Purpose and Audi...
Page 6 - iv; : Configuration via Serial Mode or Telnet Port
Contents iv WiPort™ User Guide 5: Configuration via Serial Mode or Telnet Port 5-1 Accessing Setup Mode _________________________________________________ 5-1 Telnet Access _____________________________________________________________ 5-1 Serial Port Access ___________________________________________...
Page 7 - : Configurable Pins
Contents WiPort™ User Guide v Disable TFTP Firmware Upgrade _____________________________________________ 5-21 Disable Port 77FE (Hex) ____________________________________________________ 5-21 Disable Web Server _______________________________________________________ 5-22 Disable Web Setup _________...
Page 9 - Purpose and Audience; The remaining chapters in this guide include:
WiPort™ User Guide 1-1 1 1 : : U U s s i i n n g g T T h h i i s s G G u u i i d d e e Purpose and Audience This guide provides the information needed to configure, use and update the WiPort and is intended for software developers and system integrators who are embedding the WiPort in their designs....
Page 10 - Using This Guide; WiPortTM; Additional Documentation; WiPort Integration Guide
Using This Guide 1-2 WiPort™ User Guide Additional Documentation The following guides are available on the product CD and the Lantronix web site ( www.lantronix.com ) WiPort Development Kit Quick Start Guide Briefly explains the basics to get the WiPort up and running. WiPort Integration Guide Provi...
Page 11 - Topic; Capabilities; The WiPort device server has the following capabilities:
WiPort™ User Guide 2-1 2 2 : : I I n n t t r r o o d d u u c c t t i i o o n n WiPort is a wireless embedded device server that provides a network-enabling solution based on the IEEE 802.11b wireless standard. WiPort allows Original Equipment Manufacturers (OEMs) to add wireless connectivity to thei...
Page 12 - Introduction; Applications; DeviceInstaller; using DeviceInstaller; Serial & Telnet Ports; : Configuration via Serial
Introduction 2-2 WiPort™ User Guide Applications The WiPort device server connects serial devices such as those listed below to wireless and Ethernet networks using the IP protocol family. Remote sensing CNC controllers Data collection devices Telecommunications equipment Data display devi...
Page 13 - Addresses and Port Numbers; Hardware Address; Make note of the MAC address. It is needed to locate the WiPort; IP Address
Introduction WiPort™ User Guide 2-3 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, fif...
Page 15 - Accessing WiPort using DeviceInstaller; Server Configuration; Assign a static IP address only if necessary.
WiPort™ User Guide 3-1 3 3 : : C C o o n n f f i i g g u u r r a a t t i i o o n n u u s s i i n n g g D D e e v v i i c c e e I I n n s s t t a a l l l l e e r r This chapter covers the steps for getting the WiPort device server online and working. This chapter includes the following topics: Topic ...
Page 16 - If you do not receive “Reply” messages, make sure the unit is; WLAN Configuration
Configuration Using DeviceInstaller 3-2 WiPort™ User Guide 3. Select Assign a specific IP address and click Next . 4. Enter the IP address . The Subnet mask displays automatically based on the IP address; if desired, change it. On a local network, you can leave the Default gateway blank (all zeros)....
Page 17 - Configurable Pins
Configuration Using DeviceInstaller WiPort™ User Guide 3-3 Encryption Key Alternatively, manually enter the Encryption Key in hexadecimal value. 10 hexadecimal characters are required for 64 bit encryption. 26 hexadecimal characters are required for 128 bit encryption. Data Rate WiPort permits the c...
Page 18 - Channel 1 and Channel 2 Configuration
Configuration Using DeviceInstaller 3-4 WiPort™ User Guide 2. In the OEM Configurable Pins section, click the … button next to the Configurable Pins field to open the ConfigurablePin Collection Editor window. 3. Highlight a Configurable Pin from the Members section to select it for configuration. 4....
Page 19 - Serial Settings
Configuration Using DeviceInstaller WiPort™ User Guide 3-5 Table 3-1. Common Interface Mode Settings Common I/F Mode Setting RS-232C, 8-bit, No Parity, 1 stop bit RS-232C, 7-bit, Even Parity, 1 stop bit To configure advanced channel configurations: 4. From the Configure Device window for the WiPort ...
Page 20 - Configuration Using DeviceInstaller
Configuration Using DeviceInstaller 3-6 WiPort™ User Guide Port Password This parameter appears only when Password Required is set to True . Enter a password for the selected channel or serial port. Active Connection Active Connection Defines the unit’s connection method. The default is None (no Act...
Page 21 - Buffer Flushing; Flush Input Buffer; Flush Output Buffer
Configuration Using DeviceInstaller WiPort™ User Guide 3-7 Connection Response A single character is transmitted to the serial port when there is a change in connection state. Default setting is None . Disconnection Disable Hard Disconnect The TCP connection closes even if the remote site does not a...
Page 22 - Packing; OK; Email Configuration; Advanced
Configuration Using DeviceInstaller 3-8 WiPort™ User Guide Packing Enable Packing Two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the unit is used in a local environment, allowing for very s...
Page 23 - Triggers; Unit Name; Apply; to apply the changes immediately to the WiPort.
Configuration Using DeviceInstaller WiPort™ User Guide 3-9 Triggers A trigger event occurs when the unit receives the specified trigger input as a result of a specified combination of conditions on the configurable pins. Each trigger is independent of the others. Each condition within an individual ...
Page 25 - Accessing WiPort using Web-Manager
WiPort™ User Guide 4-1 4 4 : : C C o o n n f f i i g g u u r r a a t t i i o o n n u u s s i i n n g g W W e e b b - - M M a a n n a a g g e e r r This chapter describes how to configure the WiPort using Web-Manager, Lantronix’s browser-based configuration tool. The unit’s configuration is stored in...
Page 26 - Configuration Using Web-Manager; Network Configuration; The unit’s network values display upon selecting; Network; from the main menu. The
Configuration Using Web-Manager 4-2 WiPort™ User Guide Figure 4-1. Web-Manager The main menu is displayed in the left side of the Web-Manager window. Note: Alternatively, access the WiPort’s Web-Manager if it is connected to the network by entering its IP address in a web browser. Network Configurat...
Page 27 - Automatic IP Address Configuration; from the main menu.; Obtain IP address automatically; Disable BOOTP; the; button when finished.; Static IP Address Configuration; To manually assign an IP address and its network configuration:
Configuration Using Web-Manager WiPort™ User Guide 4-3 Figure 4-2. Network Settings Automatic IP Address Configuration To automatically assign an IP address and its network configuration: 1. Click Network from the main menu. 2. Select Obtain IP address automatically . 3. Enter the following (as nece...
Page 29 - Telnet Password; Retype Password; ARP Cache Timeout; Host List Configuration; To configure the WiPort’s host list:; Hostlist
Configuration Using Web-Manager WiPort™ User Guide 4-5 Server Configuration Telnet Password Enter the password required for Telnet access. Retype Password Re-enter the password required for Telnet access. Advanced ARP Cache Timeout When the unit communicates with another device on the network, it ad...
Page 30 - Retry Settings; Retry Counter; Host Information; Host Address; Port
Configuration Using Web-Manager 4-6 WiPort™ User Guide Figure 4-4. Hostlist Settings 2. Enter or modify the following fields from the Hostlist Settings window: Retry Settings Retry Counter Enter the value for the number of times the WiPort should attempt to retry connecting to the host list. Retry T...
Page 32 - Pack Control; Connection Settings - TCP; Connection
Configuration Using Web-Manager 4-8 WiPort™ User Guide Pack Control Enable Packing Select the checkbox to enable packing on the WiPort. Two firmware-selectable packing algorithms define how and when packets are sent to the network. The standard algorithm is optimized for applications in which the un...
Page 34 - Disconnect Mode
Configuration Using Web-Manager 4-10 WiPort™ User Guide Endpoint Configuration Local Port Enter the local port number. Auto increment local port number Select to auto-increment the local port number for new outgoing connections. The range of auto-incremented port numbers is 50,000 to 59,999 and loop...
Page 35 - Connection Settings - UDP; To configure a channel’s UDP settings; for either Channel 1 or Channel 2 to
Configuration Using Web-Manager WiPort™ User Guide 4-11 Inactivity Timeout Use this parameter to set an inactivity timeout. The unit drops the connection if there is no activity on the serial line before the set time expires. Enter time in the format mm:ss, where m is the number of minutes and s is ...
Page 36 - To configure the WiPort’s email settings:; to open the Email Settings window.
Configuration Using Web-Manager 4-12 WiPort™ User Guide Remote Port Enter the port number of the remote device. Remote Host Enter the IP address of the remote device. Change Address Table Field enabled when Datagram Type is set to FD . Enter values between 1-255 to identify units on the local networ...
Page 37 - Trigger Configuration; To configure the WiPort’s email trigger settings:; Trigger 1; to configure the; Email Trigger Settings; Conditions
Configuration Using Web-Manager WiPort™ User Guide 4-13 Recipients Recipient 1: Email Address Enter the email address designated to receive email notifications. Recipient 2: Email Address Enter an additional email address designated to receive email notifications. Trigger Configuration A trigger eve...
Page 38 - Message Properties; To configure the WiPort’s WLAN settings:; WLAN; from the main menu to open the WLAN Settings window.
Configuration Using Web-Manager 4-14 WiPort™ User Guide Channel Select the channel prompting the trigger. Data Size Select the data size prompting the trigger. Match Data Enter the data which, when appears in the communication stream, prompts a trigger. Note: All of the conditions must match for an ...
Page 40 - Advanced Settings; OEM Pin Configuration; Configurable
Configuration Using Web-Manager 4-16 WiPort™ User Guide Encryption Key Field is enabled when WEP is selected as the Security type. Enter the Encryption Key in hexadecimal value Advanced Settings Data Rate WiPort permits the control of the transmission rate. Select the data rate (in Mbps) from the pu...
Page 41 - Updating Settings; Click the; Apply Settings; button from the main menu to save and apply the
Configuration Using Web-Manager WiPort™ User Guide 4-17 Updating Settings Click the Apply Settings button from the main menu to save and apply the configuration changes.
Page 43 - Setup Mode; A Telnet; Accessing Setup Mode; Telnet Access; main window list, and click Telnet
WiPort™ User Guide 5-1 5 5 : : C C o o n n f f i i g g u u r r a a t t i i o o n n v v i i a a S S e e r r i i a a l l M M o o d d e e o o r r T T e e l l n n e e t t P P o o r r t t Configure the unit so that it can communicate on a network with your serial device. As an alternative to DeviceInstal...
Page 44 - Connection fails if Enter is not pressed within 5 seconds.; Serial Port Access; The easiest way to enter Setup Mode is to hold down the x key at
Configuration Via Serial Mode or Telnet Port 5-2 WiPort™ User Guide 1. From the Windows Start menu, click Run . 2. From the Run dialogue box , type the following command (where x.x.x.x is the IP address and 9999 is the unit’s fixed network configuration port number): Windows: telnet x.x.x.x 9999 UNI...
Page 45 - Set the IP Address
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-3 Figure 5-3. MAC Address MAC address 00204AFFFF30 Software version 05.3 (040129) WPT Press Enter to go into Setup Mode 4. To enter the Setup Mode, press Enter within 5 seconds. Note: Connection fails if Enter is not pressed within 5 ...
Page 46 - Set the Netmask; Table 5-1. Standard IP Network Netmasks Representing Host Bits; Network Class; Change Telnet Configuration Password; A password is not required to access the Setup Mode window via a; DHCP Name
Configuration Via Serial Mode or Telnet Port 5-4 WiPort™ User Guide 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, ...
Page 47 - Configuration Via Serial Mode or Telnet Port; Figure 5-5. Serial and Telnet Port Parameters; Baudrate; Interface Mode Options
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-5 Channel 1 and Channel 2 Configuration Select option 1 Channel 1 or 2 Channel 2 from the Change Setup menu to define how the serial port responds to network and serial communications . The following sections describe the configurable...
Page 48 - Table 5-3. Common Interface Mode Settings; Common I/F Mode Setting; Flow; Flow Control Option; Port Number
Configuration Via Serial Mode or Telnet Port 5-6 WiPort™ User Guide Note: If attempting to select an I/F Mode bit pertaining to RS-422/485, a “WARNING: RS-422/485 I/F Modes not supported” message displays. The following table demonstrates some common I/F Mode settings: Table 5-3. Common Interface Mo...
Page 49 - Port Numbers Reserved for; Reserved; Connect Mode; Enter Connect Mode options in hexadecimal notation:; Connect Mode Option; a) Incoming Connection
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-7 Table 5-5. Reserved Port Numbers Port Numbers Reserved for 1 – 1024 Reserved 9999 Telnet setup 14000-14009 Reserved for Redirector 30704 Reserved (77F0h) 30718 Reserved (77FEh) Note: It is recommended to not use the reserved port nu...
Page 51 - Manual Connection; Command String
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-9 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 (ASCI...
Page 53 - Retrycounter; , enter the number of times the Lantronix unit should try to; Retrytimeout; , enter the number of seconds the unit should wait before; Directed UDP; Mode; Without Echo; Message; Full Verbose
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-11 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 ,...
Page 54 - ATH
Configuration Via Serial Mode or Telnet Port 5-12 WiPort™ User Guide Message Meaning CONNECT A network connection has been established. NO CARRIER A network connection has been closed. RING n.n.n.n. A remote device, having IP address n.n.n.n, is connecting to this device. 1-Character Response 0 OK 1...
Page 55 - Function; Remote IP Address; Remote Port
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-13 Modem Mode Command Function ATDTx.x.x.x Makes a connection to an IP address (x.x.x.x) and the remote port number defined within the unit. ATD0.0.0.0 Forces the unit into Monitor Mode. Uses remote IP address and port settings to ini...
Page 56 - DisConnMode; Disconnect Mode Option; Flush Mode; Flush Mode Options
Configuration Via Serial Mode or Telnet Port 5-14 WiPort™ User Guide DisConnMode Disconnect Mode (DisConnMode) determines the conditions under which the unit will cause a network connection to terminate. The current value is displayed in parentheses. DisConnMode ( 0) ? _ In DisConnMode, modem_contro...
Page 57 - Alternate Packing Algorithm (Pack Control); Option; Packing Interval; Send Characters
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-15 Function 7 6 5 4 3 2 1 0 Clear when the network connection to or from the device is disconnected 1 Output Buffer (Network to Serial) Clear with a connection that is initiated from the device to the network 1 Clear with a connection...
Page 58 - A transmission might occur if status information needs to be; SendChar 1 and SendChar2; Telnet Terminal Type
Configuration Via Serial Mode or Telnet Port 5-16 WiPort™ User Guide 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...
Page 59 - Email; from; Mail Server
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-17 Email Configuration Note: Change these settings via Telnet or serial connections only, not on the Web-Manager. These settings are also configurable through DeviceInstaller. The unit sends an Email to multiple recipients when a spec...
Page 60 - for normal priority
Configuration Via Serial Mode or Telnet Port 5-18 WiPort™ User Guide Unit Name Enter the username used by the WiPort to send Email messages. The current value is displayed in parentheses. Unit name () ? _ Domain Name Enter the Email server’s domain name. The current value is displayed in parentheses...
Page 61 - Trigger 2; Trigger 3; WLAN Settings; Enable WLAN
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-19 The Re-notification interval indicates the time interval in which a new Email message is sent to the recipient(s) when a single trigger event remains active. Trigger 2 Refer to Trigger 1 for details on completing these fields. Note...
Page 62 - Security; Expert Settings; Change these settings via Telnet or serial connections only.; TCP Keepalive Time; Security Settings; Disabling both Telnet Setup and Port 77FE prevent users from
Configuration Via Serial Mode or Telnet Port 5-20 WiPort™ User Guide Security As an additional security measure, enable WEP on the WiPort. The current value is displayed in parentheses. By default, WEP is disabled on WiPort. Security 0=none, 1=WEP (0) ? _ Data Rate WiPort permits the control of the ...
Page 63 - Disable SNMP; public; Disable Telnet Setup; Using TFTP: Command Line
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-21 Disable SNMP For security purposes, disable SNMP (if required) on the WiPort unit. The current setting is displayed in parentheses. Disable SNMP (N) ? _ SNMP Community Name The SNMP Community Name is a required field for NMS to rea...
Page 64 - The Y (Yes) option disables many of the GUI tools for configuring the; Disable Web Server; Factory Defaults
Configuration Via Serial Mode or Telnet Port 5-22 WiPort™ User Guide Disable Port 77FEh (N) ? _ The default setting is the N (No) option, which enables remote configuration. As a result, configure the unit by using DeviceInstaller, web pages, Telnet, or serial configuration. The Y (Yes) option disab...
Page 65 - Channel 1 Configuration
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-23 Channel 1 Configuration Baudrate 9600 I/F Mode 4C (1 stop bit, no parity, 8 bit, RS-232C) Port No 10001 Connect Mode C0 (always accept incoming connection; no active connection startup) Hostlist Retry Counter 3 Hostlist Retry Timeo...
Page 66 - Email Settings; Exit Configuration Mode; Save and exit
Configuration Via Serial Mode or Telnet Port 5-24 WiPort™ User Guide Expert Settings TCP keepalive 45 (seconds) ARP cache timeout 600 (seconds) 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 D...
Page 67 - GPIO Pins; Guidelines; Send
WiPort™ User Guide 6-1 6 6 : : C C o o n n f f i i g g u u r r a a b b l l e e P P i i n n s s This chapter includes the following topics: Topic Page GPIO Pins 6-1 Control Protocol 6-1 Examples 6-4 GPIO Pins The WiPort has eleven pins configurable for General Purpose I/O (GPIO). Note: In addition, c...
Page 68 - Commands; Byte 0 Command Types; Set functions; Command 10h, Get Functions
Configurable Pins 6-2 WiPort™ User Guide The protocol allows for control of up to 32 GPIOs. How many are actually available depends on the product. WiPort has only three. The parameters are four bytes long and represent GPIOs 0-31, with GPIO0 in bit 0 of the first byte (Little Endian). Parameter bit...
Page 70 - Examples; PC sends command 10h to find out which configurable pins are
Configurable Pins 6-4 WiPort™ User Guide Bytes 1-4: The updated directions 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...
Page 73 - Entering Monitor Mode via the Serial Port; To enter Monitor Mode locally:; zzz; Entering Monitor Mode via the Network Port
WiPort™ User Guide 7-1 7 7 : : M M o o n n i i t t o o r r M M o o d d e e Monitor Mode is a command-line interface used for diagnostic purposes. This chapter includes the following topics: Topic Page Entering Monitor Mode via the Serial Port 7-1 Entering Monitor Mode via the Network Port 7-1 Monito...
Page 74 - Monitoring the Network; Monitor Mode Commands; The following commands are available in Monitor Mode.; Command; Responses to some of the commands are given in Intel Hex format.; Response
Monitoring the Network 7-2 WiPort™ User Guide Monitor Mode Commands The following commands are available in Monitor Mode. Note: All commands must be in capital letters. Table 7-1. Monitor Mode Commands Command Command Name Function VS Version Queries software header record (16 bytes) of unit. GC Get...
Page 75 - Obtaining Firmware; ROM File; Using TFTP: Graphical User Interface
WiPort™ User Guide 8-1 8 8 : : U U p p d d a a t t i i n n g g F F i i r r m m w w a a r r e e This chapter explains how to obtain and update the unit’s firmware. It includes the following topics: Topic Page Obtaining Firmware 8-1 Reloading Firmware 8-1 Obtaining Firmware Obtain the most up-to-date ...
Page 76 - Using TFTP: Command Line Interface; Tools; See also Recovering Firmware in the DeviceInstaller User Guide.
Troubleshooting 8-2 WiPort™ User Guide 8. Click the Upload Now button to transfer the file to the unit. The unit performs a power reset after the firmware has been loaded and stored. Using TFTP: Command Line Interface To download new firmware from a computer, enter the following from a TFTP command ...
Page 77 - Problems and Error Messages; Reason
WiPort™ User Guide 9-1 9 9 : : T T r r o o u u b b l l e e s s h h o o o o t t i i n n g g This chapter discusses how you can diagnose and fix errors quickly without having to contact a dealer or Lantronix. It helps to connect a terminal to the serial port while diagnosing an error to view summary m...
Page 78 - Troubleshooting; Caps Lock
Troubleshooting 9-2 WiPort™ User Guide Problem/Message Reason Solution You may have entered the Ethernet address incorrectly with the ARP command. Confirm that the Ethernet address that you entered with the ARP command is correct. The Ethernet address may only include numbers 0-9 and letters A-F. In...
Page 79 - General DeviceInstaller Settings
General DeviceInstaller Settings WiPort™ User Guide 9-3 Problem/Message Reason Solution The Telnet configuration port (9999) is disabled within the device server security settings. of the device server). PING X.X.X.X (X.X.X.X is the IP of the device server). If you get a response, then there is a du...
Page 80 - Technical Support; Technical Support Europe, Middle East, and Africa
Troubleshooting 9-4 WiPort™ User Guide Technical Support If you are experiencing an error that is not described in this chapter, or if you are unable to fix the error, you may: To check our online knowledge base or send a question to Technical Support, go to http://www.lantronix.com/support . Em...