mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 12:06:58 +03:00
* defines changes * Finish #define move + #define STBI_ONLY_JPEGsave 2% of Flash * remove the defines on the old places * ClassFlowCNNGeneral in define.h * revert to origin * fix translation not ready
19 lines
664 B
C++
19 lines
664 B
C++
#ifdef ENABLE_MQTT
|
|
|
|
#include "ClassFlowDefineTypes.h"
|
|
|
|
void SetHomeassistantDiscoveryEnabled(bool enabled);
|
|
void mqttServer_setParameter(std::vector<NumberPost*>* _NUMBERS, int interval, float roundInterval);
|
|
void mqttServer_setMeterType(std::string meterType, std::string valueUnit, std::string timeUnit,std::string rateUnit);
|
|
void setMqtt_Server_Retain(int SetRetainFlag);
|
|
void mqttServer_setMainTopic( std::string maintopic);
|
|
std::string mqttServer_getMainTopic();
|
|
|
|
void register_server_mqtt_uri(httpd_handle_t server);
|
|
|
|
void publishSystemData();
|
|
|
|
std::string getTimeUnit(void);
|
|
void GotConnected(std::string maintopic, int SetRetainFlag);
|
|
|
|
#endif //ENABLE_MQTT
|