|
|
### C/C++
|
|
|
## C/C++
|
|
|
|
|
|
#### Compilation
|
|
|
### Compilation
|
|
|
|
|
|
For usage within C/C++ projects, the code can be cloned and build by adding the folder to a [CMake](https://cmake.org/) project.
|
|
|
|
... | ... | @@ -17,11 +17,17 @@ 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](http://xlap.larn.systems).
|
|
|
|
|
|
### Python
|
|
|
## Python
|
|
|
|
|
|
While the core protocol is written purely in C/C++, [Cython](http://cython.org/) is used to provide pythonic bindings for PRRT.
|
|
|
|
|
|
#### Setup
|
|
|
### Prerequisites
|
|
|
|
|
|
```bash
|
|
|
pip install Cython
|
|
|
```
|
|
|
|
|
|
### Setup
|
|
|
|
|
|
The protocol can be installed system-wide as follows:
|
|
|
|
... | ... | |