Added built-in HTTP Server
This commit is contained in:
+13
-3
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user