Skip to content

lacca0/mqtt_drafts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mqtt_drafts

This is a sample project for MQTT C++ library https://github.com/eclipse/paho.mqtt.cpp. You need to run a MQTT server (by default on localhost:1883), e.g. mosquitto, and have paho-mqtt library installed.

The clients use timestamps as payload, include their hostname and PID in the MQTT topic. The 'server' (which is a MQTT subscriber client) prints the message statistics from known clients.

Example output

image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published