Specifications
51 
not required. This module will 
be automatically enabled if there 
is at least one high-level module 
requiring TCP. 
Table 13 Configuration used by TCP.c 
User Applications have access  to default network setting  values as well as 
access to actual network setting values.   Default values are defined within the 
configuration, whereas the actual  values are saved by applications that  are 
currently running.  Below is Table 14 which provides a list of definitions and the 
values they can be. 
Define 
Values 
Purpose 
MY_DEFAULT_IP_ADDR_B
YTE? 
MY_DEFAULT_MASK_BYTE
? 
MY_DEFAULT_GATE_BYTE
? 
MY_DEFAULT_MAC_BYTE? 
0-255 
Define default IP, MAC, gateway 
and subnet mask values. 
Default values are: 
10.10.5.15 for IP address 
00:04:163:00:00:00:00 for MAC 
10.10.5.15 for gateway 
255.255.255.0 for subnet mask 
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 14 Configuration used by User Application 
UDP.c implements the user datagram protocol.  This uses a simple transmission 
model without implicit hand-shaking required for guaranteeing reliability, ordering, 
or data integrity. Most of these operations are handled by the application utilizing 
this protocol. Table 15 below shows the configurable options for this file. 
Define 
Values 
Purpose 
STACK_USE_UDP 
N/A 
Comment this if UDP module is 
not required. This module will be 
automatically enabled if there is at 
least one high-level module 
requiring UDP. 
MAX_UDP_SOCKETS 
1-254 
To define total number of sockets 
supported (limited by available 
RAM). Compile-time check is 
done to make sure that enough 
sockets are available for selected 










