Skip to content

Commit da84b3f

Browse files
cskaraitve
authored andcommitted
Web server (#21)
1 parent ff36061 commit da84b3f

14 files changed

+2023
-1
lines changed

ELClient/ELClient.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@ typedef enum {
3535
CMD_REST_REQUEST, /**< Make request to REST server */
3636
CMD_REST_SETHEADER, /**< Define HTML header */
3737

38-
CMD_SOCKET_SETUP = 30, /**< Setup socket connection */
38+
CMD_WEB_SETUP = 30, /**< web-server setup */
39+
CMD_WEB_DATA, /**< used for publishing web-server data */
40+
41+
CMD_SOCKET_SETUP = 40, /**< Setup socket connection */
3942
CMD_SOCKET_SEND, /**< Send socket packet */
4043
} CmdName; /**< Enumeration of commands supported by esp-link, this needs to match the definition in esp-link! */
4144

ELClient/ELClientResponse.h

+2
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212

1313
#include <Arduino.h>
1414

15+
#define VARIABLE_ARG_NUM 255
16+
1517
typedef struct PACKED {
1618
uint16_t cmd; /**< Command to execute */
1719
uint16_t argc; /**< Number of arguments */

0 commit comments

Comments
 (0)