mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-09 13:06:54 +03:00
Rolling - 202-12-03
This commit is contained in:
30
code/main/server_main.h
Normal file
30
code/main/server_main.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef SERVER_MAIN_H
|
||||
#define SERVER_MAIN_H
|
||||
|
||||
#include <esp_wifi.h>
|
||||
#include <esp_event.h>
|
||||
#include <esp_log.h>
|
||||
#include <esp_system.h>
|
||||
#include <nvs_flash.h>
|
||||
#include <sys/param.h>
|
||||
#include "nvs_flash.h"
|
||||
#include "tcpip_adapter.h"
|
||||
#include "esp_eth.h"
|
||||
|
||||
|
||||
#include <esp_http_server.h>
|
||||
|
||||
static const char *TAG = "server-main";
|
||||
|
||||
extern httpd_handle_t server;
|
||||
|
||||
httpd_handle_t start_webserver(void);
|
||||
|
||||
void register_server_main_uri(httpd_handle_t server, const char *base_path);
|
||||
|
||||
|
||||
//void disconnect_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
|
||||
//void connect_handler(void* arg, esp_event_base_t event_base, int32_t event_id, void* event_data);
|
||||
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user