The TCP/IP stack includes some additional functionality that can be enabled in TCPIPConfig.h.
Feature |
Macro |
Description |
Required Files |
UART Demo |
STACK_USE_UART |
Application demo using UART for IP address display and stack configuration. |
UART.c, UART.h |
UART-to-TCP Bridge |
STACK_USE_UART2TCP_BRIDGE |
UART to TCP Bridge application example |
UART2TCPBridge.c, UART2TCPBridge.h |
IP Gleaning |
STACK_USE_IP_GLEANING |
Allows assignment of an IP address via reception of an ICMP packet with a valid IP during configuration mode |
- |
STACK_USE_REBOOT_SERVER |
Allows the PIC to be reset remotely (useful for bootloaders). |
Reboot.c, Reboot.h | |
STACK_USE_UDP_PERFORMANCE_TEST |
UDP performance test. Monitor a local area network for UDP packets with a packet sniffer. This test will transmit 1024 packets. Use the timestamps of the first and last packets to calculate throughput. |
UDPPerformanceTest.c, UDPPerformanceTest.h | |
STACK_USE_TCP_PERFORMACE_TEST |
TCP performance test. Connect a demo board to a PC via UART, execute the code, and monitor the throughput on the PC terminal. |
TCPPerformanceTest.c, TCPPerformanceTest.h | |
STACK_USE_BERKELEY_API |
Provides a Berkeley Sockets API abstraction layer. |
BerkeleyAPI.c, BerkeleyAPI.h |