 
   Serial.print("Sent telegram of ");
   Serial.print(size);
-  Serial.print(" bytes");
+  Serial.println(" bytes");
+
   return true;
 }
 


  Serial.println("Opening P1 port");
  p1.begin(115200);
  p1.setTimeout(1000 /* milliseconds */);

  Serial.print("Connecting to wifi [");
  WiFi.begin(WIFI_SSID, WIFI_PASSWORD);

        if (b == '\n') state++; else state = 0;
    }

    if (state == 9) {
      readGarbage(true);
      return i;
    }
  }

  Serial.print("Telegram buffer overflow after ");
  Serial.print(size);
  Serial.println(" bytes");

  readGarbage(false);

  return 0;
}

