Multiple clients running at the same time
Posted: Fri Nov 10, 2017 4:03 am
I am trying to use an ESP8266 module to talk to an MQTT server and Google Sheets. I have experienced some flakiness, but I'm not sure why. The MQTT stuff I've had running (use PubSub library) for months, and it seems rock solid. The Google Sheets stuff(using the HTTPSRedirect library) seems fairly solid, but only if the debugging is enabled, which causes a bunch of stuff to be printed on the serial terminal(I'm assuming the extra delays this incurs "fix" some problem?) . So is there any reason why the PubSub client and the HTTPSRedirect client could or should not co-exist? Apparently the HTTPSRedirect libray uses the WiFiClientSecure lib, whereas the PuSub does not(as far as I know).
Maybe I should investigat using the latest HTTPSRedirect library, but I wanted to check that I'm not trying to do something monumentally stupid before throwing more effort at this(the main effort is endless testing for reliablity).
Maybe I should investigat using the latest HTTPSRedirect library, but I wanted to check that I'm not trying to do something monumentally stupid before throwing more effort at this(the main effort is endless testing for reliablity).