Skip to content
This repository has been archived by the owner on May 17, 2019. It is now read-only.

hangs on waiting #31

Open
giorgio80 opened this issue May 9, 2019 · 0 comments
Open

hangs on waiting #31

giorgio80 opened this issue May 9, 2019 · 0 comments

Comments

@giorgio80
Copy link

Sometimes , due to I think unreliable connection socket seems to hang on this loop:

I got firstly an error in parsing object , then everything hangs on :

while ((socket_client->connected() && !socket_client->available())) {
delay(100);
Serial.println("Waiting..." );
}

got an infinite Waiting loop. This happens randomly but when it hangs it's sketch end as it never go out from loop. it would not be better to have a timeout on this?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant