 };
 
 typedef struct Connected_device {
-  char unique_id[32];
-  char room[32];
+  char name[NAME_LEN];
+  char room[NAME_LEN];
   Io_Type io_type;
   int io_pins[4];
 } Connected_device;
 
 struct Config {
-  char hostname[32];
+  char hostname[NAME_LEN];
   Connected_device devices[MAX_DEVICES];
   char config_version[4];
   // TODO: add WFI ssid and password.

}

void handleConfig() {
  String message = "";
  if (http_server.hasArg("test_arg")) {
    message += "test_arg: " + http_server.arg("test_arg") + "\n";
  }

  http_server.send(200, "text/plain", message);

  if (!mqtt_client.connected()) {
    Serial.println("MQTT disconnected.");
    mqtt_connect();
  }
}
