Skip to content

Emon-Jan/Wrapper_Class

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wrapper collection in CPP - Mosquitto

Wrapper class of mosquitto-lib in cpp.

Installation

  • libmosquitto

How To Use

  • Include the MOSQUITTOWrapper in your project
  • Create an instance MOSQUITTOWrapper mqtt Default parameters are host: localhost, port: 1883, client_id: null, keepalive: 60
  • Default topic: test
  • call the method mqtt.mosquittoLoop()

How to build and run

  • In terminal g++ mosq.cpp MOSQUITTOWrapper.cpp MOSQUITTOWrapper.h -o mosqexe
  • ./mosqexe

Releases

No releases published

Packages

No packages published

Languages