cmd handler stuff
This commit is contained in:
@ -64,10 +64,12 @@ void cmdHandlerEngine(void *handle) {
|
||||
break;
|
||||
|
||||
case 2:
|
||||
coloredMsg(LOG_YELLOW, "che, waiting for established");
|
||||
//coloredMsg(LOG_YELLOW, "che, waiting for established");
|
||||
|
||||
sockState = getSn_SR(CMD_SOCK);
|
||||
coloredMsg(LOG_YELLOW, "che, socket state is 0x%02x", sockState);
|
||||
if (sockState != SOCK_LISTEN) {
|
||||
coloredMsg(LOG_YELLOW, "che, socket state is 0x%02x", sockState);
|
||||
}
|
||||
|
||||
if (sockState == SOCK_ESTABLISHED) {
|
||||
coloredMsg(LOG_YELLOW, "che, connection is established");
|
||||
|
Reference in New Issue
Block a user