TuyaOS
模块 | 宏定义
Debug messages 的协作图:

模块

 LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values
 

宏定义

#define DHCP6_DEBUG   LWIP_DBG_OFF
 
#define LWIP_DBG_MIN_LEVEL   LWIP_DBG_LEVEL_ALL
 
#define LWIP_DBG_TYPES_ON   LWIP_DBG_ON
 

详细描述

宏定义说明

◆ DHCP6_DEBUG

#define DHCP6_DEBUG   LWIP_DBG_OFF

ETHARP_DEBUG: Enable debugging in etharp.c. NETIF_DEBUG: Enable debugging in netif.c. PBUF_DEBUG: Enable debugging in pbuf.c. API_LIB_DEBUG: Enable debugging in api_lib.c. API_MSG_DEBUG: Enable debugging in api_msg.c. SOCKETS_DEBUG: Enable debugging in sockets.c. ICMP_DEBUG: Enable debugging in icmp.c. IGMP_DEBUG: Enable debugging in igmp.c. INET_DEBUG: Enable debugging in inet.c. IP_DEBUG: Enable debugging for IP. IP_REASS_DEBUG: Enable debugging in ip_frag.c for both frag & reass. RAW_DEBUG: Enable debugging in raw.c. MEM_DEBUG: Enable debugging in mem.c. MEMP_DEBUG: Enable debugging in memp.c. SYS_DEBUG: Enable debugging in sys.c. TIMERS_DEBUG: Enable debugging in timers.c. TCP_DEBUG: Enable debugging for TCP. TCP_INPUT_DEBUG: Enable debugging in tcp_in.c for incoming debug. TCP_FR_DEBUG: Enable debugging in tcp_in.c for fast retransmit. TCP_RTO_DEBUG: Enable debugging in TCP for retransmit timeout. TCP_CWND_DEBUG: Enable debugging for TCP congestion window. TCP_WND_DEBUG: Enable debugging in tcp_in.c for window updating. TCP_OUTPUT_DEBUG: Enable debugging in tcp_out.c output functions. TCP_RST_DEBUG: Enable debugging for TCP with the RST message. TCP_QLEN_DEBUG: Enable debugging for TCP queue lengths. UDP_DEBUG: Enable debugging in UDP. TCPIP_DEBUG: Enable debugging in tcpip.c. SLIP_DEBUG: Enable debugging in slipif.c. DHCP_DEBUG: Enable debugging in dhcp.c. AUTOIP_DEBUG: Enable debugging in autoip.c. DNS_DEBUG: Enable debugging for DNS. IP6_DEBUG: Enable debugging for IPv6. DHCP6_DEBUG: Enable debugging in dhcp6.c.

◆ LWIP_DBG_MIN_LEVEL

#define LWIP_DBG_MIN_LEVEL   LWIP_DBG_LEVEL_ALL

LWIP_DBG_MIN_LEVEL: After masking, the value of the debug is compared against this value. If it is smaller, then debugging messages are written.

参见
LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values

◆ LWIP_DBG_TYPES_ON

#define LWIP_DBG_TYPES_ON   LWIP_DBG_ON

LWIP_DBG_TYPES_ON: A mask that can be used to globally enable/disable debug messages of certain types.

参见
LWIP_DBG_MIN_LEVEL and LWIP_DBG_TYPES_ON values