A complete tutorial on how to deploy a dApp can be found on the OpenRAN Gym website. Please refer to that guide to instrument your system.
Clone the repository
hatch build
pip3 install dist/*.tar.gz
OAI should start before running the dApp
python3 examples/spectrum_dapp.py
This dApp implements a spectrum sharing use case discussed in our paper.
The dApp can be controlled through the following command-line arguments:
ota
bool (false): If true, use the OAI and spectrum configurations for OTA else use the ones of Colosseumcontrol
bool (false): If set to true, performs the PRB maskingenergy-gui
bool (false): If set to true, creates and show the energy spectrumiq-plotter-gui
bool (false): If set to true, creates and show the sensed spectrumsave-iqs
bool (false): Specify if this is data collection run or not. In the first case I/Q samples will be savedtimed
bool (false): Run with a 5-minute time limit
If you use the dApp concept and/or the framework to develop your own dApps, please cite the following paper:
@ARTICLE{lacava2025dApps,
author={Andrea Lacava and Leonardo Bonati and Niloofar Mohamadi and Rajeev Gangula and Florian Kaltenberger and Pedram Johari and Salvatore D'Oro and Francesca Cuomo and Michele Polese and Tommaso Melodia},
title: {dApps: Enabling Real-Time AI-Based Open RAN Control},
url={https://arxiv.org/pdf/2501.16502},
year={2025}
}