Protocol Macros and Files

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
Protocol Macros and Files

You will need to define some macros in TCPIPConfig.h and include some files in your project to enable each protocol. These include:

Module 
Macro 
Function 
Required Files 
ICMP 
STACK_USE_ICMP_SERVER 
Provides the ability to query and respond to pings. 
ICMP.c, ICMP.h 
ICMP 
STACK_USE_ICMP_CLIENT 
Provides the ability to transmit pings. 
ICMP.c, ICMP.h 
STACK_USE_HTTP2_SERVER 
Provides HTTP server functionality with dynamic variables, POST, Cookies, Authentication, and other features 
HTTP2.c, HTTP2.h, TCP.c, TCP.h, CustomHTTPApp.c and HTTPPrint.h (see HTTP2 section for information on these files) 
SSL 
STACK_USE_SSL_SERVER 
Provides support for SSL server sockets. 
SSL.c, SSL.h, ARCFOUR.c, ARCFOUR.h, BigInt.c, BigInt.h, Random.c, Random.h, RSA.c, RSA.h 
SSL 
STACK_USE_SSL_CLIENT 
Provides support for SSL client sockets. 
SSL.c, SSL.h, ARCFOUR.c, ARCFOUR.h, BigInt.c, BigInt.h, Random.c, Random.h, RSA.c, RSA.h 
FTP 
STACK_USE_FTP_SERVER 
Provides ability to remotely upload MPFS2 images to HTTP2 servers via FTP 
FTP.c, FTP.h, TCP.c, TCP.h 
SMTP 
STACK_USE_SMTP_CLIENT 
Provides the ability to send email 
SMTP.c, SMTP.h, TCP.c, TCP.h, Helpers.c, Helpers.h 
SNMP 
STACK_USE_SNMP_SERVER 
Provides a network-based machine control/monitoring protocol 
SNMP.c, SNMP.h, UDP.c, UDP.h 
TFTP 
STACK_USE_TFTP_CLIENT 
Provides unreliable file upload/download services 
TFTPc.c, TFTPc.h, TCP.c, TCP.h 
STACK_USE_TELNET_SERVER 
Provides telnet services. 
Telnet.c, Telnet.h, TCP.c, TCP.h 
STACK_USE_ANNOUNCE 
Provides device hostname and IP address discovery on a local Ethernet subnet 
Announce.c, Announce.h 
DNS 
STACK_USE_DNS 
Provides the ability to resolve hostnames to IP addresses 
DNS.c, DNS.h, UDP.c, UDP.h 
NBNS 
STACK_USE_NBNS 
Provides the ability to resolve hostnames to IP addresses on the same subnet. 
NBNS.c, NBNS.h, UDP.c, UDP.h 
SNTP 
STACK_USE_SNTP_CLIENT 
Provides the ability to get the date/time from the internet 
SNTP.c, SNTP.h, UDP.c, UDP.h 
STACK_USE_DYNAMICDNS_CLIENT 
Provides the ability to resolve hostnames to IP addresses that change frequently. 
DynDNS.c, DynDNS.h, TCP.c, TCP.h 
STACK_USE_MPFS2 
Provides MPFS2 services for custom applications. This functionality will be enabled/required automatically by stack-based protocols that require MPFS2. 
MPFS2.c, MPFS2.h 
TCP 
STACK_USE_TCP 
Provides TCP transport layer services for custom protocols. This functionality is automatically enabled/required by stack-based protocols that require TCP sockets. 
TCP.c, TCP.h 
UDP 
STACK_USE_UDP 
Provides UDP transport layer services for custom protocols. This functionality is automatically enabled/required by stack-based protocols that require UDP sockets. 
UDP.c, UDP.h 
Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.