Results 14 comments of Ian Tester
trafficstars

I made changes so that it could work with any platform providing a "Client" interface (WiFiClient, EthernetClient, etc). There's nothing really ESP8266 specific that I know of, so calling it...

Yes, the client.loop() method pings the broker regularly. So it's good for keeping the connection up. How recent is your checkout of pubsubclient? There was issue #15 that was fixed...

Okay. A few of my changes yesterday broke the library. I spent today tracking down my stupid errors and fixing them. I hope I didn't cause too much trouble.

Well it's not been tested doing that. But everything is nicely encapsulated and there are no global variables, so it shouldn't be a problem. How are you calling client1.loop() and...