dotnet / MQTTnet

MQTTnet is a high performance .NET library for MQTT based communication. It provides a MQTT client and a MQTT server (broker). The implementation is based on the documentation from http://mqtt.org/.
MIT License
4.51k stars 1.07k forks source link

Client - ability to pass UserProperties on connection level in MQTT 5 #843

Closed ZbynekZ closed 4 years ago

ZbynekZ commented 4 years ago

Feature request:

For my application, I need to pass UserProperties in the CONNECT request. There appears to be some support for it in MQTTnet on the protocol level, but I do not see any way to pass in List in IMQttClientOptions.

Many thanks

chkr1011 commented 4 years ago

Yes that makes sense. I will add this as soon as possible.

kcluusb commented 4 years ago

I would like to second this request. We need MQTT 5.0 User Property on PUBLISH support as well.This was a major new feature of MQTT that we are planning to use heavily.

ZbynekZ commented 4 years ago

Re @kcluusb: This issue is specifically about UserProperties in CONNECT.

You have mentioned USER Property on PUBLISH: That is already supported. It had its own problem (#843) which is now supposedly fixed (I haven't gotten to test it yet).

chkr1011 commented 4 years ago

@kcluusb I added this feature in master branch. Please let me know if this works for you. If it does it will be part of release 3.0.10.

SeppPenner commented 4 years ago

I assume that this is fixed now. If not, please tell us and I will re-open this issue :)