Error Codes

All the possible error codes returned by the µC/TCP-IP stack are defined in net_err.h. Please refer to net_err.h for more details on any specific error code. Each error has a numerical value. The error codes are grouped. The definition of the groups are:

Error code groupNumbering Series
NETWORK-GENERIC1-99
NETWORK-INIT100
NETWORK UTILITY LIBRARY200
ASCII LIBRARY300
NETWORK STATISTIC MANAGEMENT400
NETWORK TIMER MANAGEMENT500
NETWORK BUFFER MANAGEMENT600
NETWORK CONNECTION MANAGEMENT700
NETWORK BOARD SUPPORT PACKAGE (BSP)1000
NETWORK DEVICE2000
NETWORK PHYSICAL LAYER3000
WIRELESS MANAGER LAYER4000
WIRELESS LAYER5000
NETWORK INTERFACE LAYER6000
CACHE LAYER7000
ARP LAYER8000
NETWORK MANAGEMENT LAYER  9000
IPv4 LAYER10000
IPv6 LAYER11000
ICMP LAYER12000
ICMPv4 LAYER13000
ICMPv6 LAYER14000
NDP LAYER15000
IGMP LAYER16000
MLDP LAYER17000
UDP LAYER18000
TCP LAYER19000
NETWORK SOCKET LAYER20000
APPLICATION LAYER21000
NETWORK SECURITY LAYER22000