Your new topic does not fit any of the above??? Check first. Then post here. Thanks.

Moderator: igrr

User avatar
By martinayotte
#35459 I don't think it is necessary, since there is an optimistic_yield() in case there is no characters in the buffer.
(Also, I'm using that since months without any WDT issue)

Code: Select allint WiFiClient::available()
{
    if (!_client)
        return false;
    int result = _client->getSize();
    if (!result) {
        optimistic_yield(100);   
    }
    return result;
}