igg2
igg2
Even if Adafruit IO sets the retain flag by default, it doesn't make sense for the retain flag to be a per-connection setting lumped together with will() in this library....
I see, so the retain message in will() refers only to the will message. That makes more sense. Since Adafruit IO has retain on by default for all messages, we...
So that totally works, except that now if you do have more than one subscription, it fails in mqtt.connect() with "Failed to subscribe". That seems kind of harsh, since now...
You don't have to modify the example sketch (mqtt_esp8266) for it to use retain, it'll just do it, assuming you're using the current master branch (with commit 79dd624). I don't...