Added built-in HTTP Server

This commit is contained in:
nopnop2002
2021-07-09 14:43:01 +09:00
parent 52a1ab54a2
commit 298730dbe3
11 changed files with 606 additions and 74 deletions
+13 -3
View File
@@ -1,4 +1,14 @@
#define STANDARD_FRAME 0
#define EXTENDED_FRAME 1
#define DATA_FRAME 0
#define REMOTE_FRAME 1
#define CMD_RECEIVE 100
#define CMD_SEND 200
typedef struct {
int16_t command;
char topic[64];
int16_t topic_len;
int32_t canid;
@@ -9,9 +19,9 @@ typedef struct {
} FRAME_t;
typedef struct {
uint16_t frame;
uint32_t canid;
char * topic;
uint16_t frame;
uint32_t canid;
char * topic;
int16_t topic_len;
} TOPIC_t;