Add: MQTT user / pass
This commit is contained in:
@@ -12,8 +12,11 @@ const char HOSTNAME[] = "ESP8266_VORONOI"; // Friedly hostname
|
||||
#define MQTT_MAX_PACKET_SIZE 256
|
||||
char mqtt_intopic[strlen(HOSTNAME) + 3]; // Topic in will be: <HOSTNAME>/in
|
||||
char mqtt_outtopic[strlen(HOSTNAME) + 4]; // Topic out will be: <HOSTNAME>/out
|
||||
const char mqtt_server[] = "raspberrypi2"; // Hostname of the MQTT broker
|
||||
|
||||
const char mqtt_clientid[] = "ESP8266Client"; // MQTT ClientID
|
||||
const char mqtt_server[] = "raspberrypi2"; // Hostname of the MQTT broker
|
||||
const char mqtt_username[] = ""; // MQTT Username
|
||||
const char mqtt_password[] = ""; // MQTT Password
|
||||
#endif
|
||||
|
||||
// ***************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user