Set default port to 1883 when using MQTT gateway (#565)
This commit is contained in:
@@ -611,8 +611,12 @@
|
||||
* @brief The Ethernet TCP/UDP port to open on controller or gateway.
|
||||
*/
|
||||
#ifndef MY_PORT
|
||||
#ifdef MY_GATEWAY_MQTT_CLIENT
|
||||
#define MY_PORT 1883
|
||||
#else
|
||||
#define MY_PORT 5003
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Static ip address of gateway (if this is disabled, DHCP will be used)
|
||||
//#define MY_IP_ADDRESS 192,168,178,66
|
||||
|
||||
Reference in New Issue
Block a user