Hi, I'm having problems with subscribing to a topic that starts with "command"

Even just using the command line clients, _pub and _sub, I never see messages 
to "command/+" but it works fine for 
"other/+" and so on.

See this console snippet

Listener Window....
C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_sub.exe -d -h localhost -t 
'command/+' -t "hatred/+"
Received CONNACK
Received SUBACK
Subscribed (mid: 1): 0
Received SUBACK
Subscribed (mid: 2): 0
Received PUBLISH (d0, q0, r0, m0, 'hatred/90A2DA002044', ... (19 bytes))
90A2DA002044,STATUS
Received PUBLISH (d0, q0, r0, m0, 'hatred/90A2DA002044', ... (19 bytes))
90A2DA002044,STATUS
Sending PINGREQ
Received PINGRESP


Publisher Window....
C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t 
"command/90A2DA002044" -m 
90A2DA002044,STATUS
C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t 
"hatred/90A2DA002044" -m 
90A2DA002044,STATUS
C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t 
"hatred/90A2DA002044" -m 
90A2DA002044,STATUS
C:\tools\mosquitto-0.10.1-win32-bin>mosquitto_pub.exe -h localhost -t 
"command/90A2DA002044" -m 
90A2DA002044,STATUS
C:\tools\mosquitto-0.10.1-win32-bin>

Note, messages sent to the topic: "hatred/blah" succeed, but not to 
"command/blah"

I've experimented with different combinations, it doesn't seem to the be length 
of the parent topic, 
"longlonglonglonglong/blah" works just fine, as does "cmd/blah"  it doesn't 
seem to be the numeric first character of the 
subtopic either, as it works on other topics.  I feel like I'm going insane a 
little bit here, because I'm pretty sure I had it 
working with command/blah earlier this week.

I've tried with both mosquitto 0.9.2 and 0.10.1, but both behave the same way.

Any ideas?

_______________________________________________
Mailing list: https://launchpad.net/~mqtt-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mqtt-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to