For usage within C/C++ projects, the code can be cloned and build by adding the folder to a CMake project.
The code can be built as follows (starting from the repository's root):
cd build cmake .. make
In order to install a static as well as a shared library run:
The following compile-flags for CMake are supported:
DEBUG: Enables the output of debug information.
XLAP: Enables the cross layer timing analysis tool, which captures traces of packets throughout PRRT. The solution can be found at here.
We provide a DEBUG build type for CMake. You can use it by typing:
cmake .. -DCMAKE_BUILD_TYPE=DEBUG
While the core protocol is written purely in C/C++, Cython is used to provide pythonic bindings for PRRT.
pip3 install Cython==0.27.3
The protocol can be installed system-wide as follows:
python3 setup.py install