Skip to content

marcoieni/aca_project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Advanced Computer Architectures Project

Project for Advanced Computer Architecture course of M.Sc. Computer Science and Engineering at Politecnico di Milano. It consists in using MQTT to modify extra-functional requirements in adaptive application.

Make sure to read the presentation first.

Installation

Sender

The sender only depends on the external library paho-mqtt, so to install it simply use:

$ pip install paho-mqtt

Then to run the sender:

$ python shell.py

Receiver

GSList

The GS list lib does not depend on external libraries, just make sure to follow the C++11 ISO language standard when you compile it [-std=c++11].

MQTTReceiver

The MqttReceiver depends on the following libraries:

You can include them in this order. Also, make sure to follow the C++11 ISO language standard when you compile it [-std=c++11].

mARGOt example

The code/receiver/margot directory contains some files that you have to substitute to the ones contained in the tutorial of the mARGOt project.

So you have to substitute the code/receiver/margot/config directory with the config directory of the tutorial and the code/receiver/margot/src/main.cpp file with the main file of the tutorial.

After you do this, you have to edit the CMake file in order to include the following libraries:

You can include them in this order.

After that, follow the tutorial instructions to correctly execute the example.

About

Project for Advanced Computer Architecture course of M.Sc. Computer Science and Engineering at Politecnico di Milano. It consists in using MQTT to modify extra-functional requirements in adaptive application.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors