- Delay is about "couple blinks of the eye"
- Delay persists even after some time of operation so I don't think that the delay is related to any sort of wake up procedure
- All messages I am sending are about 10 characters (see code below). I have built a test code with more data, same behavior
@PaulS
- Official WiFi Library (WiFi - Arduino Reference)
- I have almost removed all the code. Now there is only something like this:
void loop() {
while(true) {
...
sprintf(buffer,"%s=%d#", variable, (int)value);
client.write((const uint8_t *)buffer, strlen(buffer)*sizeof(char));
}
}
@MSpijk
The delay persists even after that WiFi shield has been powered for some time
Thank you all guys for your cooperation