Gebruiksaanwijzing /service van het product 900-332 van de fabrikant Lantronix
Ga naar pagina of 80
WiPort™ User Guide Part Number 900-332 Revision A 3/04.
.
W i P o r t ™ U s e r G u i d e i Copyright and Trademark © 2004, Lantronix. All rights reserved. No par t of the contents of this book may b e transmitted or reproduced in any form or by any means without the written permissi on of Lantronix. Printed in the United States of America.
ii WiPort™ User Guide Disclaimer and Revisions Note: This produ ct has b een designed to com ply with the limits for a Class B digital device pursuant to Part 15 of FCC Rules. These lim its are designed to provide reasonable prote ction agai nst harmful interference in a resi dential installation.
WiPort™ User Guide iii Contents Copyright and Trademark _________________________________________________ i Contacts ______________________________________________________________ i Disclaimer and R.
Contents iv WiPort™ User Guide 5: Configuration via Serial Mode or Telnet Port 5-1 Accessing Setup Mode _________________________________________________ 5-1 Telnet A ccess _________________________.
Contents WiPort™ User Guide v Disable TFTP Firm ware Upgrade _____________________________________________ 5-21 Disable Port 77 FE (Hex) ____________________________________________________ 5-21 Dis.
.
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 informatio n needed to configure, use and update the WiPort and is intended for software developers and sy stem integrators who are embed ding the WiPort in their designs.
Using This Guide 1-2 WiPort™ User Guide Additional Documentation The following guides are av ailable 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™ 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 e mbedded device serv er that pro vides a network-enabling solution based on the IEEE 802.
Introduction 2-2 WiPort™ User Guide Applications The WiPort device server connects serial device s such as those listed below to wireless and Ethernet networks us ing the IP protocol family.
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 Ether net address are fixed and read 00-2 0-4A, identifying the unit as a Lantronix product.
.
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 getti ng the WiPort device server online and working.
Configuration Using DeviceInstaller 3-2 WiPort™ User Guide 3. Select Assign a specific IP address and cli ck Next . 4. Enter the IP address . The Subnet mask displays automatically based o n the IP address; if desired, change it. On a local network, you can leave the Default gateway blank (all zeros).
Configuration Using DeviceInstaller WiPort™ User Guide 3-3 Enc r ypti on K ey Alternatively, manually enter the Encryption Key in hexadecimal v alue. 10 hexadecimal charac ters are required for 64 bit encryption. 26 hexadecim al characters are required for 128 bit encryption.
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 Configura blePin Collection Editor window. 3. Highlight a Configurable Pin from t he Members section to select it for configuration.
Configuration Using DeviceInstaller WiPort™ User Guide 3-5 Table 3-1. Common Interface Mod e Setting s 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.
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.
Configuration Using DeviceInstaller WiPort™ User Guide 3-7 Connection Res ponse 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 ev en if the remote site does not acknowledge a disconnect request.
Configuration Using DeviceInstaller 3-8 WiPort™ User Guide Packing Enable Packing Two firmware-selectable pac king algorithms define ho w and when packets are sent to the net work.
Configuration Using DeviceInstaller WiPort™ User Guide 3-9 Triggers A trigger event occurs when the unit receives the specifi ed trigger input as a result of a specified combinatio n of conditions on the configurabl e pins. Each trigger is independent of the others.
.
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 describe s how to configure the WiPort using Web-M anager, Lantronix’s browser-based configuration tool.
Configuration Using Web-Manager 4-2 WiPort™ User Guide Figure 4-1. Web-Mana ger The main menu is displayed in the left side of the Web-Ma nager window. Note: Alternatively, a ccess the WiPort’s Web-Manage r if it is conne cted to the network by entering its IP addre ss in a web browser.
Configuration Using Web-Manager WiPort™ User Guide 4-3 Figure 4-2. Netw o rk Settings Automatic IP Address Configuration To automatically assign an IP address and its network co nfiguration: 1. Click Network from the main menu. 2. Select Obtain IP address automatically .
Configuration Using Web-Manager 4-4 WiPort™ User Guide 1. Click Network from the main menu. 2. Select Use the follo wing IP configuration . 3. Enter the following (as necessary): IP Address If DHCP is not used to assign IP addresses, enter it manual ly.
Configuration Using Web-Manager WiPort™ User Guide 4-5 Server Configuration Telnet Password Enter the password required for T elnet access. Retype Password Re-enter the password required for T elnet access. Advanced ARP Cache Timeout When the unit communicates with another d evice on the network, it adds an entry into its ARP table.
Configuration Using Web-Manager 4-6 WiPort™ User Guide Figure 4-4. Hostlist Settings 2. Enter or modify the following fields from the Ho stlist Settings window: Retry Settings Retry Counter Enter the val ue for the number of times the WiPort should attempt to retry connecting to the host list.
Configuration Using Web-Manager WiPort™ User Guide 4-7 Figure 4-5. Channel Se rial Settings 2. In the available fields, enter the following information: Channel 1 Disable Serial Port Available on Channel 1 settings only. When selected, disables communication throu gh the serial port.
Configuration Using Web-Manager 4-8 WiPort™ User Guide Pack Control Enable Packing Select the checkbox to enable packing o n the WiPort. Two firmware-selectable pac king algorithms define ho w and when packets are sent to the net work.
Configuration Using Web-Manager WiPort™ User Guide 4-9 Connect Protocol Protocol Select TCP from the pull down menu. Figure 4-6. TCP Connec tion Settings Connect Mode: Passive Connection Accept Inc oming Select Yes to accept incoming connections. Password Required Determines whether a password is required f or an incoming passive connection.
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 ne w outgoing connections.
Configuration Using Web-Manager WiPort™ User Guide 4-11 Inactivity Timeout Use this parameter to set an inactivity timeout. The unit dro ps the connection if there is no activity on the serial li ne before the set time expires. Enter ti me in the format mm:ss, where m is the number of minutes and s is the number of seconds.
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 Datagra m Type is set to FD . Enter values between 1-255 to identif y units on the local network of device servers.
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 designat ed to receive email notifications.
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 c ommunication stream, prompts a trigger.
Configuration Using Web-Manager WiPort™ User Guide 4-15 Figure 4-10. WLA N Settings 2. Enter or modify the following fields: Network Interface Use the pull down menu to select a WLAN interface or an Ethernet interface. Network Name Enter the name of the net work wher e the WiPort is located.
Configuration Using Web-Manager 4-16 WiPort™ User Guide Enc r ypti on K ey Field is enabled when WEP is selected as the Security type. Enter the Enc r ypti on K ey in hexadecim al value Advanced Settings Data Rate WiPort permits the control of t he transmission rate.
Configuration Using Web-Manager WiPort™ User Guide 4-17 Updating Settings Click the Apply Settings button from the main men u to save and apply the configuration changes.
.
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 n etwork with your serial device.
Configuration Via Serial Mode or Telnet Port 5-2 WiPort™ User Guide 1. From the Windows Start menu, click Ru n . 2. From the Run dialogue box , type the followin g command (w here x.x.x.x is the IP address and 9999 is the unit’s fixed net work configuration port nu mber): Windows: telnet x.
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 seconds.
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 assign ed for the host part.
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 re sponds to network and serial communi cations .
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/48 5 I/F Modes not supported” message displays. The following table demonstrates some common I/F Mode settings: Table 5-3.
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-7 Table 5-5. Reserved Port Nu mb ers Port Numbers Reserved for 1 – 1024 Reserved 9999 Telnet setup 14000-14009 Reserved for Redi r.
Configuration Via Serial Mode or Telnet Port 5-8 WiPort™ User Guide Connect Mode Option 7 6 5 4 3 2 1 0 With a specific start character 0 0 1 1 Manual connection 0 1 0 0 Autostart 0 1 0 1 Hostlist 0.
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 chara cter 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).
Configuration Via Serial Mode or Telnet Port 5-10 WiPort™ User Guide Hostlist If this option is set to True, the device server scrolls through the host list until it connects to the fi rst available device listed in the host list table. Once it connects, the unit stops further attempts.
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-11 4. For Retrycounter , enter the number of times the Lantronix unit sho uld try to make a good network con nection to a host list entry that it has successfully ARPed. The range is 1-15, with the default set to 3.
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 clos ed. RING n.n.n.n. A remote device, having IP ad dress n.n.n.n, is connecting to this device.
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-13 Modem Mode Command Function ATDT x.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.
Configuration Via Serial Mode or Telnet Port 5-14 WiPort™ User Guide DisConnMode Disconnect Mode (DisConnMode ) determines the conditions unde r which the unit will cause a network connectio n to terminate. The current value is displayed in parenth eses.
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 Seri.
Configuration Via Serial Mode or Telnet Port 5-16 WiPort™ User Guide Packing Interval: Packing Interval defines how lon g the unit should wait before sending accumulated cha racters. This wa it period is between successive network segments containing data.
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-17 Email Configuration Note: Change these settin gs via Telnet or serial con nections only, not on the Web-Manager. These settings a re also configurable throu gh DeviceInstaller. The unit sends an Email to multiple recipi ents when a specific trigger event occurs.
Configuration Via Serial Mode or Telnet Port 5-18 WiPort™ User Guide Unit Name Enter the username used by the WiPort to send Email messag es. The current value is displayed in parentheses. Unit name () ? _ Domain Name Enter the Email server’s domain name.
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-19 The Re-notification interval indicate s the time interval in which a new Email message is sent to the recipient(s) when a si ngle trigger event remains active. Trigger 2 Refer to Trigger 1 for details on completing these fields.
Configuration Via Serial Mode or Telnet Port 5-20 WiPort™ User Guide Security As an additional security measure, enable WEP on the WiPort. The cu rrent value is displayed in parentheses. By default, WEP is disable d on WiPort. Security 0=none, 1=WEP (0) ? _ Data Rate WiPort permits the control of the transmission rate.
Configuration Via Serial Mode or Telnet Port WiPort™ User Guide 5-21 Disable SNMP For security purposes, disable SNMP (if required) on t he 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 read or write to a device.
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 rem ote configuration. As a result, configure the unit by using DeviceInstaller, web page s, Telnet, or serial 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 a.
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 N.
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 followin g topics: Topic Page GPIO Pins 6-1 Control Protocol 6-1 Examples 6-4 GPIO Pins The WiPort has eleven pins configurabl e for General Purpose I/O (GPIO).
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 o nly three. The parameters are four by tes long and represent GPIOs 0-31, wi th GPIO0 in bit 0 of the first byte (Little Endian).
Configurable Pins WiPort™ User Guide 6-3 0 means dedicated function (e.g., serial flo w control, diagnostics) for configurable pin X. Command 11h, Get Directions Send: No parameters Response: 1 parameter Bytes 1-4: Directions Bit X 1 means GPIO X is an o utput.
Configurable Pins 6-4 WiPort™ User Guide Bytes 1-4: The updated directi ons 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.
Configurable Pins WiPort™ User Guide 6-5 bits 2 to 8 and 10 are 0 → configured for a spe cial function and are unavailable for control or monitoring by the user. Example 2: PC sends command 1Bh to chan ge the current states of GPIO 0 and 1 (assuming they are configured as outputs).
.
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 inte rface used for diagno stic purposes. This chapter includes the followin g topics: Topic.
Monitoring the Network 7-2 WiPort™ User Guide Monitor Mode Commands The following commands a re available in Monitor Mode. Note: All commands must be in ca pital letters. Table 7-1. Monitor Mode Commands Command Command Name Function VS Version Queries software header record (16 b ytes) of unit.
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.
Troubleshooting 8-2 WiPort™ User Guide 8. Click the Upload No w button to transfer the file to the unit. The unit performs a power reset after the firmware has been loaded and stored.
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 ho w you can diagnose and fix erro rs quickly without having to contact a dealer or Lantronix. It helps to con nect a terminal to the serial port while diagnosing an error to view summary me ssages that may be displayed.
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.
General DeviceInstaller Settings WiPort™ User Guide 9-3 Problem/Message Reason Solution The Telnet configurati on 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).
Troubleshooting 9-4 WiPort™ User Guide Technical Support If you are experiencing an error that is not described i n this chapter, or if you are unable to fix the error, you may: To check our online kno wledge base or send a questio n to Technical Support, go to http://www.
Een belangrijk punt na aankoop van elk apparaat Lantronix 900-332 (of zelfs voordat je het koopt) is om de handleiding te lezen. Dit moeten wij doen vanwege een paar simpele redenen:
Als u nog geen Lantronix 900-332 heb gekocht dan nu is een goed moment om kennis te maken met de basisgegevens van het product. Eerst kijk dan naar de eerste pagina\'s van de handleiding, die je hierboven vindt. Je moet daar de belangrijkste technische gegevens Lantronix 900-332 vinden. Op dit manier kan je controleren of het apparaat aan jouw behoeften voldoet. Op de volgende pagina's van de handleiding Lantronix 900-332 leer je over alle kenmerken van het product en krijg je informatie over de werking. De informatie die je over Lantronix 900-332 krijgt, zal je zeker helpen om een besluit over de aankoop te nemen.
In een situatie waarin je al een beziter van Lantronix 900-332 bent, maar toch heb je de instructies niet gelezen, moet je het doen voor de hierboven beschreven redenen. Je zult dan weten of je goed de alle beschikbare functies heb gebruikt, en of je fouten heb gemaakt die het leven van de Lantronix 900-332 kunnen verkorten.
Maar de belangrijkste taak van de handleiding is om de gebruiker bij het oplossen van problemen te helpen met Lantronix 900-332 . Bijna altijd, zal je daar het vinden Troubleshooting met de meest voorkomende storingen en defecten #MANUAl# samen met de instructies over hun opplosinge. Zelfs als je zelf niet kan om het probleem op te lossen, zal de instructie je de weg wijzen naar verdere andere procedure, bijv. door contact met de klantenservice of het dichtstbijzijnde servicecentrum.