mirror of
https://github.com/alexandrebobkov/ESP-Nodes.git
synced 2025-10-19 12:45:04 +00:00
mqtt
This commit is contained in:
0
ESP32-IDF_Temperture-Node-v2/build/.ninja_lock
Normal file
0
ESP32-IDF_Temperture-Node-v2/build/.ninja_lock
Normal file
@@ -1 +1 @@
|
||||
e15cc48cd377f512386b2620bb413c302af5d4be
|
||||
ae500b26cd917d9ecac79cbc9763362fde8cad83
|
||||
|
@@ -19,6 +19,8 @@ static float humidity_value = 0.0f;
|
||||
|
||||
static char temp_str[6];
|
||||
|
||||
static esp_mqtt_client_handle_t mqtt_client = NULL;
|
||||
|
||||
static void mqtt_publish_task(void *arg) {
|
||||
esp_mqtt_client_handle_t client = (esp_mqtt_client_handle_t)arg;
|
||||
|
||||
|
@@ -9,7 +9,7 @@ static const char* MQTT_TAG = "MQTTronix";
|
||||
#define WIFI_PASSWORD "208208208"
|
||||
static const char* MQTT_BROKER_URI;
|
||||
//static const char* MQTT_TAG;
|
||||
static esp_mqtt_client_handle_t mqtt_client = NULL;
|
||||
//static esp_mqtt_client_handle_t mqtt_client = NULL;
|
||||
|
||||
void mqttronix_update_temp (float temp);
|
||||
|
||||
|
Reference in New Issue
Block a user