added simple publish method with retained flag#34
added simple publish method with retained flag#34doebi wants to merge 2 commits intoImroy:masterfrom
Conversation
|
This is exactly what I was missing - why is this not merged? |
|
i have no idea... looks like Imroy is kind of inactive atm. but you can use my branch for now, as long as there is no newer commit or this gets finally merged. |
|
Sorry for the question, Thanks
|
|
This is actually a question about the protocol itself and not this client implementation. The man-page of mqtt, which can be found at http://mosquitto.org/man/mqtt-7.html defines retained messages as follows:
Hope this helps. ;) |
|
@doebi, do you think you could add a simple http://docs.platformio.org/en/latest/librarymanager/creating.html#at-github |
|
Retain is already present in the new publish mqtt class, imroy maybe want to use MQTT:: instead of the original publish method of this lib ? In the homepage of this github repo he write: New features A whole set of MQTT classes has been added, one for each message type. This moved a good amount of code out of the PubSubClient class, leaving it to handle the high-level flow of the protocol. The MQTT classes handle getting data into and out of the messages. |
No description provided.