How to discover version of the client installed?

702 views
Skip to first unread message

James Savage

unread,
Oct 29, 2015, 9:16:27 PM10/29/15
to MQTT
I installed mosquitto on Rasbian some time ago and I want to know what version I am running.  
For similar reasons I would like to know what version is running at test.mosquitto.org?

I am hoping that there a simple way I can find out via the command line?

Does this help?
pi@xxx /usr/bin $ ls -l mos*
-rwxr-xr-x 1 root root 18836 Jan  9  2013 mosquitto_pub
-rwxr-xr-x 1 root root 15100 Jan  9  2013 mosquitto_sub

Thanks,

James

Dougie Lawson

unread,
Oct 30, 2015, 6:16:10 AM10/30/15
to mq...@googlegroups.com
If you run mosquitto_sub -t \$SYS/broker/version
the version on Raspbian Jessie will respond with
mosquitto version 1.3.4

That's an MQTT v3.1 broker.

If you need Mosquitto 1.4.4 with websockets you'll need to build it from source code.

BTW, questions about specific brokers should not be directed to this list, MQ...@googlegroups.com is for a discussion of the protocol not a discussion of implementations of the protocol.

Regards, Dougie

Regards, Dougie

--
To learn more about MQTT please visit http://mqtt.org
---
You received this message because you are subscribed to the Google Groups "MQTT" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mqtt+uns...@googlegroups.com.
To post to this group, send email to mq...@googlegroups.com.
Visit this group at http://groups.google.com/group/mqtt.
For more options, visit https://groups.google.com/d/optout.



--

J & P Savage

unread,
Oct 30, 2015, 7:05:19 AM10/30/15
to mq...@googlegroups.com

Thanks Dougie. Exactly what I was after. Appologies for being off topic.

You received this message because you are subscribed to a topic in the Google Groups "MQTT" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mqtt/z8yFzL7RuKI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mqtt+uns...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages