 String stassid = "";
 String stapass = "";
 String mqtt_channel = "";
+String mqtt_fname = "";
 String mqtt_user = "";
 String mqtt_pass = "";
 
 WiFiManagerParameter mqttchannel("mqttchannel", "MQTT Channel",(const char*)mqtt_channel.c_str(), MQTT_CLEN);
+WiFiManagerParameter mqttfname("mqttfname", "MQTT Name",(const char*)mqtt_fname.c_str(), MQTT_FLEN);
 WiFiManagerParameter mqttuser("mqttuser", "MQTT User", (const char*)mqtt_user.c_str(), MQTT_ULEN);
 WiFiManagerParameter mqttpass("mqttpass", "MQTT Password",(const char*)mqtt_pass.c_str(), MQTT_PLEN);
 

 */
#define MQTT_CLEN 80 // channel string length
#define MQTT_ULEN 10 // username length
#define MQTT_PLEN 10 // password length  

#define DEBUG 1


          stassid = String((const char*)json["sta_ssid"]);
          stapass = String((const char*)json["sta_pass"]);
          mqtt_channel = String((const char*)json["mqtt_channel"]);
          mqtt_fname = String((const char*)json["mqtt_fname"]);
          mqtt_user = String((const char*)json["mqtt_user"]);
          mqtt_pass = String((const char*)json["mqtt_pass"]);
          
