Add URL option for MQTT broker in example sketch (#1033)
This commit is contained in:
committed by
Patrick Fallberg
parent
8fbdca4452
commit
14d8accf37
@@ -100,6 +100,9 @@
|
|||||||
// MQTT broker ip address.
|
// MQTT broker ip address.
|
||||||
#define MY_CONTROLLER_IP_ADDRESS 192, 168, 178, 68
|
#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
|
// The MQTT broker port to to open
|
||||||
#define MY_PORT 1883
|
#define MY_PORT 1883
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user