defininitions for webserver
More...
#include "esp_err.h"
#include "esp_http_server.h"
Go to the source code of this file.
|
#define | IS_FILE_EXT(filename, ext) (strcasecmp(&filename[strlen(filename) - sizeof(ext) + 1], ext) == 0) |
|
|
volatile float | temp |
| current temp More...
|
|
volatile float | goal |
| goal temp for the system to aim for More...
|
|
volatile float | under |
| margin below goal temp at which to turn relay on More...
|
|
volatile float | over |
| margin above goal temp at which to turn relay off More...
|
|
defininitions for webserver
Definition in file webserver.h.
◆ IS_FILE_EXT
#define IS_FILE_EXT |
( |
|
filename, |
|
|
|
ext |
|
) |
| (strcasecmp(&filename[strlen(filename) - sizeof(ext) + 1], ext) == 0) |
◆ start_file_server()
esp_err_t start_file_server |
( |
const char * |
base_path | ) |
|
function to start the file server
- Parameters
-
base_path | the local base path to serve files from (eg. "/spiffs") |
- Returns
- error value
Definition at line 429 of file webserver.c.
◆ update_display()
void update_display |
( |
void |
| ) |
|
◆ goal
goal temp for the system to aim for
Definition at line 71 of file main.c.
◆ over
margin above goal temp at which to turn relay off
Definition at line 74 of file main.c.
◆ temp
current temp
Definition at line 72 of file main.c.
◆ under
margin below goal temp at which to turn relay on
Definition at line 73 of file main.c.