liaohh.txt

来自「本程序为在linux下实现FTP传输文件的实现」· 文本 代码 · 共 6 行

TXT
6
字号
	switch (GSMHelloState) {

	case STATE_IDLE:				
GSMHelloState += 2;	break;

	case 0x02:	
if (GSMDelayTimer == 0)		
GSMHelloState++;	break;
	case 0x03:	GSMSendCommType	= ATpCIPHEAD;	GSMHelloState++;	break;
	case 0x05:	GSMSendCommType	= ATpCIPSPRT;	GSMHelloState++;	break;
	case 0x07:	GSMSendCommType	= ATpCIPCSGP;	GSMHelloState++;	break;
	case 0x09:	GSMSendCommType	= ATpCSTT;	GSMHelloState++;	break;
	case 0x0B:	GSMSendCommType	= ATpCIICR;	GSMHelloState++;	break;
	case 0x0D:	GSMSendCommType	= ATpCIFSR;	GSMHelloState++;	break;
	case 0x04:
	case 0x06:
	case 0x08:
	case 0x0A:
	case 0x0C:
	case 0x0E:
	    GSMFuncReturn = GSMProcSendComm();
	    if (GSMFuncReturn == OK)		GSMHelloState++;
	    else				GSMHelloState = 0x90;
	    break;
	case 0x0F:
	    goto HelloOK;
	    break;

	case 0x90:
	    GSMSendCommType	= ATpCIPSHUT;	
	    GSMFuncReturn = GSMProcSendComm();
//		if (GSMFuncReturn == SHUT_OK) ;
//	    else if (GSMFuncReturn != IDLE)	;
	    GSMRetryCount--;
	    if (GSMRetryCount == 0)			goto HelloERR;
	    GSMDelayTimer = TIMER_5S;			GSMHelloState = 0x02;
	    break;
	} 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?