Increased size of mqtt_pass to char[30] (#288)
* Increased size of mqtt_pass to char[30] * modified test_config.h too
This commit is contained in:
1 parent
c1e13c5d24
commit
d761f1d13a
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -461,7 +461,7 @@ void setup_wifimanager(){
|
||||
WiFiManagerParameter custom_mqtt_server("server", "mqtt server", mqtt_server, 40);
|
||||
WiFiManagerParameter custom_mqtt_port("port", "mqtt port", mqtt_port, 6);
|
||||
WiFiManagerParameter custom_mqtt_user("user", "mqtt user", mqtt_user, 20);
|
||||
WiFiManagerParameter custom_mqtt_pass("pass", "mqtt pass", mqtt_pass, 20);
|
||||
WiFiManagerParameter custom_mqtt_pass("pass", "mqtt pass", mqtt_pass, 30);
|
||||
|
||||
//WiFiManager
|
||||
//Local intialization. Once its business is done, there is no need to keep it around
|
||||
|
||||
+1
-1
@@ -35,7 +35,7 @@
|
||||
//MQTT Parameters definition
|
||||
//#define mqtt_server_name "www.mqtt_broker.com" // instead of defining the server by its IP you can define it by its name, uncomment this line and set the correct MQTT server host name
|
||||
char mqtt_user[20] = "your_username"; // not compulsory only if your broker needs authentication
|
||||
char mqtt_pass[20] = "your_password"; // not compulsory only if your broker needs authentication
|
||||
char mqtt_pass[30] = "your_password"; // not compulsory only if your broker needs authentication
|
||||
char mqtt_server[40] = "192.168.1.17";
|
||||
char mqtt_port[6] = "1883";
|
||||
|
||||
|
||||
+1
-1
@@ -34,7 +34,7 @@
|
||||
//MQTT Parameters definition
|
||||
//#define mqtt_server_name "www.mqtt_broker.com" // instead of defining the server by its IP you can define it by its name, uncomment this line and set the correct MQTT server host name
|
||||
char mqtt_user[20] = "your_username"; // not compulsory only if your broker needs authentication
|
||||
char mqtt_pass[20] = "your_password"; // not compulsory only if your broker needs authentication
|
||||
char mqtt_pass[30] = "your_password"; // not compulsory only if your broker needs authentication
|
||||
char mqtt_server[40] = "192.168.1.17";
|
||||
char mqtt_port[6] = "1883";
|
||||
|
||||
|
||||
Reference in new issue
Block a user