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
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.
While the core protocol is written purely in C/C++, Cython is used to provide pythonic bindings for PRRT.
pip install Cython
The protocol can be installed system-wide as follows:
python setup.py install