Go to file
2019-02-28 16:56:15 +00:00
.github
client Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
doc
docker Bump Docker version. 2019-02-08 13:01:07 +00:00
examples
installer Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
lib Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
logo
man Make include_dir sort usefully case sensitive. 2019-02-13 22:55:15 +00:00
misc/currentcost
security
service
snap Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
src Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
test Fix delayed bridge local subs causing missing messages. 2019-02-28 15:38:15 +00:00
www Info on mqtt5 release. 2019-02-14 10:51:54 +00:00
.gitignore Add website. 2018-09-20 09:34:16 +01:00
.travis.yml
about.html
aclfile.example
appveyor.yml
buildtest.py Add rewritten build test script and remove some build warnings. 2019-02-12 13:24:54 +00:00
ChangeLog.txt Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
CMakeLists.txt Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
compiling.txt Documentation fixes. 2018-08-16 14:15:58 +01:00
config.h Fix building where TLS-PSK is not available. 2018-12-11 10:55:31 +00:00
config.mk Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
CONTRIBUTING.md update links for signing ECA, fix indentation 2018-09-29 07:49:20 +01:00
edl-v10
epl-v10
libmosquitto.pc.in
libmosquittopp.pc.in
LICENSE.txt
Makefile
mosquitto.conf Make include_dir sort usefully case sensitive. 2019-02-13 22:55:15 +00:00
Mosquitto.podspec
notice.html
pskfile.example
pwfile.example
readme-windows.txt
readme.md
set-version.sh Update changelog, bump version, bump copyright year. 2019-02-28 16:56:15 +00:00
THANKS.txt
travis-configure.sh Better attempt at fixing mac travis. 2018-09-25 14:25:02 +01:00
travis-install.sh

Eclipse Mosquitto

Mosquitto is an open source implementation of a server for version 3.1 and 3.1.1 of the MQTT protocol. It also includes a C and C++ client library, and the mosquitto_pub and mosquitto_sub utilities for publishing and subscribing.

See the following links for more information on MQTT:

Mosquitto project information is available at the following locations:

There is also a public test server available at http://test.mosquitto.org/

Installing

See http://mosquitto.org/download/ for details on installing binaries for various platforms.

Quick start

If you have installed a binary package the broker should have been started automatically. If not, it can be started with a basic configuration:

mosquitto

Then use mosquitto_sub to subscribe to a topic:

mosquitto_sub -t 'test/topic' -v

And to publish a message:

mosquitto_pub -t 'test/topic' -m 'hello world'

Documentation

Documentation for the broker, clients and client library API can be found in the man pages, which are available online at http://mosquitto.org/man/. There are also pages with an introduction to the features of MQTT, the mosquitto_passwd utility for dealing with username/passwords, and a description of the configuration file options available for the broker.

Detailed client library API documentation can be found at http://mosquitto.org/api/

Building from source

To build from source the recommended route for end users is to download the archive from http://mosquitto.org/download/.

On Windows and Mac, use cmake to build. On other platforms, just run make to build. For Windows, see also readme-windows.md.

If you are building from the git repository then the documentation will not already be built. Use make binary to skip building the man pages, or install docbook-xsl on Debian/Ubuntu systems.

Build Dependencies

  • c-ares (libc-ares-dev on Debian based systems) - disable with make WITH_SRV=no
  • libuuid (uuid-dev) - disable with make WITH_UUID=no
  • libwebsockets (libwebsockets-dev) - enable with make WITH_WEBSOCKETS=yes
  • openssl (libssl-dev on Debian based systems) - disable with make WITH_TLS=no
  • xsltproc (xsltproc and docbook-xsl on Debian based systems) - only needed when building from git sources - disable with make WITH_DOCS=no

Credits

Mosquitto was written by Roger Light roger@atchoo.org

Master: Travis Build Status (master) Develop: Travis Build Status (develop) Fixes: Travis Build Status (fixes)