From 22b70473138fde1b55f90fc05b052f340c499f79 Mon Sep 17 00:00:00 2001 From: iseries1 Date: Mon, 7 Sep 2020 09:54:41 -0500 Subject: [PATCH] Fixed UDP missing code --- parallax/sscp.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parallax/sscp.c b/parallax/sscp.c index afed66d..670b912 100644 --- a/parallax/sscp.c +++ b/parallax/sscp.c @@ -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 }, @@ -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: @@ -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;