Skip to content

A MQTT Client based off of mosquittopp.

License

Notifications You must be signed in to change notification settings

sitara-systems/sitara-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sitara MQTT

A MQTT Client based off of Eclipse Paho. The MQTT protocol provides a lightweight method of carrying out messaging using a publish/subscribe model. This makes it suitable for Internet of Things messaging such as with low power sensors or mobile devices such as phones, embedded computers or microcontrollers.

Requirements

This library uses:

  • paho-mqtt-c
  • paho-mqtt-cpp

The easiest way to get these is via vcpkg:

The included vcpkg.json should automatically download and build the dependencies for all examples in here. This block also requires cinder to be in an adjacent folder for the cinder dependencies to be found automatically:

parentFolder/
    sitara-mqtt/
    cinder/

Use the included vcpkg.json as a jumping off point for adding this block into other projects!

Examples

Certificate Authority

TLS Certificates are from the Mozilla CA Certificate Store. The file was downloaded from curl (to get it in a compatible .pem format) on 22 July 2020.

Inside of your cinder app, you can add the path to the file using ci::app::addAssetDirectory().