MainFlowControl.h 674 B

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