Main applications, Eddy.c application, Pinetd.c application – Solvline Eddy DK User Manual
Page 124: Other applications, 2 main applications, 3 eddy.c application, 4 pinetd.c application, 5 other applications

Eddy DK Programmer Guide
124
7.2 Main Applications
This section explains the most important aspects of Eddy, eddy.c and pinetd.c.
Applications other than these two can be divided into monitoring applications executed by pinetd.c and user
applications manually executed by users. Please refer ‚4.1 Source Code‛ for brief explanation of functions of
each application.
7.3 eddy.c Application
Program runs the first after Eddy is booted, it reads the environment configuration saved under /flash folder.
This initializes network with configuration information , and runs various daemon program.
If environment file is not present on /flash, it will reset the environment configuration to factory setting.
7.4 Pinetd.c Application
It is a daemon program with the highest hierarchy of Eddy run by Eddy.c, which monitors lower processor.
It periodically monitors the Reset Switch to detect a factory reset request.
7.5 Other Applications
The list of applications runs according to the defined protocol of each serial port:
tcp_server, tcp_client, com_redirect, tcp_broadcast, tcp_multiplex, udp (udp_server/client)
The list of applications runs to handle external network service independently to serial ports:
portview, detect, ddns_agent
The list of applications can be manually run using telnet.
Def, upgrade, loopback,
The list of applications to test Eddy DK v2.1 board and a device:
test_sio, test_dio, test_lcd, test_keypad, test_spi_eeprom, test_nand, test_sd,
test_adc, test_gpio_pin, test_gpio_led
Sample source to build socket, serial port application program is the following.
Test_serial, test_serial_to_lan-1, test_serial_lan-2, test_tcp_server, test_tcp_client,
test_udp_server, test_udp_clinet, test_read_config, test_bluetooth