   message += config.config_version;
   message += "\n";
 
+  for(int i = 0; i < MAX_DEVICES; ++i){
+    message += i;
+    message += "  ";
+    message += config.devices[i].name;
+    message += "  ";
+    message += config.devices[i].room;
+    message += "  ";
+    message += config.devices[i].io_type + "  ";
+    message += config.devices[i].io_pins[0] + ",";
+    message += config.devices[i].io_pins[1] + ",";
+    message += config.devices[i].io_pins[2] + ",";
+    message += config.devices[i].io_pins[3];
+    message += "\n";
+  }
+
   message += brokers.Summary();
 
   http_server.send(200, "text/plain", message);

// Maximum number of devices connected to IO pins.
#define MAX_DEVICES 8


enum Io_Type {
  test,




// Configuration
void SetHostname(const char* new_hostname) {
  strncpy(config.hostname, new_hostname, NAME_LEN);
}

void SetDevice(const unsigned int index, struct Connected_device device) {
  if (index < MAX_DEVICES) {
    memcpy(&(config.devices[index]), &device, sizeof(device));
  }
}


// mDNS
Brokers brokers(QUESTION_SERVICE);

void answerCallback(const mdns::Answer* answer) {
  brokers.ParseMDnsAnswer(answer);
}
mdns::MDns my_mdns(NULL, NULL, answerCallback);


