Eddy DK Programmer Guide
122
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
Содержание Eddy DK
Страница 1: ...1 Eddy DK Programmer Guide Ver 2 5 1 1 2011 02 15...
Страница 10: ...Eddy DK Programmer Guide 10 2 3 Eddy CPU v2 1 v2 5...
Страница 36: ...Eddy DK Programmer Guide 36 2 4 4 External Device Interface Description...
Страница 47: ...Eddy DK Programmer Guide 47 Eddy S4M v2 1 Eddy S4M v2 5...