Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/antromeo/pablitto-client
pablitto-client is a library of MQTT v3.1.1
https://github.com/antromeo/pablitto-client
mqtt
Last synced: 27 days ago
JSON representation
pablitto-client is a library of MQTT v3.1.1
- Host: GitHub
- URL: https://github.com/antromeo/pablitto-client
- Owner: antromeo
- Created: 2020-05-29T08:22:18.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-08-30T16:00:15.000Z (over 2 years ago)
- Last Synced: 2024-11-10T19:17:41.216Z (2 months ago)
- Topics: mqtt
- Language: C++
- Homepage:
- Size: 441 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# pablitto-client
![alt text](https://github.com/antromeo/pablitto-client/blob/master/logo/pablitto.png)
pablitto-client is an library of MQTT v3.1.1 (http://docs.oasis-open.org/mqtt/mqtt/v3.1.1/os/mqtt-v3.1.1-os.html)
The library was tested on Debian 10 buster
## how to use it
1) Install cmake:
```
sudo apt install cmake
```
2) git clone:```
git clone https://github.com/antromeo/pablitto-client.git
```
3) Build
```
cd pablitto-client
mkdir cmake-debug-files
cd cmake-debug-files
cmake ..
make
```
4) publitto_pub, publitto_sub are examples that exchange strings as payloads. libpablitto.a is static library.## how to use pablitto_pub
open a terminal in cmake-debug-files and type:
```
./pablitto_pub --help
```## how to use pablitto_sub
open a terminal in cmake-debug-files and type:
```
./pablitto_sub --help
```
## how to use libpablitto.a
supposing to use gcc and put the files in include and the libpablitto.a file in the same directory, open a terminal and type:
```
g++ your_app.cpp -o -L . -lpablitto
```
in your_app include ``#include "pablittoMQTT.hh" `` and use API, visit the doc
Playlist YouTube: https://www.youtube.com/watch?v=shWXoqBa2OY&list=PLcJaq9O6tuqb-dEidWH7ExByMqrzLxRYN