nrNFAPI.md 1.13 KB
Newer Older
Mahesh's avatar
Mahesh committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
# Procedure to run nFAPI in 5G NR

## Conributed by 5G Testbed IISC 
### Developers: Sudhakar B,Mahesh K,Gokul S,Aniq U.R

## Procedure to Build gNB and UE

The regular commands to build gNB and UE can be used
```
sudo ./build_oai --gNB --UE

```
## Procedure to run NR nFAPI using RF-Simulator

### VNF command
```
Mahesh's avatar
Mahesh committed
17
sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/rcc.band78.tm1.106PRB.nfapi.conf --nfapi 2 --noS1 --phy-test
Mahesh's avatar
Mahesh committed
18 19 20 21

```
### PNF command
```
Mahesh's avatar
Mahesh committed
22
sudo ./nr-softmodem -O ../../../targets/PROJECTS/GENERIC-LTE-EPC/CONF/oaiL1.nfapi.usrpx300.conf --nfapi 1 --rfsim --phy-test --rfsimulator.serveraddr server
Mahesh's avatar
Mahesh committed
23 24 25 26 27 28 29 30 31 32 33 34 35

```
### UE command
```
sudo RFSIMULATOR=127.0.0.1 ./nr-uesoftmodem --rfsim --phy-test --rrc_config_path . -d

```
## Procedure to run NR nFAPI using Hardware
Will be updated as we have not yet currently tested on hardware

## Notes
* In order to acheive the synchronization between VNF and PNF and receive the P7 messages within the timing window the order in which we should run the modules on different terminals is UE->VNF->PNF
* Currently only downlink is functional and working as we are still working on uplink functionality