Specifications

53
MAX_HTTP_ARGS
(HTTP.c)
1-31
To define maximum number of
HTML form fields including
HTML form name
MAX_HTML_CMD_LEN
(HTTP.c)
1-128
To define maximum length of
HTML form URL string.
Table 18 Configuration used by HTTP.c
FTP.c implements a simple File Transfer Protocol application. The purpose of
this is to allow an easy way to upload MPFS image files to the host device. Table
19 below shows the configurable values used by the FTP server.
Define
Values
Purpose
FTP_USER_NAME_LEN(F
TP.h)
1-31
To define maximum length of
FTP user name
STACK_USE_FTP_SERV
ER
N/A
Comment this if FTP Server is
not required
Table 19 Configuration used by FTP.c
DHCP or Dynamic Host Configuration Protocol allows for the auto configuration
of IP address settings. If enabled, this allows the host device to request network
information from a DHCP server. The information received from the server
allows the host device to configure its IP address, net mask, and gateway
information. Table 20 below lists values utilized by DHCP.c.
Define
Values
Purpose
STACK_USE_DHCP
N/A
Comment this if DHCP is not
required
MY_IP_BYTE?
MY_MASK_BYTE?
MY_GATE_BYTE?
MY_MAC_BYTE?
0-255
Actual IP, MAC, gateway and
subnet mask values as
saved/defined by application. If
DHCP is enabled, these values
reflect current DHCP server
assigned configuration
Table 20 Configuration used by DHCP.c
Serial Line Internet Protocol is an encapsulation of the Internet Protocol designed
to work over serial ports. In order to use it within the TCP/IP stack, the module
must be enabled. Table 21 below is a table of values utilized by this module.
Define
Values
Purpose
STACK_USE_SLIP
N/A
Comment this if SLIP is not
required
Table 21 Configuration used by SLIP.c
Once a project is setup with the appropriate files included, the main application
source file must be modified to include the programming sentences shown below
in Figure 16.