Skip to content

The answer from server was not transmitted in full #141

Description

@MIHU1965

The answer from server was not transmitted in full. Insert continue;

void waitForServerResponse () {
//Ankommende Bytes ausgeben
boolean repeat = true;
do {
if (client.available()) {
char c = client.read();
Serial.print(c);
continue;
}
//Verbindung beenden
if (!client.connected()) {
Serial.println();
Serial.println("--------------");
Serial.println("Disconnecting.");
Serial.println("--------------");
client.stop();
repeat = false;
}
} while (repeat);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions