Accessing CONNACK properties #338
Replies: 1 comment 9 replies
-
Hi there! Yes, we're currently ignoring the CONNACK properties completely. I'd be very happy to see request/response fully functional in aiomqtt 🙂 For PUBLISH messages we receive from the broker, we currently expose all properties via I'd like to only expose CONNACK properties that are useful to the user. What CONNACK properties apart from response information do you think might be useful to access? Some unsorted thoughts:
I'd be super happy to hear what you think! |
Beta Was this translation helpful? Give feedback.
-
I'm looking to access MQTT v5 properties sent by the server in CONNACK, primarily Response Information, but access to others may be useful, too. The only way I found is hooking into
aiomqtt.Client._on_connect()
, e.g.:This is obviously undesirable because it's using (and modifying) internal API. Am I missing something, or is this currently missing from the API? This seems like a key piece for MQTT v5 request/response.
Beta Was this translation helpful? Give feedback.
All reactions