Files
ESPEasy/lib
Gijs Noorlander 8d5b44ca1c [MQTT] Fix change in client.connected() behavior for pubsubclient
See this issue where the changes in behavior for wificlient.connected() is discussed: https://github.com/esp8266/Arduino/issues/6701

A change dating back to April 2018 ( https://github.com/esp8266/Arduino/pull/4626 ) does have some implications on how to interpret the client.connected() result.
It is very well possible there is still data in the buffers waiting to be read.
So the loop() function of pubsubclient should first try to empty the received data and then decide what to do with the connected state.

So reading is fine, if there is data available, but writing needs an extra check.
2019-12-10 10:11:14 +01:00
..
2019-06-10 14:21:00 +03:00
2019-04-06 16:27:43 +03:00
2018-05-27 01:32:40 +02:00