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