mosquitto-dev team mailing list archive
-
mosquitto-dev team
-
Mailing list archive
-
Message #00097
Re: [Question #136821]: Sample MQTT SUBSCRIBE MESSAGE
Question #136821 on mosquitto changed:
https://answers.launchpad.net/mosquitto/+question/136821
Status: Open => Answered
Roger Light proposed the following answer:
Are you specifying the length of the topic string? That's the only bit I
can see that's missing.
You can use test/packet-gen.c to get example command packets. I've just
modified it to do subscribe commands. You'll have to get the latest code
from the repository at http://bitbucket.org/oojah/mosquitto - see
specifically http://bitbucket.org/oojah/mosquitto/src/tip/test/packet-
gen.c
--
You received this question notification because you are a member of
Mosquitto Dev, which is an answer contact for mosquitto.