mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 12:36:52 +03:00
* Trigger flow start by Rest API * Increase handlers * Update * Update * Update * Change max handlers * Add debug message * Trigger flow start by MQTT * Update * Remove unused function * Remove handler_doflow + routines * Cleanup * MergeCheck
32 lines
659 B
C++
32 lines
659 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();
|
|
|
|
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
|