HelloDevice Pro Series User Guide PS100/PS200/PS400 Version 1.0.
User Guide for the HelloDevice Pro Series Version 1.0.7 Firmware version 1.2.* 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. 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.
Contents 1: Introduction 6 1.1 Overview .....................................................................................................................................6 1.2 Package Check List ....................................................................................................................7 1.3 Product Specification...................................................................................................................8 1.4 Terminologies and acronyms .....................
.1.5 UDP tunneling mode operations ..................................................................................... 38 4.1.6 UDP server mode operations.......................................................................................... 39 4.1.7 Modem emulation mode operations ............................................................................... 40 4.2 UART configuration ...................................................................................................................
A.4 Serial Wiring Diagram ............................................................................................................... 63 Appendix B: Well-known port numbers Appendix C: Troubleshooting 65 66 C.1 Power/LED status troubleshooting ........................................................................................... 66 C.2 Serial console troubleshooting ................................................................................................. 66 C.
1: Introduction 1.1 Overview The HelloDevice Pro Series allows you to network -enable a variety of serial devices that were not originally designed for networking. This capability brings the advantages of remote management and data accessibility to thousands of serial devices over the network. The PS100 is a versatile single-port serial-Ethernet communication device. The PS200 and PS400 are two-port and four-port serial-Ethernet communication devices respectively expanding the capabilities of the PS100.
1.
1.
1.4 Terminologies and acronyms The Internetworking related terminologies used frequently in this manual are defined clearly to help your better understanding of the HelloDevice Pro Series. 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-1 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 PPP Poi
2: Getting Started This chapter describes how to set up and configure the HelloDevice Pro Series in the first place. - 2.1 Panel Layout explains the layout of the panel and LED indicators. - 2.2 Connecting the Hardware describes how to connect the power, the network, and the serial device to the HelloDevice Pro Series. - 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.
Figure 2-1. The panel layout of the PS100 Table 2-1. LED indicator lamps of the PS100 Lamps 10 Base-T LINK Rx/Tx Serial port Rx/Tx Status Ready Power Function Turned on to Green if connected to 10 Base-T Ethernet network Blink whenever there is any activities such as incoming or outgoing packets through the PS100 Ethernet port Blink whenever there is any incoming or outgoing data stream through the serial port of the PS100 Turned on to GREEN if system is running.
(a) The front panel of the PS200 (b) The rear panel of the PS200 Figure 2-2. The panel layout of the PS200 Table 2-2.
(a) The front panel of the PS400 (b) The rear panel of the PS400 Figure 2-3. The panel layout of the PS400 Table 2-3.
2.2 Connecting the Hardware This section describes how to connect the HelloDevice Pro Series to serial devices for the first time test. - Connect the power to the HelloDevice Pro Series - Connect the Ethernet cable between the HelloDevice Pro Series and Ethernet hub or switch - Connect the serial data cable between the HelloDevice Pro Series and serial device(s) 2.2.1 Connecting the power Connect the power jack to the HelloDevice Pro Series power jack using DC power adapter included in the package.
(a) Connecting a network cable to the PS100 (b) Connecting a network cable to the PS200/400 Figure 2-5. Connecting a network cable to the HelloDevice Pro Series 2.2.3 Connecting to the device Connect the serial data cable between the HelloDevice Pro Series and the serial device. If necessary, supply the power to the serial device attached to the HelloDevice Pro Series. (a) Connecting a serial device to the PS100 (b) Connecting a serial device to the PS200/400 Figure 2-6.
2.3. Accessing Console Port There are two ways to access console port of the HelloDevice Pro Series 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 HelloDevice Pro Series using serial console cable (null-modem cable). - Remote console: Remote users can make a telnet connection to the remote console port (port 23) of the HelloDevice Pro Series via TCP/IP network.
2) Connect the other end of the cable to the serial port of user’s computer. 3) Run a terminal emulator program such as HyperTerminal. Set up the serial configuration parameters of the terminal emulation program as follows: 9600 Baud rate, Data bits 8, Parity None, Stop bits 1, Hardware flow control (RTS/CTS) 4) Press [ENTER] key. 5) Type the user name and password to log into the HelloDevice Pro Series. A factory default setting of the user name and password are both admin.
2.3.2 Using Remote console The IP address of the HelloDevice Pro Series must be known before users can access the remote console port (See IP Address Configuration in chapter 3 for details). Remote console access function is optional, and can be disabled in the remote access option on the menu (See Remote Host Access Control in section 5.1 for details). This is useful when system administrator does not want others to modify the existing configuration.
Welcome to PS-400 Configuration Console#1 (Serial) : Not Connected Console#2 (Telnet) : Available (NULL) Console#3 (Telnet) : Available (NULL) Console#4 (Telnet) : Established (192.168.0.16) login : admin Password : ***** Figure 2-10. Users’logging into the HelloDevice Pro Series (PS400) 3) If the user logged into the HelloDevice Pro Series successfully, the same main menu screen as the one of serial console will be displayed.
3: IP Address Configuration A valid IP address of the HelloDevice Pro Series 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 HelloDevice Pro Series will not have a valid connection to the network. Users can choose the desired IP mode out of the three IP operating modes, i.e.
3.1.2 IP address In the Static IP mode, the IP address is an identification number assigned to a computer as a permanent address on the network. Computers use IP addresses to identify and talk to each other on the network. Choose the proper IP address which is unique and valid on the network environment. ---> 2 Enter IP address: 192.168.1.100[ENTER] Figure 3-2. Setting the IP address in Static IP mode Note: The IP address in the form of 192.168.1.
communicate with the hosts outside the local network environment. For correct information on the gateway IP address, please refer to the network administrator. ---> 4 Enter default gateway: 192.168.1.1[ENTER] Figure 3-4. Setting the default gateway in Static IP mode 3.1.4 Primary and Secondary DNS When users want to visit certain website, the computer asks a Domain Name System (DNS) server for the correct IP address of the web site, and the computer uses the answer to connect to the web server.
servers will be automatically configured when the IP address is assigned in DHCP mode. DHCP uses the concept of a "lease" or amount of time for which a given IP address will be valid for a computer. All the parameters required to assign an IP address are configured on DHCP server side, and each DHCP client computer receives this information when the IP address is provided at its boot-up.
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. PPPoE can be used to have an office or building-full of users share ADSL, cable modem, or wireless connection to the Internet. Usually, it is used in broadband Internet access such as ADSL.
3.3.2 PPPoE setting To make the HelloDevice Pro Series work in PPPoE mode, users need to configure the PPPoE username and password for their ADSL account. --------------------------------------------------------------------------IP configuration --------------------------------------------------------------------------Select menu 1. IP mode : PPPoE 2. Change PPPoE username : whoever 3.
4: Serial Port Configuration Serial port configuration screen can be reached through menu 2 in the main menu screen. Serial port configuration menu contains four groups of the parameters such as Host mode configuration, UART configuration, Cryptography configuration and additional options for serial data communication. Users need to set up all those parameters for each serial port considering the serial device that will be hooked up to the serial port.
--------------------------------------------------------------------------Serial configuration --> port #1 --------------------------------------------------------------------------Select menu 1. Host mode configuration 2. UART Configuration 3. Cryptography Configuration 4. Option Back, Refresh -----> Figure 4-2. Initial screen for each serial port configuration Table 4-1.
4.1 Host mode configuration 4.1.1 Overview Host mode represents the operating session mode of the HelloDevice Pro Series. Several host modes are available for the data communication between serial devices and remote hosts. Since TCP is connection-oriented protocol, server, client, server/client modes are provided. Other than those TCP based modes, UDP mode is provided for connectionless communication.
A factory default host mode is TCP Server, and users can select the mode by using the menu, Serial Port Configuration–host mode Configuration–Host mode. --------------------------------------------------------------------------serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------Select menu 1. Host mode : TCP Server 2.
- Data When it is in [Established] state, data from a host will be transferred to the other one. For easier understanding of the TCP session operation, we called the state as [Data] state when actual data transfer is performed. Actually, the [Data] mode is a part of [Established] state as is described in the RFC 793 [Transmission Control Protocol]. This is a normal state for the data transfer phase of the connection. 4.1.
IP address filtering The HelloDevice Pro Series will not accept the incoming connection request from the remote hosts which are not in the host list (See Remote Host Access Control in section 5.1 for details). Figure 4-4 shows the State Transition Diagram of the session operations in TCP server mode.
--------------------------------------------------------------------------serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------Select menu 1. Host mode : TCP Server 2. Local port : 6000 Back, Refresh -----> 2 Enter local port number : 6001 Figure 4-5. Changing Local TCP Port number 4.1.3 TCP client mode operations The HelloDevice Pro Series works as a TCP client, and the default TCP state is [Closed] in this mode.
or when no data transfer activity is found through the serial port for certain amount of time, which is “Inactivity timeout” (See Options in section 4.4 for details on Inactivity timeout). All the data remained in the serial port buffer will be cleared when it is disconnected. Connection request from remote host All the incoming TCP connection requests will be rejected in 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 HelloDevice Pro Series will try to connect in TCP client mode. The IP address (or domain name) should be specified together with the TCP port number. To specify the information on the remote host, select menu 2 on the TCP Client mode configuration screen. The format of remote host information is as follows. [IP address (or domain name)]:[TCP Port number] e.g.) 211.116.20.
--------------------------------------------------------------------------serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------Select menu 1. Host mode : TCP Client 2. Destination IP & port : 192.168.1.200:6001 3.
mode. See section 4.1.2 and 4.1.3 for more details on each session mode. TCP connection request rejected Or internal TCP time-out Sync-Sent In-coming TCP Close request TCP connection request accepted Inactivity time-out Incoming data via serial port Data Established Incoming data from remote host Closed Accept Reject Listen Sync-Recvd Incoming TCP connection request Incoming data via serial port Figure 4-9.
--------------------------------------------------------------------------serial configuration -->port#1 --> TCP/IP --------------------------------------------------------------------------Select menu 1. Host mode : TCP Server & client 2. Local port : 6000 3. Destination IP & port : 192.168.1.200:6001 4. Cyclic connection : 10 Min Back, Refresh -----> Figure 4-10. Set up parameters for TCP server/client mode 4.1.
3. Destination IP & port : 192.168.1.200:6001 Back, Refresh -----> Figure 4-11. Set up parameters for UDP tunneling mode 4.1.6 UDP server mode operations While UDP tunneling mode allows only one remote host for UDP communications, UDP server mode allows any remote host to access the HelloDevice Pro Series.
4.1.7 Modem emulation mode operations In modem emulation mode, the serial port process acts as if it is a modem attached to the serial device. It accepts AT modem commands and answers to them, as modems would do. It also handles the modem signals correctly. Modem emulation mode is useful in the following cases. - There already exists a modem attached to the users’serial device.
ATEn E, E0: Disable echo E1: Enable echo ATHn H, H0, H1: Disconnect current TCP connection All the data will be cleared ATOn O, O0: Turn to data mode ATQn Q, Q0: Response display on (default) Q1: Response display off ATVn V, V0: Response = [CR][LF] V1 (default): Response = [CR][LF] AT&Dn D, D0: ignore DTR(PC) signal D2(default): disconnect TCP session AT&Fn F, F0, F1: Restore default modem settings AT&Kn K, K0: No flow control K3: RTS/CTS flow control (default) K
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-13.
configuration-UART configuration menu screen. --------------------------------------------------------------------------Serial configuration --> port#1 ---> UART --------------------------------------------------------------------------Select menu 1. Type : RS232 2. Baud rate : 9600 3. Data bits : 8 4. parity : None 5. Stop Bits : 1 6. Flow control : Hardware 7. DTR behavior : Always High 8. DSR behavior : None Back, Refresh -----> Figure 4-15. UART configuration menu screen 4.2.
Figure 4-16. Set up Serial communication type 4.2.2 Baud rate The valid baud rate for the HelloDevice Pro Series is as follows. 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600 and 115200 The baud rate can be changed by selecting the menu of Serial port configuration-UART configuration–Baud rate. --------------------------------------------------------------------------Serial configuration --> port#1 ---> UART --------------------------------------------------------------------------Select menu 1.
) Figure 4-18. Set up the data bits, stop bits, parity 4.2.4 Flow control The factory default setting of the flow control is None. Only hardware flow control using RTS/CTS is supported by the HelloDevice Pro Series. Hardware flow control method controls data communication flow by sending signals back and forth between two connected devices. Note: Flow control is supported only in RS232 mode. RS422 and RS485 mode do not support any kind of flow control method in hardware or software.
whereas the low state close a connection. Allow TCP connection only by HIGH is valid only if host mode is TCP server or equivalent. If this option is set, the incoming TCP connection request will be accepted only when the DSR signal is high state. -----> 7 Select DTR output behavior 1 = Always HIGH 2 = Always LOW 3 = Show TCP connection (HIGH while connected) ---> Figure 4-20.
Figure 4-22. Set up the cryptography method and cryptography key string 4.4 Options 4.4.1 Inactivity timeout The purpose of this parameter is to maintain the TCP connection state as Closed or Listen in TCP host modes or to close UDP virtual connection in UDP server mode unless there is any data transfer between the serial device and the HelloDevice Pro Series.
10 (bits) / 1200 (bits/s) * 1000 (ms/s) = 8.3 ms. Therefore, you have to set inter-character timeout to be larger than 8.3 ms. The inter-character timeout is specified in milliseconds and must be larger than 10 ms.
5: Advanced Options Configurations With advanced options, you can configure remote host access control, locating server configuration and manual DNS server settings. Table 5-1 shows the hierarchical view of advanced options. --------------------------------------------------------------------------Advanced options --------------------------------------------------------------------------Select menu 1. Remote host access control 2. Manual DNS configuration for DHCP & PPPoE 3.
5.1.1 Configuration access The HelloDevice Pro Series remote console access feature can be enabled or disabled by selecting submenu 1.Remote configuration by Telnet. Factory default setting of this feature is “Enabled”. If the remote configuration feature is enabled, you can specify a host or hosts allowed to access the HelloDevice Pro Series for configuration by selecting submenu 2.Allowed remote hosts for configuration.
-----> 2 (or 3, 4, 5, 6) Enter IP address or network of hosts allowed to access Format) IP-address/subnet-mask Ex1) 192.168.1.0/255.255.255.0 to allow hosts of 192.168.1.* Ex2) 192.168.1.99/255.255.255.255 to allow hosts of 192.168.1.99 Ex3) 0.0.0.0 / 0.0.0.0 to allow any remote host -----> 192.168.0.0/255.255.0.0 Figure 5-3. Set up the serial port access option 5.
HelloDevice Pro Series can be configured to send its IP address information whenever it is assigned a new IP address or periodically to a specific server called locating server. You can operate a specific host as your locating server or you can use your client host as a locating server simultaneously. No special library or toolkit to implement locating server is provided. You have to implement your program by yourself using the protocol provided below or contact us. 5.3.
5.3.
6: System Status and Log The HelloDevice Pro Series provides system status display and log data display for management. System status includes Ethernet status and status of each serial port. In addition, the HelloDevice Pro Series can be configured to deliver log data automatically by email to a specific recipient. Users can use or configure these features by selecting menu 3.System status & log in the main menu screen.
F/W REV. : V1.00 MAC Address : 00-01-95-04-04-33 Cur Status : Running Current time : 2038/05/10 04:34:10 --------------------------------------------------------------------------IP information --------------------------------------------------------------------------IP Mode : Static IP Expiration : N/A IP Address : 192.168.2.100 Subnetmask : 255.255.0.0 Gateway : 192.168.1.1 Receive/Transmit errors : N/A Primary DNS : 211.172.129.198 Secondary DNS : 211.172.129.
information such as number of logs to be sent, SMTP server, log recipient’s mail address and device mail address. The device mail address specifies sender’s mail address for the log delivery email. Almost every SMTP servers check sender’s mail address with host domain name’s validity only. Consequently, for the device mail address, you can use arbitrary username with registered hostname such as arbitrary_user@yahoo.com or anybody@sena.com.
7: System administration Users can configure system administration parameters by selecting menu 4.System administration in the main menu screen. In this menu, users can configure administrator username, password, current date and time information. 7.1 User name and password Users can change the administrator’s username and password as they want. The maximum character length for the both is 31. The default settings of username and password are both “admin”.
7.2 Date and time settings The HelloDevice Pro Series has current date and time information, which is backed up by internal battery power. Users can change current date and time by selecting submenu 3 or 4. --------------------------------------------------------------------------User Administrator --------------------------------------------------------------------------Select menu 1. Administrator username : root 2. Administrator password : **** 3. Device name : PS200 Device 4. Date : 2038/05/10 5.
8: System tools The HelloDevice Pro Series provides administrative functions by console such as factory default settings restore, firmware upgrade and ping test. These functions can be found in 6. System tools in the main menu. ------------------------------------------------------------------------------System tools ------------------------------------------------------------------------------Select menu 1. Reload factory default settings 2. Reload factory default settings except IP setting 3.
3) Select firmware upgrade menu. 4) Follow the step as guided by online messages. -----> 3 Are you sure to start firmware upgrade ? (y/n) : y Preparing for firmware upgrade. Wait a moment... Transfer firmware by zmodem using your terminal application. **B01ff000005b157 Figure 8-2. Firmware upgrade display Figure 8-3 Transfer binary file by Zmodem (HyperTerminal) 5) If firmware is upgraded successfully, the HelloDevice Pro Series will reboot automatically.
8.3 Ping test You can test your network configuration by sending ICMP echo messages (ping) to remote hosts in 4.Ping Test menu. Figure 8-5 shows how to use ping test function to check network connection. -----> 4 Enter IP Address or Hostname to ping : 192.168.1.1 to 192.168.1.1 pining 4times.. Receive time = 1 ms Sequence num = 0 Receive time = 1 ms Sequence num = 1 Receive time = 1 ms Sequence num = 2 Receive time = 1 ms Sequence num = 3 Figure 8-5 Ping test screen 8.
Appendix A: Connections A.1 Ethernet Pin outs The HelloDevice Pro Series uses 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 Rx+(1) Rx-(2) Tx+(3) Tx-(6) Rx+(1) Rx-(2) Tx+(3) Tx-(6) Figure A-3 Ethernet direct connection using crossover ethernet cable HelloDevice Hub Rx+(1) Rx-(2) Tx+(3) Tx-(6) Rx+(1) Rx-(2) Tx+(3) Tx-(6) Remote Host Rx+(1) Rx-(2) Tx+(3) Tx-(6) Rx+(1) Rx-(2) Tx+(3) Tx-(6) Figure A-4 Ethernet connection using straight through Ethernet cable A.
RS485 Data-(1) Data- 120 Ω HelloDevice DeviceN 120 Ω N=max 31 Data+(9) Data+ Data- Data+ Device1 Data- … Data+ DeviceN-1 Figure A-6 RS485 wiring diagram RS422 Tx-(1) Rx- 120 Ω 120 Ω Tx+(9) Rx+ DeviceN Rx-(3) Tx- N=max31 HelloDevice 120 Ω 120 Ω Rx+(4) Tx+ Rx- Rx+ Tx- Tx+ Device1 … Rx- Rx+ Tx- Tx+ DeviceN-1 Figure A-7 RS422 wiring diagram 64
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.
Maximum number of remote consoles already established Cannot login to console Retry after one of the other remote consoles is finished. Invalid username and/or Use valid username and password. If username and/or password password are lost, perform factory default reset using factory reset switch. Factory default value of username and password are both admin C.
The HelloDevice Pro Series is configured to reject IP address of the PC Change the remote host access control parameter using serial or remote console to allow the IP address of the PC TCP connection with the other host is established already Close established TCP connection or connect later C.