new meter
This commit is contained in:
13
components/rest_api/include/rest_main.h
Executable file
13
components/rest_api/include/rest_main.h
Executable file
@@ -0,0 +1,13 @@
|
||||
#pragma once
|
||||
|
||||
#include <esp_err.h>
|
||||
#include <esp_vfs.h>
|
||||
|
||||
#define SCRATCH_BUFSIZE (10240)
|
||||
|
||||
typedef struct rest_server_context {
|
||||
char base_path[ESP_VFS_PATH_MAX + 1];
|
||||
char scratch[SCRATCH_BUFSIZE];
|
||||
} rest_server_context_t;
|
||||
|
||||
esp_err_t rest_server_init(const char *base_path);
|
||||
Reference in New Issue
Block a user