📄 liaohh.txt
字号:
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -