Skip to content

Commit ae3b50e

Browse files
authored
Merge pull request #40 from iseries1/master
Fixed UDP missing code
2 parents 8e1ba51 + 22b7047 commit ae3b50e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

parallax/sscp.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -322,6 +322,7 @@ static cmd_def cmds[] = {
322322
{ "ARG", http_do_arg },
323323
{ "REPLY", http_do_reply },
324324
{ "CONNECT", tcp_do_connect },
325+
{ "UDP", udp_do_connect },
325326
{ "APSCAN", wifi_do_apscan },
326327
{ "APGET", wifi_do_apget },
327328
{ "CREGET", wifi_do_creget },
@@ -483,6 +484,7 @@ void ICACHE_FLASH_ATTR sscp_filter(char *buf, short len, void (*outOfBand)(void
483484
case SSCP_TKN_ARG:
484485
case SSCP_TKN_REPLY:
485486
case SSCP_TKN_CONNECT:
487+
case SSCP_TKN_UDP:
486488
case SSCP_TKN_APSCAN:
487489
case SSCP_TKN_APGET:
488490
case SSCP_TKN_CREGET:
@@ -512,6 +514,7 @@ void ICACHE_FLASH_ATTR sscp_filter(char *buf, short len, void (*outOfBand)(void
512514
case SSCP_TKN_ARG: name = "ARG"; sep = ':'; break;
513515
case SSCP_TKN_REPLY: name = "REPLY"; sep = ':'; break;
514516
case SSCP_TKN_CONNECT: name = "CONNECT"; sep = ':'; break;
517+
case SSCP_TKN_UDP: name = "UDP"; sep = ':'; break;
515518
case SSCP_TKN_APSCAN: name = "APSCAN"; sep = ':'; break;
516519
case SSCP_TKN_APGET: name = "APGET"; sep = ':'; break;
517520
case SSCP_TKN_CREGET: name = "CREGET"; sep = ':'; break;

0 commit comments

Comments
 (0)