Closed dogrocker closed 9 years ago
Use the set_will() method on a Connect object.
client.connect(MQTT::Connect("ESP8266").set_will("status", "down"));
Should I put this in an example, or document the use of these objects and methods more? Or both?
Thanks @Imroy for fast response. Sorry for my mistake I just scan with lwt, last will
key word.
I think it will be good for beginner if you can docs all api in readme.md
.
I didn't found Last Will Testament yet in the Pubsubclient API function.
So do you will add this function soon ?
Thanks.