-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
If I put the next line: client.closeStream(result);, the "setup" function is executed many times!... and when I don't close the stream (I mean, when I don't put that piece of code), setup goes fine... but a few minutes more, I cannot connect with the server.
here is my code:
FILE* result = client.postURI(uri, NULL, data, header );
//int returnCode = client.getLastReturnCode();
if (result != NULL) {
client.closeStream(result); // <--- that line is the problem.
Serial.println("sent");
}
that code is in the loop function.
Hope can help me
Metadata
Metadata
Assignees
Labels
No labels