Eseye HERA600 Series Configuration Manual

HERA600 Series Serial Port Configuration Guide
Document Reference: 8293
4/22/2015 Eseye Ltd jlindsay
www. eseye.com
ESEYE and ESEYE Logos are registered trademarks of ESEYE LIMITED. ©2015 ESEYE Limited. All Rights Reserved 2015.
1
Contents
1 Getting started ...................................................................................................................... 2
2 Serial2ip module setup ........................................................................................................ 2
3 UDP Connection ................................................................................................................... 5
3.1 IAD 1 - 192.168.1.2 ......................................................................................................... 5
3.2 IAD 2 - 192.168.1.10 ....................................................................................................... 5
4 TCP Connection.................................................................................................................... 5
4.1 IAD 1 - 192.168.1.2 ......................................................................................................... 6
4.2 IAD 2 - 192.168.1.10 ....................................................................................................... 6
5 Additional commands/options .......................................................................................... 7
5.1 feature serial2ip set port 1 disconnecttimeout 1 ...................................................... 7
5.2 feature serial2ip set port 1 idletime 1 ......................................................................... 7
5.3 feature serial2ip set port 1 matchcharacter 65 ........................................................ 7
5.4 feature serial2ip set port 1 matchstring “testing” ..................................................... 7
5.5 feature serial2ip set port 1 deletematchstring true .................................................. 8
5.6 feature serial2ip set port 1 deletematchstring false ................................................. 8
5.7 feature serial2ip set port 1 maxbytes 100 .................................................................. 8
5.8 --> feature serial2ip show status .................................................................................. 8
5.9 --> feature serial2ip show configuration .................................................................... 8
6 The order of priority for checking the rules ....................................................................... 9
2
1 Getting started
Connect to the Hera Router using an Ethernet cable, WiFi or Cellular connection (if active) and open an ssh session by using appropriate software e.g. Putty.1
Log in at the prompt with the username ‘admin’ and password ‘admin’.
This gives command line access to the advanced features of the router.
2 Serial2ip module setup
To enable the serial feature on ports 1 and / or 2, type the appropriate commands from the list:
feature serial2ip add port 1 feature serial2ip add port 2
These commands will add the ports to the configuration. It is next necessary to configure the baudrate and number of bits for each port.
feature serial2ip set port portno baud _baud_
This command is used to set the baud rate of the port specified by the portno. e.g.
feature serial2ip set port _portno_ databits 5 feature serial2ip set port _portno_ databits 6
1
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
3
feature serial2ip set port _portno_ databits 7 feature serial2ip set port _portno_ databits 8
These commands are used to set the databits of the port specified by portno.
feature serial2ip set port _portno_ parity _parity_
This command will set the parity of the port portno.
feature serial2ip set port _portno_ stopbits _stopbits_
This command is used to set the stopbits for the port portno.
feature serial2ip set port _portno_ server _server_
This command is used to specify the url of the destination in the form of ipaddress:port you want to send the uart's data.
feature serial2ip set port _portno_ listenport _listenport_
This command is used to set the portno for the listener/server and also start the server on that port. This is the mandatory field (by default set to 0).
feature serial2ip set port _portno_ listener disable
Loading...
+ 7 hidden pages