Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 1.47 KB

README.md

File metadata and controls

38 lines (25 loc) · 1.47 KB

simple-mqtt-client

a simple mqtt client with example in main.cpp based on libmosquittopp

Installation:

First you need to install all required dependencies. You can do this with sudo apt-get install cmake libmosquittopp-dev build-essential on Debian or Ubuntu.

Then, all you have to do is create a new folder with mkdir build in the current project folder, change to this folder with cd build and create a makefile
with cmake .. .
Then you can create the executables by simply typing make

Examples:

One example is provided with this library: Link to source code

Other projects

Check out my other projects, for example

Contribute

If you want to add more examples or improve the library, just create a pull request with proper commit message.

Donations

If this project helps you, you can give me a cup of coffee :)

  • Bitcoin
    1LFRHmdxpNNu9N544nAnPZ4VovrEuLUG8M

  • Ethereum
    0x728ec1a37551E55e6127a34eE88E36Ca1BfB6f46

  • Monero
    4APzJpJh4z7RpxwYSfN1rYWeUYWvqRZjA2VDAmvm52quXtMr3XcdcZNSwinRBFQ2MZRBdUhSCiGgfPUv7WUpBmVT3a1zYA3