1. Home
  2. Browse
  3. mosquitto

mosquitto

v2.0.22#1Latest

Mosquitto is an open source message broker that implements the MQ Telemetry Transport protocol versions 3.1 and 3.1.1, MQTT provides a lightweight method of carrying out messaging using a publish/subscribe model, This makes it suitable for machine to machine messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers like the Arduino

Install

Run the following Vcpkg command to install the port.

vcpkg install mosquitto

Usage

mosquitto provides CMake targets:

find_package(unofficial-mosquitto CONFIG REQUIRED)

# C bindings

target_link_libraries(main PRIVATE unofficial::mosquitto::mosquitto)

# C++ bindings

target_link_libraries(main PRIVATE unofficial::mosquitto::mosquittopp)

mosquitto provides pkg-config modules:

# mosquitto MQTT library (C bindings)

libmosquitto

# mosquitto MQTT library (C++ bindings)

libmosquittopp

Dependencies

See source

Version

v2.0.22#1

Publication

Supports

!uwp

GitHub

eclipse/mosquitto

Homepage

mosquitto.org

Subtree

a038c0e2ab

License

EPL-2.0

Definition

Manifest