Quantcast
Channel: Intel Communities: Message List
Viewing all articles
Browse latest Browse all 18089

Re: HTTP Connection: close -> if (!client.connected()) - Galileo

$
0
0

I am not sure what you meant but on looking at your code I saw something.


   if (!client.connected()) {

      Serial.println("disconnecting");

      client.stop();

      delay(2000);

      while(true);

    }

The last line (while (true)) will run forever and never exit if it is reached. Perhaps if you remove it you might get the desired functionality.


Viewing all articles
Browse latest Browse all 18089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>