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 group | Numbering Series |
---|---|
NETWORK-GENERIC | 1-99 |
NETWORK-INIT | 100 |
NETWORK UTILITY LIBRARY | 200 |
ASCII LIBRARY | 300 |
NETWORK STATISTIC MANAGEMENT | 400 |
NETWORK TIMER MANAGEMENT | 500 |
NETWORK BUFFER MANAGEMENT | 600 |
NETWORK CONNECTION MANAGEMENT | 700 |
NETWORK BOARD SUPPORT PACKAGE (BSP) | 1000 |
NETWORK DEVICE | 2000 |
NETWORK PHYSICAL LAYER | 3000 |
WIRELESS MANAGER LAYER | 4000 |
WIRELESS LAYER | 5000 |
NETWORK INTERFACE LAYER | 6000 |
CACHE LAYER | 7000 |
ARP LAYER | 8000 |
NETWORK MANAGEMENT LAYER | 9000 |
IPv4 LAYER | 10000 |
IPv6 LAYER | 11000 |
ICMP LAYER | 12000 |
ICMPv4 LAYER | 13000 |
ICMPv6 LAYER | 14000 |
NDP LAYER | 15000 |
IGMP LAYER | 16000 |
MLDP LAYER | 17000 |
UDP LAYER | 18000 |
TCP LAYER | 19000 |
NETWORK SOCKET LAYER | 20000 |
APPLICATION LAYER | 21000 |
NETWORK SECURITY LAYER | 22000 |