Skip to content

Commit

Permalink
Web server (#21)
Browse files Browse the repository at this point in the history
  • Loading branch information
cskarai authored and tve committed Oct 23, 2016
1 parent ff36061 commit da84b3f
Show file tree
Hide file tree
Showing 14 changed files with 2,023 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ELClient/ELClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ typedef enum {
CMD_REST_REQUEST, /**< Make request to REST server */
CMD_REST_SETHEADER, /**< Define HTML header */

CMD_SOCKET_SETUP = 30, /**< Setup socket connection */
CMD_WEB_SETUP = 30, /**< web-server setup */
CMD_WEB_DATA, /**< used for publishing web-server data */

CMD_SOCKET_SETUP = 40, /**< Setup socket connection */
CMD_SOCKET_SEND, /**< Send socket packet */
} CmdName; /**< Enumeration of commands supported by esp-link, this needs to match the definition in esp-link! */

Expand Down
2 changes: 2 additions & 0 deletions ELClient/ELClientResponse.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

#include <Arduino.h>

#define VARIABLE_ARG_NUM 255

typedef struct PACKED {
uint16_t cmd; /**< Command to execute */
uint16_t argc; /**< Number of arguments */
Expand Down
Loading

0 comments on commit da84b3f

Please sign in to comment.