Skip to content

How to access to retain flag value after received a message with async_receive ? #42

@MelvinWarnet

Description

@MelvinWarnet

Hello,

I'm new to this library and to MQTT in general. But I search a lot and don't find any answer to my question.

After receiving a message from my broker I want to check if this one was a retain message or not. I thought that it will exist a manner to access to the retain flag value of the message received but I didn't find anything like this.

Please tell me if I have not be clear enough.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions