📄 debugmsg.lst
字号:
C51 COMPILER V7.06 DEBUGMSG 09/26/2008 13:36:20 PAGE 1
C51 COMPILER V7.06, COMPILATION OF MODULE DEBUGMSG
OBJECT MODULE PLACED IN ..\OUT\DebugMsg.obj
COMPILER INVOKED BY: C:\Keil\C51\BIN\C51.EXE ..\Source\DebugMsg.C BROWSE DEBUG OBJECTEXTEND PRINT(..\OUT\DebugMsg.lst) O
-BJECT(..\OUT\DebugMsg.obj)
stmt level source
1 /*
2 *****************************************************************************************************
3 *
4 * File name: DebugMsg.c
5 *****************************************************************************************************
6 */
7 #include "..\head\includes.h"
8
9 #ifdef _DEBUG_
void Debug_Msg(unsigned char id)
{
Uart0Putf("\r\n");
if (id < 60) return;
switch(id) {
case 1:
Uart0Putf("1:Timeout,sending reset");
break;
case 2:
Uart0Putf("2:Timeout,sending reset2");
break;
case 3:
Uart0Putf("3:Timeout,resending data");
break;
case 4:
Uart0Putf("4:重传10次满,sending reset");
break;
case 5:
Uart0Putf("5:发出的数据得到响应");
break;
case 6:
Uart0Putf("6:数据长度超出WAITFORSEDN缓冲");
break;
case 7:
Uart0Putf("7:数据入UNACK");
break;
case 8:
Uart0Putf("8:SOCK套接号超出范围");
break;
case 9:
Uart0Putf("\r\n9:收到数据反校验成功");
break;
case 10:
Uart0Putf("10:Rcvd msg from existing conxn");
break;
case 11:
Uart0Putf("11:数据来自未连接找到空余字作服务端");
break;
case 12:
Uart0Putf("12:NO_CONNECTION==j 全部链接都被占用");
break;
case 13:
Uart0Putf("13:来自非存在的套接字,且不是请求连接命令");
break;
C51 COMPILER V7.06 DEBUGMSG 09/26/2008 13:36:20 PAGE 2
case 14:
Uart0Putf("14:不存在的套接字号");
break;
case 15:
Uart0Putf("15:SEQ超出范围");
break;
case 16:
Uart0Putf("16:RXD:RST-FLAG");
break;
case 17:
Uart0Putf("17:Error,rcvd bogus SYN AND ACK");
break;
case 18:
Uart0Putf("18:Error,rcvd bogus SYN");
break;
case 19:
Uart0Putf("19:Error, rcvd segment has no ACK");
break;
case 20:
Uart0Putf("20:Listen->Entered SYN RCVD state");
break;
case 21:
Uart0Putf("21:Entered CLOSE_WAIT state");
break;
case 22:
Uart0Putf("22:Entered LAST ACK state");
break;
case 23:
Uart0Putf("23:Entered ESTABLISHED state");
break;
case 24:
Uart0Putf("24:Entered CLOSE_WAIT state");
break;
case 25:
Uart0Putf("25:Entered LAST ACK state");
break;
case 26:
Uart0Putf("26:data_len != 0");
break;
case 27: //重点要观察
Uart0Putf("27:收到数据但packACK != seq我加的调试");
break;
case 28: //要不要改良,这里可以清发送心跳包及心跳包超时时间?
Uart0Putf("28:data_len==0且packACK == seq");
break;
case 29: //重点要观察
Uart0Putf("29:data_len==0但packACK != seq");
break;
case 30:
Uart0Putf("30:TCP:Oops!Rcvd unexpected message");
break;
case 31:
Uart0Putf("31:TCP:Error, no handler");
break;
case 32:
Uart0Putf("32:TCP:Closed connection");
break;
case 33:
Uart0Putf("33:TCP:Last ACK判断");
break;
case 34:
Uart0Putf("34:SOCK套接号超出范围");
C51 COMPILER V7.06 DEBUGMSG 09/26/2008 13:36:20 PAGE 3
break;
case 35:
break;
case 36:
Uart0Putf("36:Entered TIME_WAIT state");
break;
case 37:
Uart0Putf("37:Entered CLOSING state");
break;
case 38:
Uart0Putf("38:Entered FIN_WAIT_2 state");
break;
case 39:
Uart0Putf("39:Entered TIME_WAIT state");
break;
case 40:
Uart0Putf("40:Oops! In TIME_WAIT state");
break;
case 41:
Uart0Putf("41:Entered TIME_WAIT state");
break;
case 42:
break;
case 43:
Uart0Putf("43:目的端口不等于本地当前端口");
break;
case 44:
Uart0Putf("44:HTTP模式STATE_LAST_ACK强制关闭");
break;
case 45:
Uart0Putf("45:收到POST命令");
break;
case 46:
Uart0Putf("46:收到GetPic");
break;
case 47:
Uart0Putf("47:收到GetPage");
break;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -