Re: [Mosquitto-users] Wild card

2013-06-05 Thread Stefano Costa
Il 05/06/2013 22:29, Roger Light ha scritto: On Mon, Jun 3, 2013 at 12:08 PM, Roger Light wrote: The current mosquitto code (you really should upgrade) works correctly for subscriptions to # but not for retained messages when subscribing to /# (it returns messages with topics without a leading

Re: [Mosquitto-users] Wild card

2013-06-05 Thread Roger Light
On Mon, Jun 3, 2013 at 12:08 PM, Roger Light wrote: > The current mosquitto code (you really should upgrade) works correctly > for subscriptions to # but not for retained messages when subscribing > to /# (it returns messages with topics without a leading slash). I'll > get that fixed. This shou

Re: [Mosquitto-users] Wild card

2013-06-03 Thread Stefano Costa
On 06/03/2013 01:08 PM, Roger Light wrote: Hi Stefano, The behaviour you describe is incorrect. It is better explained using a longer topic - let's set sensors/temperature sensors/humidity etc. A subscription to sensors/# would match on sensors/temperature, sensors/humidity *and* sensors. If we

Re: [Mosquitto-users] Wild card

2013-06-03 Thread Roger Light
Hi Stefano, The behaviour you describe is incorrect. It is better explained using a longer topic - let's set sensors/temperature sensors/humidity etc. A subscription to sensors/# would match on sensors/temperature, sensors/humidity *and* sensors. If we imagine that a subscription to /# is actuall