Specifications

52
UDP applications
Table 15 Configuration used by UDP.c
MAC.c handles the Media Access Control operations. This allows for the
emulation of a full-duplex logical communication in a multi-point network. In Table
16 below are the configuration defines that MAC.c uses.
Define
Values
Purpose
MAX_TX_BUFFER_SIZE
201-1500
To define individual transmit
buffer size
MAX_TX_BUFFER_COUN
T
1-255
To define total number of
transmit buffers. This number is
limited by available MAC buffer
size.
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 16 Configuration used by MAC.c
ARP.c runs the Address Resolution Protocol. This allows the host device to
determine a hardware address from just knowing an IP address. Configuration
values that are used by this module are described in Table 17 below.
Define
Values
Purpose
STACK_CLIENT_MODE
N/A
Client related code will be
enabled
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 17 Configuration used by ARP.c
HTTP.c controls the webserver to run on the microchip. This module manages
user connections and CGI GET operations. The GET command allows the
webserver to fetch variables saved within the microprocessor and dynamically
present them within a static web page. Table 18 below lists the configurable
options that HTTP.c uses to implement the web server.
Define
Values
Purpose
MAX_HTTP_CONNECTIO
NS
1-255
To define maximum number of
HTTP connections allowed at
any time.