MainFlowControl.h 676 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #ifndef MAINFLOWCONTROL_H
  3. #define MAINFLOWCONTROL_H
  4. #include <esp_log.h>
  5. #include <string>
  6. #include <esp_http_server.h>
  7. #include "CImageBasis.h"
  8. #include "ClassFlowControll.h"
  9. extern ClassFlowControll flowctrl;
  10. void register_server_main_flow_task_uri(httpd_handle_t server);
  11. void CheckIsPlannedReboot();
  12. bool getIsPlannedReboot();
  13. void StartMainFlowTask();
  14. void DeleteMainFlowTask();
  15. bool isSetupModusActive();
  16. int getCountFlowRounds();
  17. #ifdef ENABLE_MQTT
  18. esp_err_t MQTTCtrlFlowStart(std::string _topic);
  19. #endif //ENABLE_MQTT
  20. esp_err_t GetRawJPG(httpd_req_t *req);
  21. esp_err_t GetJPG(std::string _filename, httpd_req_t *req);
  22. #endif //MAINFLOWCONTROL_H