update Makefiles and symlinks

This commit is contained in:
Sergio R. Caprile committed 2023-02-22 16:38:21 -03:00
1 parent 2c6fc99c68
commit ddbfa06bcc
18 files changed
+134 -53

No files matched your search

+5 -1
View File
@@ -4,7 +4,11 @@
#include "mongoose.h"
#if !defined(MQTT_SERVER)
#define MQTT_SERVER "mqtt://broker.hivemq.com:1883"
#if MG_ENABLE_MBEDTLS || MG_ENABLE_OPENSSL
#define MQTT_SERVER "mqtts://broker.hivemq.com:8883"
#else
#define MQTT_SERVER "mqtt://broker.hivemq.com:1883"
#endif
#endif
#define MQTT_PUBLISH_TOPIC "mg/my_device"
#define MQTT_SUBSCRIBE_TOPIC "mg/#"