esp32/domestic-climate-monitor/main/mqtt.h

9 lines
219 B
C

#ifndef MQTT_H
#define MQTT_H
#include "mqtt_client.h"
esp_mqtt_client_handle_t mqtt_connect();
void mqtt_publish(esp_mqtt_client_handle_t client, char *topic,
const char *payload);
#endif // MQTT_H