You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 17, 2020. It is now read-only.
Hello, I would like to have dynamic subscriptions.
On certain action subscription should be created, it is done by MqttClient::subscribe.
And on another action this subscription should be deleted (as I understand MQTT has UNSUBSCRIBE message for that).
And I just realized that I can't see any method for unsubscribing.
Is there any solution for this?
Thanks.
The text was updated successfully, but these errors were encountered:
Unsubscribe does have an implementation in the mqtt311 lib and I have been able to get a branch sending and recieving unsubacks. I think I may have to do some more logic to let rumqtt know that i've unsubbed but it looks as if I no longer get the pubs from that channel.
Actually, with mqtt311 0.2 (the last one) it hits unimplemented. It is an mqtt311 issue but at the moment if you call rumqtt::MqttClient::unsubscribe it panics.
At the moment it is not yet implemented, try callng rumqtt::MqttClient::unsubscribe, it will hit unimplemented here:
Hello, I would like to have dynamic subscriptions.
On certain action subscription should be created, it is done by
MqttClient::subscribe
.And on another action this subscription should be deleted (as I understand MQTT has
UNSUBSCRIBE
message for that).And I just realized that I can't see any method for unsubscribing.
Is there any solution for this?
Thanks.
The text was updated successfully, but these errors were encountered: