libpaho-mqtt

Eclipse Paho C client library for MQTT protocol messaging

brewmacoslinux
Try with needOr install directly
Source

About

Eclipse Paho C client library for MQTT

Commands

libpaho-mqtt

Examples

Include the library in a C project to connect to an MQTT broker$ gcc -o mqtt_client client.c -lpaho-mqtt3c
Link against the library with pkg-config to get compile flags$ pkg-config --cflags --libs libpaho-mqtt
Use in CMake project by finding and linking the package$ find_package(paho-mqtt3c REQUIRED) and target_link_libraries(myapp paho-mqtt3c)