Skip to content

Repository for the CoAP publish-subscribe project for Polimi thesis

Notifications You must be signed in to change notification settings

fpalmese/CoAP-Pub-Sub

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoAP-Pub-Sub

Repository for the CoAP publish-subscribe project for Politecnico di Milano MSc thesis based on the CoAPthon3 Library

Installation

Please use Python version 3.6.9

Install all the requirements in a virtual environment by:

python3 -m venv /path/to/virtual/env 
source /path/to/virtual/env/bin/activate
python3 -m pip install -r requirements.txt

Usage

To run the broker instantiate it and call the start method or run the script with:

python3 broker/broker.py

To run the client instantiate a PSClient object from Client/PSClient.py and call the methods to perform the requests. An example script is contained in testClient.py

Used files

The following files and directories are important for the execution, others not cited down here have been used for testing:

  • /lib directory
  • /broker directory
  • /Client directory

/Client/PSClientTesting.py and /broker/brokerTesting.py contain modified version of the broker and client used for testing purposes.

About

Repository for the CoAP publish-subscribe project for Polimi thesis

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages