void mailMessage(PubSubClient *mqtt_client, std::string topic, std::string message, bool serial_debug=true)
Publish an MQTT message to a topic hosted by a specific broker.
Definition MQTTMailer.cpp:31
void reconnect(PubSubClient mqtt_client)
Attempt to reconnect to MQTT broker every 5 seconds until successful.
Definition MQTTMailer.cpp:48
int reset_count
number of resets retrieved for NVS
Definition scheduler.hpp:31
const bool USB_DEBUG
USB serial debugging enabled.
Definition main.cpp:62