espressif / esp-mqtt

ESP32 mqtt component
Apache License 2.0
603 stars 255 forks source link

MQTT Client: get retained flag of message (IDFGH-1583) #121

Closed hd-nguyen closed 5 years ago

hagronnestad commented 3 years ago

I can't see that this issue has been fixed by the related code changes? When receiving an MQTT_EVENT_DATA event in the MQTT event handler, I need a way to see the retained flag status for the relevant message. I can't see that the retained flag is available in the event data passed to the event handler. Is there some other way to get the retained flag for the received message?

I was searching this repo for "retained" and the title in this issue seems perfect for my issue, but it doesn't seem to be correctly closed based on the code changes.