diff --git a/OpenMQTTGateway.ino b/OpenMQTTGateway.ino index 9371b5b..2883026 100644 --- a/OpenMQTTGateway.ino +++ b/OpenMQTTGateway.ino @@ -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 diff --git a/User_config.h b/User_config.h index 5a01352..8bca695 100644 --- a/User_config.h +++ b/User_config.h @@ -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"; diff --git a/tests/Test_config.h b/tests/Test_config.h index e41ff90..872af81 100644 --- a/tests/Test_config.h +++ b/tests/Test_config.h @@ -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";