server_tflite.h 689 B

123456789101112131415161718192021222324252627282930313233
  1. #pragma once
  2. #ifndef SERVERTFLITE_H
  3. #define SERVERTFLITE_H
  4. #include <esp_log.h>
  5. #include <string>
  6. #include <esp_http_server.h>
  7. #include "CImageBasis.h"
  8. #include "ClassFlowControll.h"
  9. //#include "ClassControllCamera.h"
  10. extern ClassFlowControll tfliteflow;
  11. void register_server_tflite_uri(httpd_handle_t server);
  12. void KillTFliteTasks();
  13. void TFliteDoAutoStart();
  14. bool isSetupModusActive();
  15. int getCountFlowRounds();
  16. void CheckIsPlannedReboot();
  17. esp_err_t GetJPG(std::string _filename, httpd_req_t *req);
  18. esp_err_t GetRawJPG(httpd_req_t *req);
  19. #ifdef ENABLE_MQTT
  20. std::string GetMQTTMainTopic();
  21. esp_err_t MQTTCtrlFlowStart(std::string);
  22. #endif //ENABLE_MQTT
  23. #endif //SERVERTFLITE_H