Title: SENA
1SENA
- One-Stop Solution in Device Networking
HelloDevice Super series SS100/110/400/800
Dec, 2004
2Contents
- Overview
- Configuration Ways
- Text-based Interface
- Web-based Interface
- Features
- Operation Modes
- TCP/UDP Multiple Remote Hosts
- Security
- PC Card Support
- Data Logging
- Event Handling
- SNMP
- Dynamic Domain Name
- Customization Support
- Case Studies
- Door Access Application (Customized)
- Medical Application (Customized)
- Bridge Monitoring System
3Overview (1)
- Linux-based Open platform (kernel 2.4.2)
- Supports 1/4/8 serial port (RS232/422/485)
- 1 PCMCIA slot
- ATA flash memory, LAN/WLAN, PSTN/CDMA Modem
- Flexible host mode mode
- TCP/UDP single/multi-session support
- Primary/Secondary host support
- Powerful Security
- Industry-standard encryption support
- SSL v3, and TLS v1
- Encryption algorithm support
- 3DES, and RC4
- Flexible customization
- Linux CLI with development environment
- Source file add/modify/compile/link in 1MB user
space - Web customization
4Overview (2)
Connections
Device
Remote Host
Host (SS)
Any device with serial interface
- LAN
- Wireless (802.11b)
- PSTN
- Mobile (CDMA)
5Configuration Ways
- Text-based Interface
- Web-based Interface
6Text-based Interface
- System Console
- Telnet (port 23) or
- SSH (port 22)
- Privileges
- Admin user can access and edit configuration
parameters. - Root user can have full control on SS via CLI, in
addition to access and configuration rights.
7Web-based Interface
Web-based interface using web browsers such as
IE, Netscape and Opera
8Features
- Operation Modes
- TCP/UDP Multiple Remote Hosts
- Security
- PC Card Support
- Data Logging and Event Handling
- SNMP
- Dynamic Domain Name
- Customization Support
9Operation modes
Remote host
device
TCP/UDP socket
Remote host
DTE
TCP socket
Remote host
modem
TCP socket
DTE
modem
10TCP/UDP Multicasting
- Overview
- Configuration
- Connection
- Application Diagram
- Application Areas
11Overview
- SS supports an enhancement transmission method
"TCP/UDP multicasting", which transmits serial
device data to multiple hosts simultaneously. - Max. 32 hosts (incomingoutgoing) per one port
allowed. - Max. 16 outgoing connections (registered remote
hosts) per one port allowed - Each registered TCP host can have a backup host
- UDP host mode does not support backup host since
there is no way to check status of primary remote
host. - Multicasting feature is very useful in
application areas where user needs to transmit a
message to several display signboard devices
simultaneously.
12Configuration
- Access the SS web interface
- Choose Serial port --gt Configuration --gt Port
--gt Remote host configuration
13Connection
14Application Diagram
15Application Areas
- Applications which require Multiple data
transmission include
- LED Signboard,
- Electronic Metering,
- Any customer requiring Multiple data transmission.
16Security
- SSL Encryption Overview
- SSL Encryption Configuration
- SSL Encryption Connection
- Other Security Features
- Application Areas
17SSL Encryption Overview
- SSL creates a secure connection between a client
and a server, over which any amount of data can
be sent securely. - By setting the cryptography method as one of
SSLv2, SSLv3, SSLv3 rollback to v2 or TLSv1, the
Super Series can communicate with other device
supporting SSL/TLS cryptography method in
encrypted sessions. - SSL configuration settings are available only
when the host mode is set to TCP or Modem
Emulation mode. - SSL works by using a private key to encrypt data
that's transferred over the SSL connection.
18SSL Encryption Configuration
- Access the SS web interface
- Choose Serial port --gt Configuration --gt Port
--gt Host mode configuration - Choose Serial port --gt Configuration --gt Port
--gt Cryptography configuration
19SSL Encryption Connection
- Run SSL or TLS client application
- openssl s_client connect 192.168.0.26001 ssl3
20Other Security Features
- Serial data encryption
- 3DES, RC4
- Static Key encryption
- Secured Web interface
- HTTPS
- IP filtering
- serial port based IP filtering
- box based IP filtering
- Secured file uploading
- SCP
21Application Areas
- Applications which require more secure
communications include
- Financial,
- Retail/POS,
- Government,
- Medical, and
- Any customer requiring enhanced security to
protect sensitive information.
22PC Card Support
- Overview
- CF Memory card configuration
- Modem card configuration
- LAN card configuration
- WLAN card configuration
23Overview
- PC card types that can be added to the SS include
a serial modem, compact-flash card, wireless LAN
card, and a network LAN card.
24CF Memory card configuration
- Access the SS web interface
- Choose PC Card --gt Configuration
25Modem card configuration
- Access the SS web interface
- Choose PC Card --gt Configuration
26LAN card configuration
- Access the SS web interface
- Choose PC Card --gt Configuration
27WLAN card configuration
- Access the SS web interface
- Choose PC Card --gt Configuration
28Data Logging and Event Handling
- Overview
- Data Logging Configuration
- Data Event Handling Configuration
- Data Event Handling Test
29Overview
- The SS can capture all system and port data, and
save it into a log file. This buffer can be
viewed from the web, saved to memory, or saved to
a Flash Card, syslog server or NFS server. - System logs track events such as logins,
authentication failures, system configuration
changes, and more. - Port logs document the data flow through the SS
serial ports. - In addition, the SS can be configured for system
alerts and notifications. It can send email
messages when an alarm message is detected in the
serial port data. - The SS uses SMTP for sending email notifications
and SNMP for trap alerts.
30Data Logging Configuration
- Access the SS web interface
- Choose Serial port --gt Configuration --gt Port
--gt Port logging
31Data Event Handling Configuration
- Access the SS web interface
- Choose Serial port --gt Configuration --gt Port
--gt Port logging
32Data Event Handling Test
- Event Handling via SNMP browser and SMTP email
33SNMP
- Overview
- Configuration
- Connection
34Overview
- SS supports SNMP that provides status and
performance of connected serial devices through
their Ethernet connections. - Applications such as NMS or an SNMP browser can
exchange information with the SS. - The SS supports SNMP authentication, Login, and
Link up traps. - The SS supports both versions 1 and 2 of the SNMP
protocol and delivers the System and Port alerts
as traps.
35Configuration
- Access the SS web interface
- Choose Network --gt SNMP configuration
36Connection
- Authentication, Login, and Link up traps in Kiwi
SNMP browser
37Dynamic Domain Name
- Overview
- Configuration and Connection
38Overview
- Dynamic DNS Protocol enables users to access the
SS via a domain name for floating IP environments
such as DSL line and DHCP. - To use this service, users must set-up an account
in Dynamic DNS Network Services and add domain
name, user name and password on the SS DDNS
configuration page. - Whenever user reboots the SS in floating IP
environments, it sends updated IP address to
Dynamic DNS Network Services.
39Configuration and Connection
- Access the SS web interface
- Choose Network --gt Dynamic DNS configuration
- Access the SS web interface and use domain name
- For e.g., ismdemo.dyndns.biz
40Customization Support
- Overview
- User Web Customization - HTML pages
- User Web Customization CGI Java pages
- Serial Filter Application
41Overview
- Web customization options
- Plain HTML files
- CGI written in C
- User application implementation
- Filter applications in C
- Other applications in C or shell scripts
- To quickly develop custom applications that run
on the HelloDevice Super Series, SDK (Software
Development Kit) is needed. - SS SDK is a 256MB CF card composed of executable
binaries (including gcc), header files, and
library files. - Executable binaries run on SS (MPC855T Linux)
- Header files and Library files are compatible
with SS platform - With SS SDK, users can compile their own C/C
source code to run on SS without installing
cross-compile utilities on their PC.
42User Web Customization - HTML pages (1/3)
Preparation
- If you are using Windows, using SCP (secure copy
protocol) client tools for Windows will be handy
for file transfer from/to SS - Winscp (GUI)
- Download _at_ http//winscp.sourceforge.net/eng/
- Install as other applications
- Pscp (command line interface)
- Download pscp.exe _at_ http//www.chiark.greenend.org
.uk/sgtatham/putty/download.html - Copy pscp.exe into C\Windows directory
43User Web Customization - HTML pages (2/3)
Running User HTML file
- Prepare index.html file and other related files
(e.g. index.html and webtest.swf) - Just copy the files to SS, /usr2/usrweb directory
using SCP tools (e.g. winscp) and it will work!
44User Web Customization - HTML pages (3/3)
Browsing SS User Web Pages
45User Web Customization CGI Java pages (1/3)
Preparation Recognizing SDK Card
- After recognition, SDK is mounted on /mnt/flash/
directory
root_at_192.168.0.15 editconf -------------------
--------------------------------------------------
--------- Welcome to SS-110 configuration page
IP mode DHCP IP
address 192.168.0.15 ---------------------------
--------------------------------------------------
- Select menu 1. Network configuration
ltEntergt Refresh ---gt 3 ---------------------------
--------------------------------------------------
- PC Card configuration -------------------------
--------------------------------------------------
--- Currently configured PC card (none)
Select menu 1. Change card configuration 2.
Stop the card service to disable or remove card
3. Probe a new card ltESCgt Back, ltEntergt
Refresh ---gt 3 Do you want to probe a new pc
card? (y/n) y A new PC card is discovered.
--------------------------------------------------
---------------------------- PC Card
configuration ------------------------------------
------------------------------------------
Currently configured PC card ATA/IDE fixed disk
card Model SanDisk SDP 5/3 0.6 Size 257 MB
File system ext2 ---gt ------------------------
--------------------------------------------------
---- Welcome to SS-110 configuration page
------------------------------------------------
------------------------------ Select menu 1.
Network configuration 6. Exit without
saving 7. Exit and apply changes 8. Exit and
reboot ltEntergt Refresh ---gt 7 Are you sure to
save changes? (y/n) y Saving.. Configuration is
saved successfully Are you sure to apply changes?
(y/n) y Applying........ Configuration is
applied successfully
46User Web Customization CGI Java pages (2/3)
Compiling and Copying files
- Make working directory such as /mnt/flash/work
- Copy cgi source file (e.g. ex.c) into the working
directory - Compile .c file with the option of
L/mnt/flash/lib (Library path) - Copy .cgi binary file to /usr2/cgi-bin/
directory - Copy index.html that has CGI link in it to
/usr2/usrweb/ directory
47User Web Customization CGI Java pages (3/3)
Sample CGI Source file and Output
root_at_192.168.0.15/mnt/flash/work cat
ex.c include ltstdio.hgt include
ltstdlib.hgt include ltstring.hgt main(int argc,
int argv) printf("Content-type
text/html\n\n") printf("lthtmlgt")
printf("ltbody bgcolor\"0000C0\"gt")
printf("ltbgtltfont color\"FF0000\"gtThis is a
sample CGI pagelt/fontgtlt/bgt\ n")
printf("lt/bodygt") printf("lt/htmlgt\n")
fflush(stdout) root_at_192.168.0.15/mnt/fla
sh/work gcc -o ex.cgi ex.c -L/mnt/flash/lib root_at_
192.168.0.15/mnt/flash/work cp ex.cgi
/usr2/cgi-bin/ root_at_192.168.0.15/mnt/flash/work
48Serial Filter Application (1/4)
SS Serial Filter Structure
- Users just need to write filter application only
to customize serial port application rather than
writing whole source code - Typical situation for serial application
customization - Add/remove protocol header
- Periodically check serial device
49Serial Filter Application (2/4)
Sample file
- Location /mnt/flash/sample/filter
- periodic_filter.c
- Periodic query of the serial device application
might start from here - empty_filter.c
- Do nothing. Adding/removing header application
might start from here
50Serial Filter Application (3/4)
How to
- Log into the SS (Telnet or SSH)
- Copy sample file from SDK to working directory
(e.g. /mnt/flash/work) - Compile source file (Be careful with compile
options)gcc -o myfilter myfilter.c
-L/mnt/flash/lib lpthread - Copy compiled binary to /usr2 directory
- Specify filter application and arguments using
configuration web or menu configuration
51Serial Filter Application (4/4)
Sample Filter and Output
root_at_192.168.0.15/mnt/flash/work cp
/mnt/flash/sample/filter/periodic_filter.c
./myfilter.c root_at_192.168.0.15/mnt/flash/work
gcc -o myfilter myfilter.c -L/mnt/flash/lib
-lpthread root_at_192.168.0.15/mnt/flash/work cp
myfilter /usr2 root_at_192.168.0.15/mnt/flash/work
editconf ---------------------------------------
--------------------------------------- Serial
port configuration - Port 1 --gt Filter
application --------------------------------------
---------------------------------------- Select
menu 1. Filter application path name
/bin/ss.filter 2. Filter application
arguments ltESCgt Back, ltEntergt Refresh ---gt 1
Enter a filter application full path name(ex
/bin/filter) ---gt /usr2/myfilter ----------------
--------------------------------------------------
------------ 1. Filter application path
name /usr2/myfilter 2. Filter application
arguments ltESCgt Back, ltEntergt Refresh ---gt 2
Enter filter application arguments ---gt 'You will
see this msg every 1 sec' 1
52Case Studies
- Door Access Application (Customized)
- Medical Application (Customized)
- Bridge Monitoring System
53Door Access Application (Customized)
54Door Access Application (Customized)
- Target Device RF-ID Card Reader
- Application Details
- Customer has added a user customized filtering
program that transmits only needed serial-based
RF's to the management station through the SS110. - As a result, the time that is required to process
visitors door access requests has been
dramatically minimized. - Why SS instead of the PS?
- Fast response required ? Local protocol parser
application is required on the SS to reduce the
network traffic
55Bridge Monitoring System
System Architecture
56Bridge Monitoring System
- Target Device Gage length deformation sensors
on a Railway Bridge - Application Details
- Long gage length deformation sensors (GPS) that
are installed throughout a railway bridge to gain
actionable information from the bridge - Why SS110?
- Powerful logging capability (Syslog server)
- Wireless LAN thru PCMCIA slot
57Medical Application
- Target Device Medical Monitoring Device
- Application Details
- Serial based medical devices are connected to
Ethernet using the SS400/800 - Medical devices are reset remotely by sending
serial-break signal thru the SS - Serial-break feature is implemented using the
SS customization feature
58Contact SENA
- SENA Technologies, Inc.
- info_at_sena.com
- Phone82-2-529-7025
- Fax 82-2-573-7710
- Web Address http//www.sena.com
- 210 Yangjae-dong Seocho-gu
- Seoul 137-130, South Korea