Skip to content

AkhilTThomas/mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pre-requiste

# install conan package for python , already installed if using devcontainer
pip install conan==1.59.0
# add artifactory remote repository
conan remote add conancenter https://center.conan.io
# Install conan profile
mkdir build && cd build
conan install .. -pr:h ../.conan/profile/linux_x86_64_debug
# build executable
conan build ..

Testing

  • Start the local mqtt server

    Press F1 > Type Tasks: Run task > Select Run MQTT Server - This will pull and start a docker container running mqtt on port 1883

Note: To stop the mqtt server use the Task Stop MQTT Server

  • Install extension VSMqtt (rpdswtk.vsmqtt)
    Add subscriber topic "hello"

  • Run binary
    ./build/bin/publisher

Output

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published