beautypg.com

Solvline Eddy DK Ver 2.20 User Manual

Page 32

background image

Chapter4. Compiling Application

4-2

When you want to make new application program, we recommend you to refer to the files in the Eddy_APPs folder.

In this chapter we will explain with Eddy_APPs directory.

Source files inside Eddy_APPs are as follows.

File name

Description

def.c

Eddy environment setting program

eddy.c

Program which is first run after booting Eddy. This program makes Eddy to operate as it

is configured in environment setting.

pinetd.c

Program which is at the highest hierarchy of Eddy; this executes and monitors the

programs of lower hierarchy.

tcp_client.c

Program which connects to the server and exchange data between the serial port and the

socket.

tcp_server.c

Program which waits for the socket connection and exchange data between the serial

port and the socket.

upgrade.c

Program for firmware updating

ddns_agent.c

Program which gives Eddy IP information to DDNS server

detect.c

Program which work together with portview’s detector. Refer to the portview manual.

loopback.c

Loopback test program for the serial port.

portview.c

Agent of Portview, which is a NMS program for windows, provided by SystemBase.

tcp_broadcast.c This supports maximum of five client connection with multi TCP server function, and

broadcast serial data to all client.

tcp_multiplex.c This supports maximum of five client connection with multi TCP server function, and

transfer serial data to each client.

udp.c

UDP server and client program which exchange data between UDP socket and the serial

port.

gpio.c

Example program for GPIO port

rt-test.c

Test program for Delay Time

/include Directory

containing

header files needed for applications.

/SB_APIs

Directory containing library provided by Eddy

/web

Directory containing CGI source and htm code of web run at Eddy