           serverClients[i].stop();
         }
         serverClients[i] = server.available();
-        Serial.print("New client: "); Serial.print(i);
+        Serial.print("New client: "); Serial.println(i);
         continue;
       }
     }

    }
    
    if (payload_state == 1) {
      Serial.print(in, HEX);
      // add it to the inputString:
      input_string[serial_byte_count] = in;
      ++serial_byte_count;

        serial_byte_count = 0;
        payload_state = 2;
        rx_payload.unserialize(input_string);
//        Serial.println();
//        Serial.print(rx_payload.getDeviceId()); Serial.print(", ");
//        Serial.print(rx_payload.getMsgId()); Serial.print(", ");
//        Serial.print(rx_payload.getA()); Serial.print(", ");
//        Serial.print(rx_payload.getB()); Serial.print(", ");
//        Serial.print(rx_payload.getC()); Serial.print(", ");
//        Serial.print(rx_payload.getD()); Serial.print(", ");
//        Serial.print(rx_payload.getE()); Serial.print(", ");
//        Serial.println(rx_payload.getF());
        
      }
    } else {
      // Passthru other serial messages.
      //Serial.print(char(in));
      
    }
  }
