-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
mosquittopp with MQTT v5 RPC Response Topics #2782
Comments
mosquittopp was deprecated because I saw approximately zero use, was extra burden to maintain, was only an extremely thin wrapper around the C library, and the Paho C++ library provided a better C++ experience. After suggesting it was deprecated, there was sufficient interest to reverse the decision - the API documentation is out of date by a reasonable while in that regard. The C++ wrapper has been updated in the |
I tested the C++ bindings and they seem to be working fine. |
Hi,
I'm trying to use MQTT v5 RPC Response Topics with Mosquitto. There is a mosquitto_rr tool supporting it, so I assume the mosquitto lib suopport it (via mosquitto_subscribe_v5 / mosquitto_subscribe_multiple), however I find no way to call it via mosquittopp. I cannot even implement in a child class, because unfortunately the
struct mosquitto *m_mosq;
isprivate:
.What do I do wrongly?
In case it is not possibly, I suggest to:
struct mosquitto *m_mosq;
to beprotected:
or add aprotected:
accessor (getter).I think I'm missing a point, because missing properties would make mosquittopp not MQTT v5 compliant I think, so maybe it is not maintained (?) and nobody is using it? Also the documentation https://mosquitto.org/api/files/cpp/mosquittopp-h.html is quite brief and contains
DEPRECATED
. Is mosquittopp deprecated, and if so, by what?Would it be welcome to propose patches?
Regards,
Steffen
The text was updated successfully, but these errors were encountered: