#ifndef MQTT_H_INCLUDED #define MQTT_H_INCLUDED #include // For uint32_t & uint16_t namespace mqtt { extern char last_successful_publish[]; extern bool connected; void initialize(const char *sensorId); void keepConnection(); void publishIfTimeHasCome(const char *timestamp, const int16_t &co2, const float &temp, const float &hum); void setMQTTinterval(int32_t sending_interval); void sendInfoAboutLocalNetwork(); } #endif