www.sena.com sena dec, 2004 hellodevice super series ss100/110/400/800 one-stop solution in device...
TRANSCRIPT
![Page 1: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/1.jpg)
www.sena.comwww.sena.com
SENA
Dec, 2004
HelloDevice Super seriesSS100/110/400/800
One-Stop Solution in Device Networking
![Page 2: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/2.jpg)
2
www.sena.comwww.sena.com
Contents 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
![Page 3: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/3.jpg)
3
www.sena.comwww.sena.com
Overview (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
![Page 4: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/4.jpg)
4
www.sena.comwww.sena.com
Overview (2)
Remote Host Host (SS) Device
• LAN
• Wireless (802.11b)
• PSTN
• Mobile (CDMA)
• RS-232
• RS-422
• RS-485
Any device with serial interface
Connections
![Page 5: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/5.jpg)
www.sena.comwww.sena.com
Configuration Ways
1. Text-based Interface2. Web-based Interface
![Page 6: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/6.jpg)
6
www.sena.comwww.sena.com
1. System Console2. Telnet (port 23) or3. SSH (port 22)
Text-based Interface
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.
![Page 7: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/7.jpg)
7
www.sena.comwww.sena.com
Web-based interface using web browsers such as IE, Netscape and Opera
Web-based Interface
![Page 8: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/8.jpg)
www.sena.comwww.sena.com
Features
1. Operation Modes2. TCP/UDP Multiple Remote Hosts3. Security4. PC Card Support5. Data Logging and Event Handling6. SNMP7. Dynamic Domain Name8. Customization Support
![Page 9: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/9.jpg)
9
www.sena.comwww.sena.com
Operation modesVarious operation modes
•TCP/UDP
device
Remote host
•modem emulation
modem
DTE
TCP/UDP socket
Remote host
TCP socket
DTEmodem
Remote host
TCP socket
•Dial-in/out mode
![Page 10: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/10.jpg)
www.sena.comwww.sena.com
TCP/UDP Multicasting
1. Overview2. Configuration3. Connection4. Application Diagram5. Application Areas
![Page 11: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/11.jpg)
11
www.sena.comwww.sena.com
Overview• SS supports an enhancement transmission method "TCP/UDP
multicasting", which transmits serial device data to multiple hosts simultaneously.
• Max. 32 hosts (incoming+outgoing) 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.
![Page 12: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/12.jpg)
12
www.sena.comwww.sena.com
Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Remote host configuration
![Page 13: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/13.jpg)
13
www.sena.comwww.sena.com
Connection
![Page 14: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/14.jpg)
14
www.sena.comwww.sena.com
Application Diagram
![Page 15: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/15.jpg)
15
www.sena.comwww.sena.com
Application AreasApplications which require Multiple data transmission include:
• LED Signboard,• Electronic Metering,• Any customer requiring Multiple data transmission.
![Page 16: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/16.jpg)
www.sena.comwww.sena.com
Security
1. SSL Encryption: Overview2. SSL Encryption: Configuration3. SSL Encryption: Connection4. Other Security Features5. Application Areas
![Page 17: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/17.jpg)
17
www.sena.comwww.sena.com
SSL 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.
![Page 18: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/18.jpg)
18
www.sena.comwww.sena.com
SSL Encryption: Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Host mode configuration
– Choose Serial port --> Configuration --> Port # --> Cryptography configuration
![Page 19: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/19.jpg)
19
www.sena.comwww.sena.com
SSL Encryption: Connection
• Run SSL or TLS client application– openssl s_client –connect 192.168.0.2:6001 –ssl3
![Page 20: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/20.jpg)
20
www.sena.comwww.sena.com
Other 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
![Page 21: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/21.jpg)
21
www.sena.comwww.sena.com
Application AreasApplications which require more secure communications include:
• Financial,• Retail/POS,• Government,• Medical, and• Any customer requiring enhanced security to protect sensitive
information.
![Page 22: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/22.jpg)
www.sena.comwww.sena.com
PC Card Support
1. Overview2. CF Memory card configuration3. Modem card configuration4. LAN card configuration5. WLAN card configuration
![Page 23: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/23.jpg)
23
www.sena.comwww.sena.com
Overview
• 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.
![Page 24: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/24.jpg)
24
www.sena.comwww.sena.com
CF Memory card configuration• Access the SS web interface
– Choose PC Card --> Configuration
![Page 25: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/25.jpg)
25
www.sena.comwww.sena.com
Modem card configuration• Access the SS web interface
– Choose PC Card --> Configuration
![Page 26: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/26.jpg)
26
www.sena.comwww.sena.com
LAN card configuration• Access the SS web interface
– Choose PC Card --> Configuration
![Page 27: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/27.jpg)
27
www.sena.comwww.sena.com
WLAN card configuration• Access the SS web interface
– Choose PC Card --> Configuration
![Page 28: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/28.jpg)
www.sena.comwww.sena.com
Data Logging and Event Handling
1. Overview2. Data Logging Configuration3. Data Event Handling Configuration4. Data Event Handling Test
![Page 29: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/29.jpg)
29
www.sena.comwww.sena.com
Overview
• 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.
![Page 30: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/30.jpg)
30
www.sena.comwww.sena.com
Data Logging Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Port logging
![Page 31: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/31.jpg)
31
www.sena.comwww.sena.com
Data Event Handling Configuration• Access the SS web interface
– Choose Serial port --> Configuration --> Port # --> Port logging
![Page 32: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/32.jpg)
32
www.sena.comwww.sena.com
Data Event Handling Test• Event Handling via SNMP browser and SMTP email
![Page 33: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/33.jpg)
www.sena.comwww.sena.com
SNMP
1. Overview2. Configuration3. Connection
![Page 34: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/34.jpg)
34
www.sena.comwww.sena.com
Overview
• 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.
![Page 35: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/35.jpg)
35
www.sena.comwww.sena.com
Configuration• Access the SS web interface
– Choose Network --> SNMP configuration
![Page 36: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/36.jpg)
36
www.sena.comwww.sena.com
Connection• Authentication, Login, and Link up traps in Kiwi SNMP browser
![Page 37: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/37.jpg)
www.sena.comwww.sena.com
Dynamic Domain Name
1. Overview2. Configuration and Connection
![Page 38: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/38.jpg)
38
www.sena.comwww.sena.com
Overview
• 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.
![Page 39: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/39.jpg)
39
www.sena.comwww.sena.com
Configuration and Connection• Access the SS web interface
– Choose Network --> Dynamic DNS configuration
• Access the SS web interface and use domain name• For e.g., ismdemo.dyndns.biz
![Page 40: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/40.jpg)
www.sena.comwww.sena.com
Customization Support
1. Overview2. User Web Customization - HTML pages3. User Web Customization – CGI & Java pages4. Serial Filter Application
![Page 41: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/41.jpg)
41
www.sena.comwww.sena.com
Overview• 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.
![Page 42: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/42.jpg)
42
www.sena.comwww.sena.com
• 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 @ http://winscp.sourceforge.net/eng/– Install as other applications
• Pscp (command line interface)– Download pscp.exe @
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
– Copy pscp.exe into C:\Windows directory
Preparation
User Web Customization - HTML pages (1/3)
![Page 43: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/43.jpg)
43
www.sena.comwww.sena.com
• 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!
Running User HTML file
User Web Customization - HTML pages (2/3)
![Page 44: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/44.jpg)
44
www.sena.comwww.sena.com
User Web Customization - HTML pages (3/3)
Browsing SS User Web Pages
![Page 45: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/45.jpg)
45
www.sena.comwww.sena.com
[email protected]:~# editconf
------------------------------------------------------------------------------ Welcome to SS-110 configuration page … IP mode: DHCP IP address: 192.168.0.15------------------------------------------------------------------------------ Select menu: 1. Network configuration … <Enter> Refresh---> 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 <ESC> Back, <Enter> Refresh---> 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 …--->------------------------------------------------------------------------------ Welcome to SS-110 configuration page …------------------------------------------------------------------------------ Select menu: 1. Network configuration … 6. Exit without saving
7. Exit and apply changes 8. Exit and reboot <Enter> Refresh---> 7Are you sure to save changes? (y/n): ySaving..Configuration is saved successfullyAre you sure to apply changes? (y/n): yApplying........Configuration is applied successfully
• After recognition, SDK is mounted on /mnt/flash/ directory
User Web Customization – CGI & Java pages (1/3)
Preparation: Recognizing SDK Card
![Page 46: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/46.jpg)
46
www.sena.comwww.sena.com
• 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
User Web Customization – CGI & Java pages (2/3)
Compiling and Copying files
![Page 47: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/47.jpg)
47
www.sena.comwww.sena.com
[email protected]:/mnt/flash/work# cat ex.c#include <stdio.h>#include <stdlib.h>#include <string.h>
main(int argc, int *argv[]){ printf("Content-type: text/html\n\n"); printf("<html>"); printf("<body bgcolor=\"#0000C0\">"); printf("<b><font color=\"#FF0000\">This is a sample CGI page</font></b>\n"); printf("</body>"); printf("</html>\n"); fflush(stdout);}[email protected]:/mnt/flash/work# gcc -o ex.cgi ex.c -L/mnt/flash/[email protected]:/mnt/flash/work# cp ex.cgi /usr2/cgi-bin/[email protected]:/mnt/flash/work#
User Web Customization – CGI & Java pages (3/3)
Sample CGI Source file and Output
![Page 48: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/48.jpg)
48
www.sena.comwww.sena.com
Serial Filter Application (1/4)
• 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
SS Serial Filter Structure
![Page 49: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/49.jpg)
49
www.sena.comwww.sena.com
• 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
Sample file
Serial Filter Application (2/4)
![Page 50: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/50.jpg)
50
www.sena.comwww.sena.com
• 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
How to
Serial Filter Application (3/4)
![Page 51: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/51.jpg)
51
www.sena.comwww.sena.com
[email protected]:/mnt/flash/work# cp /mnt/flash/sample/filter/periodic_filter.c ./[email protected]:/mnt/flash/work# gcc -o myfilter myfilter.c -L/mnt/flash/lib [email protected]:/mnt/flash/work# cp myfilter /[email protected]:/mnt/flash/work# editconf…------------------------------------------------------------------------------ Serial port configuration - Port #1 --> Filter application------------------------------------------------------------------------------ Select menu: 1. Filter application path name: /bin/ss.filter 2. Filter application arguments: <ESC> Back, <Enter> Refresh---> 1 Enter a filter application full path name(ex: /bin/filter)---> /usr2/myfilter------------------------------------------------------------------------------ … 1. Filter application path name: /usr2/myfilter 2. Filter application arguments: <ESC> Back, <Enter> Refresh---> 2 Enter filter application arguments---> 'You will see this msg every 1 sec' 1
Sample Filter and Output
Serial Filter Application (4/4)
![Page 52: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/52.jpg)
www.sena.comwww.sena.com
Case Studies
1. Door Access Application (Customized)2. Medical Application (Customized)3. Bridge Monitoring System
![Page 53: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/53.jpg)
53
www.sena.comwww.sena.com
Door Access Application (Customized)
![Page 54: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/54.jpg)
54
www.sena.comwww.sena.com
Door 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 visitor’s 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
![Page 55: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/55.jpg)
55
www.sena.comwww.sena.com
Bridge Monitoring System
SS110
System Architecture
![Page 56: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/56.jpg)
56
www.sena.comwww.sena.com
Bridge 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
![Page 57: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/57.jpg)
57
www.sena.comwww.sena.com
Medical 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
![Page 58: Www.sena.com SENA Dec, 2004 HelloDevice Super series SS100/110/400/800 One-Stop Solution in Device Networking](https://reader036.vdocuments.net/reader036/viewer/2022081518/5518bfd8550346881f8b555d/html5/thumbnails/58.jpg)
58
www.sena.comwww.sena.com
Contact SENA
SENA Technologies, Inc.
[email protected]:+82-2-529-7025Fax: +82-2-573-7710Web Address: http://www.sena.com210 Yangjae-dong Seocho-guSeoul 137-130, South Korea