HelloDevice Lite Series LS110 User Guide Version 1.0.0.
Copyright Copyright 2002-2012, Sena Technologies, Inc. All rights reserved. Sena Technologies reserves the right to make changes and improvements to its product without providing notice. Trademark HelloDevice™ is a trademark of Sena Technologies, Inc. Windows® is a registered trademark of Microsoft Corporation. Ethernet® is a registered trademark of XEROX Corporation.
Revision history Revision Date Name V1.0.0 2007-05-07 W.J. Kim V1.0.0.1 2011-12-12 H.R. Zo Description Initial release Figures in A.3 Ethernet Wiring Diagram are modified Description of TCP server/client in Table 4-1 is modified Package does not contain CD-ROM. Some typographical errors are modified.
Contents 1: Introduction 7 1.1 Overview ......................................................................................................................................... 7 1.2 Package Check List ........................................................................................................................ 7 1.3 Product Specification ...................................................................................................................... 8 1.4 Terminologies And Acronyms.......
4.1.8 Telnet Server Mode ................................................................................................................ 39 4.2 Serial Port Configuration............................................................................................................... 40 4.2.1 Baud Rate .............................................................................................................................. 40 4.2.2 Data Bits, Stop Bit(s), Parity.............................................
C.7 Serial Communication Troubleshooting ....................................................................................... 64 Appendix D: Warranty 65 D.1 GENERAL WARRANTY POLICY................................................................................................. 65 D.2 LIMITATION OF LIABILITY .......................................................................................................... 65 D.3 HARDWARE PRODUCT WARRANTY DETAILS .................................................
1: Introduction 1.1 Overview The LS110 allows you to network-enable a variety of serial devices that were not originally designed to be networked. This capability brings the advantages of remote management and data accessibility to thousands of serial devices over the network. The LS110 is a cost effective one port serial-Ethernet communication device. The LS110 supports RS232 serial communication allowing virtually any asynchronous serial device to be accessed over a network.
1.
1.4 Terminologies And Acronyms The Internetworking related terminologies used frequently in this manual are defined clearly to help you better understand the LS110. MAC address On a local area network or other network, the MAC (Media Access Control) address is the computer's unique hardware number. (On an Ethernet LAN, it's the same as your Ethernet address.
Table 1-2 Acronym Table ISP Internet Service Provider PC Personal Computer NIC Network Interface Card MAC Media Access Control LAN Local Area Network UTP Unshielded Twisted Pair ADSL Asymmetric Digital Subscriber Line ARP Address Resolution Protocol IP Internet Protocol ICMP Internet Control Message Protocol UDP User Datagram Protocol TCP Transmission Control Protocol DHCP Dynamic Host Configuration Protocol SMTP Simple Mail Transfer Protocol FTP File Transfer Protocol HTTP Hy
2: Getting Started This chapter describes how to set up and configure the LS110. - 2.1 Panel Layout explains the panel layout and LED indicators. - 2.2 Connecting the Hardware describes how to connect the power, the network, and the serial device to the LS110. - 2.3 Accessing Console Port describes how to access the console port using a serial console at a local site or telnet console at a remote site. - 2.
Figure 2-1 The panel layout of the LS110 2.2 Connecting The Hardware This section describes how to connect the LS110 to the serial device for the first time. - Connect the power to the LS110 - Connect the Ethernet cable between the LS110 and Ethernet hub or switch - Connect the serial data cable between the LS110 and a serial device 2.2.1 Connecting The Power Connect the power jack to the LS110 power jack using DC power adapter included in the package.
Figure 2-2 Connecting the power to the LS110 2.2.2 Connecting To The Network Connect the one end of the Ethernet cable to the LS110 10Base-T port and the other to the Ethernet network. If the cable is properly hooked up, the LS110 will have a valid connection to the Ethernet network indicated by: - [Link] lamp of the LS110 maintains a solid Yellow LED.
2.2.3 Connecting To The Device Connect the serial data cable between the LS110 and the serial device. If necessary, supply power to the serial device attached to the LS110. Figure 2-4 Connecting a serial device to the LS110 2.3. Accessing Console Port There are two ways to access console port of the LS110 depending on whether the user is located at a local site or a remote site.
2.3.1 Using Serial Console 1) Connect the one end of the serial console cable to the serial port of the LS110. Figure 2-5 Connecting a serial console cable to the LS110 2) Connect the other end of the cable to the serial port of user’s computer. 3) Slide Data/Console switch to Console side. Figure 2-6 Data/Console switch of the LS110 4) Run a terminal emulator program such as HyperTerminal.
6) If the user logged into the LS110 successfully, a menu selection screen will appear on the computer as shown in Figure 2-7. LS110 login : root password : ***** ------------------------------------------------------------------------------Welcome to LS110 Configuration Page Serial No. : MAC Address : 00:01:95:AF:BD:44 F/W REV. : v0.4.8 IP Mode : Static IP IP Address : 192.168.23.
telnet 192.168.1.254 Or run a telnet program with parameters as follows. Figure 2-8 Telnet program set up example 2) The user has to log into the LS110. Type the user name and password. A factory default setting of the user name and password are both ‘root’. 3) If the user logged into the LS110 successfully, the same menu screen, as the one depicted in the serial console will be displayed. At menu selection screen, user can select each menu, by choosing the appropriate number.
3: IP Address Configuration A valid IP address needs to be assigned before the LS110 starts to work in the user's network environment. A network system administrator may provide the user with this IP address setting information for the network. The IP address must be unique within the network. Otherwise, the LS110 will not have a valid connection . Users can choose the desired IP mode , i.e., Static IP and DHCP. The factory default IP mode is Static IP mode.
Back, Refresh ---> 1 ----------------------------------------------------------------------------IP configuration ----------------------------------------------------------------------------1. IP mode : Static IP 2. IP address : 192.168.23.12 3. Subnet mask : 255.255.0.0 4. Default gateway : 192.168.1.1 5. Primary DNS : 168.126.63.1 6. Secondary DNS : 168.126.63.
Back, Refresh ---> 2 Enter IP address ---> Figure 3-3 Setting IP address Enter IP address to be changed. Note: The IP address in the form of 192.168.1.x is private in a sense that they are not assigned by an ISP. Application of the LS110 may require sending data back and forth over a public network, such as the Internet. In this case, it is required to assign a valid public IP address. The public IP address is generally purchased or leased from a local ISP. 3.1.
3.1.5 Default Gateway A gateway is a network point that acts as an entrance to another network. Usually, the computers that control traffic within the network or at the local Internet service provider are gateway nodes. The LS110 needs to know the IP address of the default gateway computer in order to communicate with the hosts outside the local network environment. For correct information on the gateway IP address, please refer to your local network administrator.
client computer receives this information when the IP address is provided at its boot-up. To obtain an IP address, the LS110 sends a corresponding DHCP request as a broadcast over the network after each reset. The reply generated by the DHCP server contains the IP address as well as the subnet mask, gateway address, DNS servers and the lease time. The LS110 immediately places this information in its non-volatile memory.
remember. A DNS server is a host that can translate such text-based domain names into the numeric IP addresses for TCP/IP connection. In order to use this DNS feature of the LS110, users need to set the IP address of this DNS server to be able to access the host with the domain name. The LS110 provides the way to configure IP addresses of DNS servers, i.e. Primary DNS server, Secondary DNS server. A secondary DNS server is specified for use when the primary DNS server is unavailable 3.3.
4: Host Mode Configuration 4.1 Host mode 4.1.1 Overview Host mode represents the operating session mode of the LS110. Several host modes are available for the data communication between serial devices and remote hosts. Table 4-1 The LS110 session modes Mode Description Select this mode, when users want the LS110 to operate as a TCP server. The LS110 stands by until there is any TCP connection request.
For each host mode, required parameters for configuration are summarized in Table 4-2.
For easier understanding of TCP modes, a simplified State Transition Diagram is often used. And to help users understand the diagram, the TCP state of the LS110 is briefly described as follows. Listen It represents “a waiting for a connection request from any remote host”. It is a default start-up mode when it is set as TCP server mode. This state is valid only in TCP server mode operation. Closed It means “No connection state at all”.
4.1.2 TCP Server Mode Operations The LS110 in this mode acts as a TCP server, and the default TCP state is [Listen] in this mode. The LS110 supports only one TCP socket connection per one serial port. If a connection is currently established, any additional connection requests will be rejected. The remote host will be either Ethernet-Serial communication devices acting as a TCP client or a socket program acting as a TCP client running on users’ PC.
Figure 4-1 shows the State Transition Diagram of the session operations in TCP server mode. Incoming TCP connection request Listen Sync-Recvd Accept Reject Closed Established Incoming TCP disconnection request Inactivity time-out Incoming data from remote host Incoming data via serial port Data Figure 4-1 State Transition Diagram of TCP server mode 3) Parameters Local port This is the TCP port number through which remote host can connect a TCP session, and, send and receive data.
------------------------------------------------------------------------------Welcome to LS110 Configuration Page Serial No. : LS MAC Address : 00:01:95:FF:DC:A9 F/W REV. : v0.4.8 IP Mode : Static IP IP Address : 192.168.23.12 ------------------------------------------------------------------------------Console#1 (Serial) : Available Console#2 (Telnet) : Available Console#3 (Telnet) : Connected ------------------------------------------------------------------------------1. IP configuration 2.
which means the connection request is being sent. If the remote host accepts the request, the state will be changed into [Established], which means a session has been opened. For a while, data will be transferred between the hosts. This is [Data] state. The session will be disconnected due to the request of one of them, which is its original state, [Closed].
Cyclic connection interval time-out Incoming data via serial port Closed Incoming TCP disconnection request Sync-Sent TCP connection request rejected Or internal TCP timer is expired TCP connection request accepted Inactivity time-out Incoming data via serial port Data Established Incoming data from remote host Figure 4-3 State Transition Diagram of TCP client mode 3) Parameters Remote IP address (or domain name) and Remote Port This is the information on the remote host to which the LS110
------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6. Inter-character timeout : 0 7. Host mode : TCP Client 8. Destination IP : 0.0.0.0 9. Destination port : 7001 10. Inactivity timeout : 0 11. Cyclic connection : 0 12. DTR behavior : Always HIGH 13. DSR behavior : None 14.
------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6. Inter-character timeout : 0 7. Host mode : TCP Client 8. Destination IP : 192.168.23.30 9. Destination port : 7001 10. Inactivity timeout : 0 11. Cyclic connection : 0 12. DTR behavior : Always HIGH 13. DSR behavior : None 14.
detailed operation principles are the same as that of TCP server and TCP client mode. See section 4.1.2 TCP Server Mode Operations and 4.1.3 TCP Client Mode Operations for more details on each session mode.
4.1.5 UDP Tunneling Mode Operations The UDP tunneling mode operation is similar to that of TCP server/client mode except that it is based on UDP protocol and only one pre-defined remote host is able to communicate with the LS110. Users do not have to configure the parameter of inactivity timeout, since UDP is a connectionless protocol.
port, and send back the data from the serial port to the latest remote host who sent the UDP datagram. Virtual connection timeout will be reset to inactivity timeout value whenever there is any data transfer between remote host and the serial device. If other remote hosts send UDP datagrams while a virtual connection is established, the UDP datagram will be discarded.
Table 4-3 AT commands supported in the LS110 1 Command +++ ATD(T) [remote IP or domain name]:[remote port] [CR][LF] or ATD(T) [remote IP][remote port] [CR][LF] Response (Verbose Code) Internal Operation Return to command input mode Set TCP mode as TCP client mode. And then, try to connect to the specified remote host. e.g. atdt192.168.1.9:1002 e.g. atdt1921680010091002 Connect to IP address, 192.168.1.9, port 1002 (Port Number is permitted from 1 to 65534) e.g. atdtps.sena.
ATBn, ATCn, ATLn, ATMn, ATNn, ATP, ATT, ATYn, AT%Cn, AT%En, AT&Bn, AT&Gn, AT&In, AT&Qn, AT&V, ATMn, AT\An, AT\Bn, AT\Nn, ATXn None OK [CR][LF] ATSn?, ATSn=x Internal S-register can be set or read. Default values are shown on Table 4-5 Changed values are not preserved if th power is off. <= AT&Cn, AT&Wn, AT&Zn=x response is ERROR.
HelloDevice ATZ Serial Pro Series ATZ Device OK TCP connection Request Command mode ATDT ATDT TCP connection Established. CONNECT DATA…. DATA…. DATA…. DATA…. TCP mode +++ Request TCP disconnection ATH ATH TCP disconnection Command mode OK NO CARRIER Figure 4-7 Typical case of command/data flow of modem emulation mode 4.1.
4.2 Serial Port Configuration To attach the serial device to the LS110 serial port, its serial settings should match exactly to that of the serial device. 4.2.1 Baud Rate Baud rate settings for the LS110 is as follows. 1200, 2400, 4800, 9600, 19200, 38400, 57600 and 115200 The baud rate can be changed by ‘Baud rate’ menu of ‘Serial port configuration’.
4.2.2 Data Bits, Stop Bit(s), Parity The factory default setting of data bits, stop bits and parity are 8, 1 and None. They can be changed using each menu such as ‘Data bits’, ’Stop bit(s)’, and ’Parity’. ------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6.
------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6. Inter-character timeout : 0 7. Host mode : TCP Client 8. Destination IP : 192.168.23.30 9. Destination port : 7001 10. Inactivity timeout : 0 11. Cyclic connection : 0 12. DTR behavior : Always HIGH 13. DSR behavior : None 14.
4.3 Options 4.3.1 DTR/DSR Behavior The purpose of the DTR/DSR pins is to emulate modem signal control or to control TCP connection state. The DTR is a write-only output signal, whereas the DSR is a read-only input signal, on the LS110. The DTR output behavior can be set to one of three types: Always HIGH, Always LOW or Show TCP connection. If the DTR behavior is set to Show TCP connection, the state of the DTR pin will be maintained high if the TCP connection is established.
------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6. Inter-character timeout : 0 7. Host mode : TCP Client 8. Destination IP : 192.168.23.30 9. Destination port : 7001 10. Inactivity timeout : 0 11. Cyclic connection : 0 12. DTR behavior : Always HIGH 13. DSR behavior : None 14.
Note: At least, this value should be set larger than that of inter-character timeout. To prevent the unintended loss of data due to the session disconnection, it is highly recommended that this value is set large enough so that the intended data transfer is completed. ------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4.
------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6. Inter-character timeout : 0 7. Host mode : TCP Client 8. Destination IP : 192.168.23.30 9. Destination port : 7001 10. Inactivity timeout : 0 11. Cyclic connection : 0 12. DTR behavior : Always HIGH 13. DSR behavior : None 14.
------------------------------------------------------------------------------Serial port configuration ------------------------------------------------------------------------------1. Baud rate : 9600 2. Data bits : 8 3. Parity : None 4. Stop bit(s) : 1 5. Flow control : Hardware 6. Inter-character timeout : 0 7. Host mode : TCP Client 8. Destination IP : 192.168.23.30 9. Destination port : 7001 10. Inactivity timeout : 0 11. Cyclic connection : 0 12. DTR behavior : Always HIGH 13. DSR behavior : None 14.
LS110 48
5: System Information With ‘System information’ menu, users can see current system parameters in the console. The result is composed of three parts: ‘System Information’, ‘IP Information’, and ‘Port Information’. ----------------------------------------------------------------------------Welcome to LS110 Configuration Page Serial No. : MAC Address : 00:01:95:AF:BD:44 F/W REV. : v0.4.8 IP Mode : Static IP IP Address : 192.168.23.
6: System Administration Using ‘System administration’ menu, allows the user to manage the LS110. Figure 6-1 The sub menu of ‘System administration’. ------------------------------------------------------------------------------System administration ------------------------------------------------------------------------------1. Device name : LS110 2. Username : root 3. Password : root 4. Factory reset 5. Factory reset without IP settings 6. Firmware upgrade 7. Ping 8. User connection status 9.
6.2 Username Using ‘Username’ menu, you can change username. The usage is as follows. ------------------------------------------------------------------------------System administration ------------------------------------------------------------------------------1. Device name : LS110 2. Username : root 3. Password : root 4. Factory reset 5. Factory reset without IP settings 6. Firmware upgrade 7. Ping 8. User connection status 9.
6.4 Factory Reset With ‘Factory reset’ menu, users can load factory default parameter values in console. Usage of ‘Factory reset’ is as follows: ------------------------------------------------------------------------------System administration ------------------------------------------------------------------------------1. Device name : LS110 2. Username : root 3. Password : root 4. Factory reset 5. Factory reset without IP settings 6. Firmware upgrade 7. Ping 8. User connection status 9.
6.6 Firmware Upgrade With this menu, you can upgrade the firmware of the LS110. Usage of ‘Firmware upgrade’ is as follows. Selecting ‘Firmware upgrade’ in the menu, then wait until following message appears. ----------------------------------------------------------------------------System administration ----------------------------------------------------------------------------1. Device name : LS110 2. Username : root 3. Password : root 4. Factory reset 5. Factory reset without IP settings 6.
Figure 6-8 Execute ZMODEM Figure 6-9 Select firmware to upgrade Select firmware file to upgrade, and firmware upgrade process starts. Figure 6-10 firmware upgrade process window 6.7 Ping With this menu, you can test to see if another network device still exists by using the ping function. Usage of ‘ping’ is as follows. ----------------------------------------------------------------------------System administration ----------------------------------------------------------------------------1.
Type ‘ping’ on the keyboard and press Enter. Then type IP address to send ping on the keyboard. 6.8 User Connection Status ‘User connection status’ menu, allows you to see how many users are logged into the LS110. LS110 allows maximum two users in remote console and one user in serial console. Usage of ‘User connection status’ is as follows.
Only when the value is ‘Enable’, Remote Console can connect to LS110.
7: Other Menus 7.1 Save Changes With ‘Save changes’ menu, current parameter changes are saved to non-volatile memory. Usage of ‘Save changes’ is as follows ----------------------------------------------------------------------------Welcome to LS110 Configuration Page Serial No. : MAC Address : 00:01:95:AF:BD:44 F/W REV. : v0.4.8 IP Mode : Static IP IP Address : 192.168.161.
5. Save changes 6. Exit without reboot 7. Save and reboot Back, Refresh ---> 6 Exit configuration program... Bye... LS110 login : Figure 7-2 Exit without reboot 7.3 Save And Reboot With ‘Save and reboot’ menu, the LS110 will be rebooted immediately. Changed parameter values will be applied when the LS110 is up again. Command usage of ‘Save and reboot’ is as follows: ----------------------------------------------------------------------------Welcome to LS110 Configuration Page Serial No.
Appendix A: Connections A.1 Ethernet Pinouts The LS110 uses a standard Ethernet connector, which is a shielded connector compliant with AT&T258 specifications. Table A-1 shows the pin assignment and the wire color. Figure A-1 Pin layout of the RJ45 connector Table A-1 Pin assignment of the RJ45 connector Pin 1 2 3 4 5 6 7 8 Description Tx+ TxRx+ NC NC RxNC NC Color White with orange Orange White with green Blue White with blue Green White with brown Brown A.
A.3 Ethernet Wiring Diagram HelloDevice Remote Host Tx+(1) Tx-(2) Rx+(3) Rx-(6) Tx+(1) Tx-(2) Rx+(3) Rx-(6) RemoteHostRx+(1)Rx-(2)Tx+(3)Tx-(6) Figure A-3 Ethernet direct connection using crossover ethernet cable HelloDevice Hub Tx+(1) Tx-(2) Rx+(3) Rx-(6) Tx+(1) Tx-(2) Rx+(3) Rx-(6) Remote Host Tx+(1) Tx-(2) Rx+(3) Rx-(6) Tx+(1) Tx-(2) Rx+(3) Rx-(6) Figure A-4 Ethernet connection using straight through ethernet cable A.
Appendix B: Well-known Port Numbers The port numbers are divided into three ranges: the Well Known Ports, the Registered Ports, and the Dynamic and/or Private Ports. The Well Known Ports are those from 0 through 1023. The Registered Ports are those from 1024 through 49151. The Dynamic and/or Private Ports are those from 49152 through 65535. The Well Known Ports are assigned by the IANA, and on most systems, can only be used by system processes or by programs executed by privileged users.
Appendix C: Troubleshooting C.1 Power/LED Status Troubleshooting Problem Cause Action Power LED does not light up Power cable is not connected Check power connection Link LED does not light up Ethernet cable is not connected Check Ethernet cable connection Invalid Ethernet cable is used There are two types of Ethernet cables: Straight-through cable and crossover cable. If you are using an Ethernet hub, use straight-through cable.
C.3 Remote Console Troubleshooting Problem Cause Cannot connect to the The LS110 is not LS110 using telnet assigned valid IP address Cannot login to console Action Use serial console to assign valid IP address to the LS110 Someone is using serial console Exit serial console and retry telnet connection Invalid username and/or password Use valid username and password. If username and/or password are lost, perform factory default reset using factory reset switch.
C.
Appendix D: Warranty D.1 GENERAL WARRANTY POLICY Sena Technologies, Inc. (hereinafter referred to as SENA) warrants that the Product shall conform to and perform in accordance with published technical specifications and the accompanying written materials, and shall be free of defects in materials and workmanship, for the period of time herein indicated, such warranty period commencing upon receipt of the Product.
D.3 HARDWARE PRODUCT WARRANTY DETAILS WARRANTY PERIOD: SENA warranties embedded hardware Product for a period of one (1) year, and external hardware Product for a period of three (3) or five (5) years according to the Product type. WARRANTY PROCEDURE: Upon return of the hardware Product SENA will, at its option, repair or replace Product at no additional charge, freight prepaid, except as set forth below.