From 14d8accf37169191af8f26b9e18db345105bae15 Mon Sep 17 00:00:00 2001 From: Kartik Arora Date: Wed, 31 Jan 2018 01:34:37 +0530 Subject: [PATCH] Add URL option for MQTT broker in example sketch (#1033) --- examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino b/examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino index 0cc91ca..4fe945f 100644 --- a/examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino +++ b/examples/GatewayESP8266MQTTClient/GatewayESP8266MQTTClient.ino @@ -100,6 +100,9 @@ // MQTT broker ip address. #define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68 +//MQTT broker if using URL instead of ip address. +// #define MY_CONTROLLER_URL_ADDRESS "test.mosquitto.org" + // The MQTT broker port to to open #define MY_PORT 1883