
Sena Technologies, Inc.
__________________________________________________________________________
__________________________________________________________________________________________-
- 8/15 -
be an entry page of the custom pages.
Here is a Makefile to make the shell.c.
CC = gcc
BIN = shell.cgi
OBJS = shell.o util_cgi.o
LDFLAG = -L/mnt/flash/lib
BIN : $(OBJS)
$(CC) -o $(BIN) $(OBJS) $(LDFLAG)
c.o :
$(CC) -c $<
all : $(BIN)
clean :
rm -f $(BIN) $(OBJS)
The
util_cgi.h
and
util_cgi.c
are attached at the Appendix A. These CGI programs
must be in the
/usr2/cgi -bin
directory.
4.3. Java applets and so on
JAVA applets are also available. The applet files and all web files except CGI program must be in
the
/usr2/usrweb
directory.
5. User Filter Customization
5.1. Understanding Filter Programs
STS400/800/1600
uses FIFO method for inter-process communication.
User can insert a
program to manipulate the data stream which routes from serial device to socket and socket to serial
device.
The user-defined filter program communicates with other programs that are reading/writing
serial port and socket by using FIFOs.