Skip to content

Commit

Permalink
Merge pull request #40 from iseries1/master
Browse files Browse the repository at this point in the history
Fixed UDP missing code
  • Loading branch information
dbetz authored Sep 8, 2020
2 parents 8e1ba51 + 22b7047 commit ae3b50e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions parallax/sscp.c
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,7 @@ static cmd_def cmds[] = {
{ "ARG", http_do_arg },
{ "REPLY", http_do_reply },
{ "CONNECT", tcp_do_connect },
{ "UDP", udp_do_connect },
{ "APSCAN", wifi_do_apscan },
{ "APGET", wifi_do_apget },
{ "CREGET", wifi_do_creget },
Expand Down Expand Up @@ -483,6 +484,7 @@ void ICACHE_FLASH_ATTR sscp_filter(char *buf, short len, void (*outOfBand)(void
case SSCP_TKN_ARG:
case SSCP_TKN_REPLY:
case SSCP_TKN_CONNECT:
case SSCP_TKN_UDP:
case SSCP_TKN_APSCAN:
case SSCP_TKN_APGET:
case SSCP_TKN_CREGET:
Expand Down Expand Up @@ -512,6 +514,7 @@ void ICACHE_FLASH_ATTR sscp_filter(char *buf, short len, void (*outOfBand)(void
case SSCP_TKN_ARG: name = "ARG"; sep = ':'; break;
case SSCP_TKN_REPLY: name = "REPLY"; sep = ':'; break;
case SSCP_TKN_CONNECT: name = "CONNECT"; sep = ':'; break;
case SSCP_TKN_UDP: name = "UDP"; sep = ':'; break;
case SSCP_TKN_APSCAN: name = "APSCAN"; sep = ':'; break;
case SSCP_TKN_APGET: name = "APGET"; sep = ':'; break;
case SSCP_TKN_CREGET: name = "CREGET"; sep = ':'; break;
Expand Down

0 comments on commit ae3b50e

Please sign in to comment.