User Guide for the HelloDevice LS100 Version 1.2.2 Firmware version 1.2.X Last revised on November 8, 2005 Printed in Korea Copyright Copyright 2002, Sena Technologies, Inc. All rights reserved. Sena Technologies reserves the right to make changes and improvements to its product without providing notice.
RS232 serial communication allowing virtually any asynchronous serial device to be accessed over a network. As for the Internet connectivity, the LS100 supports open network protocols such as TCP/IP allowing serial devices to be accessed over broadband network or conventional LAN (Local Area Network) environment.
1.2 Package Check List - LS100 external box - 110V or 230V Power supply adapter - Serial console/data cable - A hardcopy of Quick Start Guide - CD-ROM including the HelloDevice Manager and User Guide...
1.3 Product Specification Serial Interface One male DB9 serial port for data communication/serial console Serial speeds 1200bps to 115200bps Flow Control: None, Hardware RTS/CTS Signals: Rx, Tx, RTS, CTS, DTR, DSR, GND Network Interfaces 10 Base-T Ethernet with RJ45 Ethernet connector Supports static and dynamic IP address Protocols ARP, IP/ICMP, TCP, Telnet, DHCP client, PPPoE...
It is a unique 12-digit hardware number, which is composed of 6-digit OUI (Organization Unique Identifier) number and 6-digit hardware identifier number. The LS100 has the MAC address of 00-01- 95-xx-xx-xx, which is labeled on the bottom side of the external box.
Page 9
Table 1-1 Acronym Table Internet Service Provider Personal Computer Network Interface Card Media Access Control Local Area Network Unshielded Twisted Pair ADSL Asymmetric Digital Subscriber Line Address Resolution Protocol Internet Protocol ICMP Internet Control Message Protocol User Datagram Protocol Transmission Control Protocol DHCP Dynamic Host Configuration Protocol SMTP...
- 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.4 Command Usages described how to use command set of the LS100 to configure and view parameter values and status.
Page 11
Figure 2-1. The panel layout of the LS100...
2.2.2 Connecting to the Network Connect the one end of the Ethernet cable to the LS100 10Base-T port and the other to the Ethernet network. If the cable is properly hooked up, the LS100 will have a valid connection to the Ethernet...
Figure 2-3. Connecting a network cable to the LS100 2.2.3 Connecting to the Device Connect the serial data cable between the LS100 and the serial device. If necessary, supply the power to the serial device attached to the LS100. Figure 2-4. Connecting a serial device to the LS100...
2.3. Accessing Console Port There are two ways to access console port of the LS100 depending on whether the user is located at a local site or a remote site. - Serial console: Local users can connect directly to the serial console port of the LS100 using serial console/data cable (null-modem cable).
Page 15
9600 Baud rate, Data bits 8, Parity None, Stop bits 1, Hardware flow control Press [ENTER] key. Type the user name and password to log into the LS100. A factory default setting of the user name and password are both admin.
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 LS100. Type the user name and password. A factory default setting of the user name and password are both admin.
If serial console or the other remote consoles are connected already, new console will not be established at all. 2.4 Command Usage The LS100 provides several simple commands for configuration and control of the LS100. Table 2-2 summarizes command set which LS100 supports. Table 2-2 LS100 command set summary...
2.4.1 ‘set’ Command With ‘set’ command, users can configure parameter values of the LS100 for each environment. Basic ‘set’ command usage is as follows: set group par1 [par2 ...] + <CR> where, group = 'ip','host','serial' or 'admin' par1 par2 ... = configuration parameters. Use * to keep a parameter's value The ‘group’...
The changed values will not take effect until ‘save’ and ‘reboot’ commands are invoked. For more details, please refer to section 2.4.5 ~ 2.4.7. 2.4.2 ‘get’ Command With ‘get’ command, users can view the current parameter values and status of the LS100. Basic ‘get’ command usage is as follows: get [group] + <CR>...
- If group is omitted, shows this screen. - If group is specified, shows 'set' command usage of the group. factorydefault [option] + <CR> - if option is omitted, all parameters are set with factory default values. - if option='-ip', all parameters except IP settings are set with factory default values.
‘save’ command is as follows: save + <CR> Saved changes will be applied if the LS100 is rebooted by ‘reboot’ command or manual rebooting. 2.4.6 ‘exit’ Command With ‘exit’ command, current serial or remote console session will be closed. However, changed parameters are not applied until the LS100 is manually rebooted.
3: IP Address Configuration A valid IP address of the LS100 needs to be assigned before it 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 LS100 will not have a valid connection to the network.
TCP/IP host specified in the packet is on the local network segment with the help of the subnet mask. If the address is proven to be on the same network segment as the LS100, the connection is established directly from the LS100. Otherwise, the connection is established through the given default gateway.
This means DHCP client, i.e. the LS100, receives a different IP address each time it boots up. To prevent the case that users do not know the IP address of the LS100 in such environments, its IP address should be reserved on the DHCP server side. In order to reserve the IP...
3.2.2 DHCP Configuration To make the LS100 work in DHCP mode, just set IP mode to DHCP as in Figure 3-2. > set ip dhcp > Figure 3-2. Setting DHCP mode 3.3 PPPoE 3.3.1 Overview PPPoE (PPP over Ethernet) is a specification for connecting multiple computer users on an Ethernet local area network to a remote site through common customer premises equipment, which is the telephone company's term for a modem and similar devices.
TCP port. If a TCP session is established between them, the LS100 will send data to the server. If there’s any data from the server during the session, it will also send the data through the serial port. However, if the LS100 failed to connect to the remote server, the data from the serial port will be discarded.
Page 28
* set inactivity timeout to 0 for unlimited timeout For easier understanding of TCP modes, a simplified State Transition Diagram is often used. And too help users understand the diagram, the TCP state of the LS100 is briefly described as follows. - Listen It represents “a waiting for a connection request from any remote host”.
4.1 TCP Server Mode Operations 4.1.1 Overview The LS100 works as a TCP server, and the default TCP state is [Listen] in this mode. The LS100 supports only one TCP socket connection per one serial port. If a connection is currently established, the additional connection requests will be rejected.
Page 30
Serial data transfer When a session has been established, the LS100 reads the data from the serial port buffer till internal serial buffer is full or inter-character time interval reaches the time specified as inter- character timeout value. Then, it transfers the data to the IP address of the remote host. If there’s no remote host connected to the LS100, all the incoming data from the serial port are discarded.
Inactivity timeout is set to maintain the TCP connection state as Closed or Listen in TCP host mode unless there is any data transfer between the serial device and the LS100. If there is no incoming or outgoing data through the serial port during the specified inactivity timeout interval, the existing TCP connection will be closed automatically.
4.2 TCP Client Mode Operations 4.2.1 Overview The LS100 works as a TCP client, and the default TCP state is [Closed] in this mode. The remote host will be either Ethernet-Serial communication devices acting as a TCP server or a socket program acting as a TCP server running on users’...
Eventually, users can monitor the serial device periodically by making the remote host send the serial command to the LS100 whenever it is connected to the remote host. This option is useful when users need to gather the device information periodically even if the serial device does not send its data periodically.
Destination IP address and destination TCP Port are the information on the remote host to which the LS100 will try to connect in TCP client mode. The IP address (or domain name) should be specified together with the TCP port number.
2) Operations The only difference from TCP server mode is that the LS100 will try to connect and send serial data to the remote host even if the TCP session is not established. The difference from TCP client mode is that it will accept incoming connection request from remote host if the session is not established.
Page 36
listening_port = listening TCP port dest_ip = destination IP address dest_port = destination TCP port cyclic_connection_interval = cyclic connection interval in minutes inactivity_timeout = inactivity timeout in seconds. Parameter definitions for TCP server and client mode configuration are the same with TCP server mode and TCP client mode parameters.
LS100 does not support. The LS100 does not support 7 data bits, No parity, 1 stop bit configuration. In this case, the LS100 will operate as 7 data bits, No parity, 2 stop bit mode. In case the LS100 is configured as 8 data bits, Even(or Odd) parity, 2 stop bits mode, the LS100 will operate as 8 data bits, Even (or Odd) parity, 1 stop bit mode.
Page 38
If there is incoming data through the serial port, the LS100 stores data into the internal buffer. The LS100 transfers data stored in the buffer via TCP/IP, only if the internal buffer is full or if the inter-character time interval reaches to the time specified as inter-character timeout.
6: System Administration Users can configure administrator username, password and device name using set command as follows: set admin username password devicename username: login username password: login password devicename: device name Figure 7-1 shows administrative parameters configuration example: > set admin adminuser adminpassword LS100_test1 >...
White with brown Brown A.2 Serial Port Pin Outs The pin assignment of the LS100 DB9 connector is summarized in Table A-2. Each pin has a function according to the serial communication type configuration. 1 2 3 4 5 6 7 8 9 Figure A-2 Pin layout of the DB-9 connector Table A-2.
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.
C.3 Remote Console Troubleshooting Problem Cause Action Cannot connect to The LS100 is not Use serial console to assign valid IP address to the LS100 the LS100 using assigned valid IP telnet address Someone is using serial Exit serial console and retry telnet connection...
Check if IP configuration of the remote host is valid the LS100 remote host is invalid Host mode of the Change the host mode of the LS100 serial port to TCP server or LS100 serial port is not TCP server/client TCP server...
Set inter-character timeout with smaller value transferred by timeout TCP/IP immediately Cannot Invalid serial port Check if serial port configuration of the LS100 are the same with communicate with configuration that of the serial device the LS100 Invalid data Invalid serial port Check if serial port configuration is correct.
Need help?
Do you have a question about the HelloDevice LS100 and is the answer not in the manual?
Questions and answers