mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
* WLAN: add error handling * WLAN: parameter global struct * WLAN.ini -> more info text * RSSIThreshold * Rename logs * Boot process: error handling * Update texts * Comments * Init sequence * Prepare for check dir creation * add check makedir, update logs * Blink code for OTA+SoftAP * Blink code for missing time snyc * Update * reboot -> switch LED off * Update log texts * Update * Update log texts * create empty default folders at startup * Update * Adapt log level * Print log level switch * Update * Update text * Add SD free space to log * WIFI/MQTT disconnect message set to WARN (+ ERROR)
35 lines
716 B
C++
35 lines
716 B
C++
#pragma once
|
|
|
|
#ifndef SERVERTFLITE_H
|
|
#define SERVERTFLITE_H
|
|
|
|
#include <esp_log.h>
|
|
#include <string>
|
|
|
|
#include <esp_http_server.h>
|
|
#include "CImageBasis.h"
|
|
#include "ClassFlowControll.h"
|
|
|
|
//#include "ClassControllCamera.h"
|
|
|
|
extern ClassFlowControll tfliteflow;
|
|
void register_server_tflite_uri(httpd_handle_t server);
|
|
|
|
void KillTFliteTasks();
|
|
void TFliteDoAutoStart();
|
|
bool isSetupModusActive();
|
|
int getCountFlowRounds();
|
|
|
|
void CheckIsPlannedReboot();
|
|
bool getIsPlannedReboot();
|
|
|
|
esp_err_t GetJPG(std::string _filename, httpd_req_t *req);
|
|
esp_err_t GetRawJPG(httpd_req_t *req);
|
|
|
|
#ifdef ENABLE_MQTT
|
|
std::string GetMQTTMainTopic();
|
|
esp_err_t MQTTCtrlFlowStart(std::string);
|
|
#endif //ENABLE_MQTT
|
|
|
|
#endif //SERVERTFLITE_H
|