From 83b1c397a0d358e0c780feaa8ff393445b74ecec Mon Sep 17 00:00:00 2001 From: Dirk Ziegelmeier Date: Sat, 24 Dec 2016 12:05:27 +0100 Subject: [PATCH] Add #define with default MQTT port for convenience --- src/include/lwip/apps/mqtt.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/lwip/apps/mqtt.h b/src/include/lwip/apps/mqtt.h index 70289903..3d3fcb74 100644 --- a/src/include/lwip/apps/mqtt.h +++ b/src/include/lwip/apps/mqtt.h @@ -46,6 +46,8 @@ extern "C" { typedef struct mqtt_client_t mqtt_client_t; +#define MQTT_PORT 1883 + /*---------------------------------------------------------------------------------------------- */ /* Connection with server */