 // Length of name strings. (hostname, room names, lamp names, etc.)
 #define NAME_LEN 32
 
+// Each device has an address in the form 'role/location1/location2/etc'
+// eg: 'lighting/kitchen/worktop/left'.
+#define ADDRESS_SEGMENTS 6
+#define ADDRESS_SEGMENT_LEN 32
+
 
 enum Io_Type {
   test,

  message += "\n";

  for (int i = 0; i < MAX_DEVICES; ++i) {
    if (strlen(config.devices[i].name)) {
      message += i;
      message += "  ";
      message += config.devices[i].name;
      message += "  ";
      message += config.devices[i].room;
      message += "  ";
      if (config.devices[i].io_type == Io_Type::test) {
        message += "test";

  brokers.ParseMDnsAnswer(answer);
}
mdns::MDns my_mdns(NULL, NULL, answerCallback);


// MQTT
