Back to plain MQTT URL

This commit is contained in:
Sergey Lyubka 2024-11-28 08:50:32 +00:00
parent 78900304bf
commit 8a42325c23

View File

@ -1,7 +1,7 @@
#include <SoftwareSerial.h> #include <SoftwareSerial.h>
#include "mongoose.h" #include "mongoose.h"
#define MQTT_SERVER "mqtts://broker.hivemq.com:8883" #define MQTT_SERVER "mqtt://broker.hivemq.com:8883"
#define MQTT_SUB_TOPIC "mg/rx" // Subscribe to this topic #define MQTT_SUB_TOPIC "mg/rx" // Subscribe to this topic
#define MQTT_PUB_TOPIC "mg/tx" // Publish to this topic #define MQTT_PUB_TOPIC "mg/tx" // Publish to this topic