Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
Makefile
README.md
credentials.h
main.c
mqtt.c
mqtt.h

README.md

Setup Guide for Linux based

This tiny client app aims to subscribe and publish to a topic via maqiatto.com.

Get MQTT client library :

git clone https://github.com/eclipse/paho.mqtt.c.git
cd paho.mqtt.c.git
make
sudo make install

NOTE: Your system may need to have OpenSSL and Curl libraries. If necessary type them :

sudo apt-get install libssl-dev
sudo apt-get install libcurl4-openssl-dev

Go for client code :

git clone git clone https://github.com/cagdasdoner/maqiatto.git
cd maqiatto/linux-based
Change your credentials (broker address, username, pass) under credentials.h.

To compile and run the client code, use type them below :

make
./mqttConnect
You can’t perform that action at this time.