eclipse/paho.mqtt.m2mqtt

Wild cards subscription not receiving messages

TejaswiniiB opened this issue · 1 comments

Hi , wild cards are not working for me with this library . If I subscribe and publish to topic of same string ,it's working. But if I subscribe to YOURTHING/# , and if I publish to YOURTHING/top , I am not receiving any msg. I tested the same with python script, where it was working - so the certs generated are correct.

Thanks !

Hi,
This works for me:
client.Subscribe(new string[] { "something/+/+/status/#" }, new byte[] { MqttMsgBase.QOS_LEVEL_EXACTLY_ONCE });