eclipse-paho / eclipse-paho/paho.mqtt.python

The reason code and MQTTv5 properties for PUBACK/PUBREC/PUBREL/PUBCOMP are not available to the client code

Open
#595 1 comment 5 reactions 0 assignees View on GitHub
Status: Available Type: Enhancement
Dominant language
Python
Stars
2.4k
Forks
742
Avg merge
12d 48m
Merged PRs (30d)
1

Description

For [PUBACK, PUBCOMP](https://github.com/eclipse/paho.mqtt.python/blob/v1.5.1/src/paho/mqtt/client.py#L3401), [PUBREC](https://github.com/eclipse/paho.mqtt.python/blob/v1.5.1/src/paho/mqtt/client.py#L3297) the reason code and MQTTv5 properties are parsed, but not used in any way. For [PUBREL](https://github.com/eclipse/paho.mqtt.python/blob/v1.5.1/src/paho/mqtt/client.py#L3231) the reason code and MQTTv5 properties are not even parsed.
It would be good to have callbacks for these types of packets so that the client code can analyze the reason code and MQTTv5 properties. PUBACK and PUBCOMP already have `on_publish` callback, but it does not return the necessary data.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.