Alberto Capone
Alberto Capone
Sure. But I would like it to receive messages even on first connection without having to disconnect and reconnect to make subscriptions effective. And I can obtain this behaviour if...
Maybe I have not been clear enough. I'll try again. On its first connection my mqtt client: a) tries to subscribe to its topics, b) its subscripitions get recorded on...
I'll be working on it, however so far I can tell you, as a side note, that the ghosting _Client#subscribe_ callback fires at last, for example, on broker _closed_ event.
Ok, this code replicates the issue. I found that it happens only if _my-subscriber_ subscribes to an array (or to an object) of topics. If I go with a single...
_Client#subscribe_ doesn't fail, it _freezes_. So this question has not an answer. However if I close the broker via _Aedes#close_, _Client#subscribe_ finally calls back and _granted_ is 2, as expected.
I tried. Nothing changed.