Lantronix 900-332 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Lantronix 900-332. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoLantronix 900-332 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Lantronix 900-332 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Lantronix 900-332, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Lantronix 900-332 deve conte:
- dados técnicos do dispositivo Lantronix 900-332
- nome do fabricante e ano de fabricação do dispositivo Lantronix 900-332
- instruções de utilização, regulação e manutenção do dispositivo Lantronix 900-332
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Lantronix 900-332 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Lantronix 900-332 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Lantronix na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Lantronix 900-332, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Lantronix 900-332, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Lantronix 900-332. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    WiPort™ User Guide Part Number 900-332 Revision A 3/04[...]

  • Página 2

    [...]

  • Página 3

    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. WiPort, with its patent-pending tech nology, is a trademark of[...]

  • Página 4

    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. This equipment generate s, uses, and can radiate [...]

  • Página 5

    WiPort™ User Guide iii Contents Copyright and Trademark _________________________________________________ i Contacts ______________________________________________________________ i Disclaimer and Revisi ons _________________________________________________ ii 1: Using This Guide 1-1 Purpose and Audience __________________________________________[...]

  • Página 6

    Contents iv WiPort™ User Guide 5: Configuration via Serial Mode or Telnet Port 5-1 Accessing Setup Mode _________________________________________________ 5-1 Telnet A ccess _____________________________________________________________ 5-1 Serial Port Access _________________________________________________________ 5-2 Server Configuration _______[...]

  • Página 7

    Contents WiPort™ User Guide v Disable TFTP Firm ware Upgrade _____________________________________________ 5-21 Disable Port 77 FE (Hex) ____________________________________________________ 5-21 Disable Web Server _______________________________________________________ 5-22 Disable Web Setup _______________________________________________________[...]

  • Página 8

    [...]

  • Página 9

    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. Chapter Summary The remaining chapters in th[...]

  • Página 10

    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 Integration Guide Provides information about the WiPort hardware and i[...]

  • Página 11

    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.11b wireless standard. WiPort allows Original Equipment Manufacturers (OEMs) to add wirel ess connectivity to their products by incorporating it onto a circui[...]

  • Página 12

    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.  Remote sensing  CNC controllers  Data collection devices  Telecommunications equip ment  Data display devices  Security alarms and access [...]

  • Página 13

    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. T he fourth, fifth, and sixth bytes are unique numbers assign[...]

  • Página 14

    [...]

  • Página 15

    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. This chapter include s the following topics: Topic Page Accessing WiPort using DeviceInstaller 3-[...]

  • Página 16

    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). Click Next . 5. Click the Assign pushbutton a[...]

  • Página 17

    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. Data Rate WiPort permits the control of t he transmission rate (in Mbps[...]

  • Página 18

    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. 4. In the Configurable Pin Properties section [...]

  • Página 19

    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. From the Configure Device wind ow for the WiPort unit, click the Ports tab. The list of availa[...]

  • Página 20

    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 Active Connection). Terminal Type This field is a[...]

  • Página 21

    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. Disconnect w [...]

  • Página 22

    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. The standard algorithm is optimized for applications in wh ich the unit is used in a local environment, allowing for very small dela ys, while keeping the packet count[...]

  • Página 23

    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. Ea ch condition within an individual trigger mu st be met before the unit will se[...]

  • Página 24

    [...]

  • Página 25

    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. The unit’s configuration is sto red in nonvolatile memory and is retained witho[...]

  • Página 26

    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. Network Configuration The unit’s network values display [...]

  • Página 27

    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 . 3. Enter the following (as necessary): Disable BOOTP Leave the checkbox empt[...]

  • Página 28

    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. The IP address must be set to a unique value in the net work. Subnet Mask A subnet mask define[...]

  • Página 29

    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. ARP Cache tim[...]

  • Página 30

    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. Retry Timeout Enter the duration (in seconds) the WiP[...]

  • Página 31

    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. Port Settings Protocol Select the protocol type from the pull d[...]

  • Página 32

    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. The standard algorithm is optimized for applications in wh ich the unit is used in a local environment, allowing[...]

  • Página 33

    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. Fiel[...]

  • Página 34

    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. The r ang e of auto-incremented port numbers is 50,000 to 59,999 and l oops back to the beginning when the maximum ran[...]

  • Página 35

    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. To disable the inactiv[...]

  • Página 36

    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. Email Configuration The u[...]

  • Página 37

    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. Trigger Configuration A trigger event occurs when the unit receives the specified [...]

  • Página 38

    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. Note: All of the conditions must match for an em ail n otification to be sent. Message Proper[...]

  • Página 39

    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. Ad Hoc Settings Ad Hoc Network Creation Select the chec[...]

  • Página 40

    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. Select the data rate (in Mbps) from the pull down menu. Radio Power Management P[...]

  • Página 41

    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.[...]

  • Página 42

    [...]

  • Página 43

    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. As an alternative to DeviceInstaller and Web -Manager, the WiPort unit is co nfi[...]

  • Página 44

    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.x.x.x 9999 UNIX: telnet x.x.x.x:9999 3. Click OK . The [...]

  • Página 45

    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. The configuration settings display, fol[...]

  • Página 46

    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. 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 [...]

  • Página 47

    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 . The following sections describe the configura ble parame ters within the Channel config uratio[...]

  • Página 48

    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. Common Interface Mod e Setting s Common I/F Mode Setting Binar[...]

  • Página 49

    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 rector 30704 Reserved (77F0h) 30718 Reserved (77FEh) Note: It is recommended to not use the rese rved port numbers for this setting as incorrect operat[...]

  • Página 50

    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 0 1 0 d) Datagram Type Directed UDP 1 1 0 0 e) Modem Mode Full Verbose 1 0 1 1 0 Without Echo 0 0 1 1 0 Numeric modem result codes 1 0 1 1 1 a) Incom[...]

  • Página 51

    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). N o blanks or sp[...]

  • Página 52

    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. If this connection fails, the unit continues to scroll throu[...]

  • Página 53

    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. 5. For Retrytimeout , enter the number of seco nds the unit should[...]

  • Página 54

    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. 1-Character Res ponse 0 OK 1 Connected 2 Ring 3 No Carrier 4 Error Receiv[...]

  • Página 55

    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. Uses remote IP address and port settings to initiate a connection. ATD or ATDT Forces the un[...]

  • Página 56

    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. DisConnMode ( 0) ? _ In DisConnMode, modem_control_in eit her drops the connectio n or is ign[...]

  • Página 57

    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 initiat ed from the network to the device 1 Cle[...]

  • Página 58

    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. For alternate packing, the default interval is 12 ms. Trailing Characters: In some applicat[...]

  • Página 59

    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. There are three [...]

  • Página 60

    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. The current value is di splayed in parenth eses. Domain name () ? _ Recipient 1 Enter the [...]

  • Página 61

    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. Note: Each trigger is independe nt of the others. [...]

  • Página 62

    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. The default is a data rate [...]

  • Página 63

    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. Enter a string of 1 to [...]

  • Página 64

    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. The Y (Yes) option disables remote co nfiguration and web sites. Note:[...]

  • Página 65

    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 conn ection; no active connection startup) Hostlist Retry Counter 3 Hostlist Retry Timeout 250 (msec) Send Character 0x0D (CR) All othe[...]

  • Página 66

    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 Firm ware Update (N) No Disable Port 77FEh (N) No Disable Web Server (N) No Disable ECHO ports (Y)[...]

  • Página 67

    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). Note: In addition, configure these pi ns for serial port control l[...]

  • Página 68

    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). Parameter bits for configurable pins not configured as GPI[...]

  • Página 69

    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. 0 means it is an input. Command 12h, Get Active Levels Send: No parameters Response: 1[...]

  • Página 70

    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. Bytes 5-8: New Active Levels Bit X 1 means GPIO X will b[...]

  • Página 71

    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). PC -> WiPort: 1Bh, 01h, 00 h, 02h, 00h, 01h, 00h, 00h, 00h W[...]

  • Página 72

    [...]

  • Página 73

    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 Page Entering Monitor Mode via the Serial Port 7-1 Entering Monitor Mode via the Net work Port 7-1 Monitor Mode Commands 7-2 There are two ways to en[...]

  • Página 74

    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. GC Get Configuration Gets configurat ion of unit as[...]

  • Página 75

    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 firmware an d release notes for the unit from [...]

  • Página 76

    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. Using TFTP: Command Line Interface To download new firmware from a com puter, enter the following from a TFTP command line interface: tftp –i <ip address> p[...]

  • Página 77

    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. When troubles[...]

  • Página 78

    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 Windows and usuall y in Unix, the segments of t[...]

  • Página 79

    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). If you get a response, then there is a duplicate IP address on the network. If you do [...]

  • Página 80

    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.lantronix.com/ support .  Email us at support@lantronix.com.  Cal[...]