-
Notifications
You must be signed in to change notification settings - Fork 167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mqtt 5.0 Request Response using emqtt library. How set Properties? #195
Comments
Hello, Can you provide how set Properties ? Thx. Luca |
Did you find an answer to this? I'm also wondering how to set the response topic. |
just set in Properties map, take a look in emqtt_props.erl. |
Thank you. Right, I can set 'Response-Topic' to a string, and I now see this logged when I publish:
But when another client receives this I don't see any properties:
Shouldn't I see the Response-Topic as a property when I receive the message? Or is there another way to get it? Note: I'm using Elixir. |
Did you connect using MQTT protocol version 5? {:ok, c} = :emqtt.start_link(proto_ver: :v5, ...) |
Great tip! I thought I did, but realized I only did so in one of the clients, not the other. Now it works 👍 |
No description provided.
The text was updated successfully, but these errors were encountered: