Skip to content

IoT Course designed for Mobiphone Firmware Design Course 2024

License

Notifications You must be signed in to change notification settings

ascii-63/iot-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

iot-course

Requirements:

  1. For Paho MQTT C/CPP library:
sudo apt-get install build-essential gcc make cmake cmake-gui cmake-curses-gui \
&& sudo apt-get install libssl-dev \
&& sudo apt-get install doxygen graphviz
  1. Pkg-Config:
sudo apt-get update 
sudo apt-get install pkg-config

Dependencies:

  1. Paho MQTT C library:
git clone https://github.com/eclipse/paho.mqtt.c.git
cd paho.mqtt.c
git checkout v1.3.13

cmake -Bbuild -H. -DPAHO_ENABLE_TESTING=OFF -DPAHO_BUILD_STATIC=ON \
    -DPAHO_WITH_SSL=ON -DPAHO_HIGH_PERFORMANCE=ON
sudo cmake --build build/ --target install
sudo ldconfig
  1. Paho MQTT CPP library:
git clone https://github.com/eclipse/paho.mqtt.cpp
cd paho.mqtt.cpp

cmake -Bbuild -H. -DPAHO_BUILD_STATIC=ON \
    -DPAHO_BUILD_DOCUMENTATION=ON -DPAHO_BUILD_SAMPLES=ON
sudo cmake --build build/ --target install
sudo ldconfig
  1. JsonCPP:
git clone https://github.com/open-source-parsers/jsoncpp.git
cd jsoncpp
mkdir build && cd build
cmake ..
make
sudo make install
  1. Modbus Library
sudo apt-get install libmodbus-dev

About

IoT Course designed for Mobiphone Firmware Design Course 2024

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published