openaicellular / oaic

Core software for Open AI Cellular
https://openaicellular.github.io/oaic/
GNU General Public License v3.0
65 stars 23 forks source link

OAIC UE problem #135

Open k94077087 opened 1 year ago

k94077087 commented 1 year ago

1.We want to set up a 5G environment for OAIC. Currently, we have two USRP devices, namely N210 and X310. We have successfully configured the X310 as an en-gNB. However, when we attempt to connect the N210 as a UE to the X310, the connection fails. We would like to inquire if the N210 can be used as a UE in this environment.

2.The official documentation mentions using COTS as a UE, but there is only a title and no content provided. We would like to inquire if this approach is feasible, and if so, whether it requires a blank SIM card and a SIM card writer. Additionally, is there a website or resource available for specific parameter settings?

jgaeddert commented 1 year ago
  1. The N210 should definitely be able to connect; although I don't think we have that setup here in the lab so I cannot test/confirm.
  2. The COTS UE testing is a work in progress. Mostly this is building upon srsRAN's work, so we're currently at the mercy of their capabilities in this regard.
k94077087 commented 1 year ago

I tried to use N210 as UE, but there was an error. The parts I modified were "type" and "clock". The result is shown in the figure below. How should I fix this error? thank you . Screenshot from 2023-10-05 12-46-28 Screenshot from 2023-10-05 12-46-48

jgaeddert commented 1 year ago

I believe srsRAN is just passing the --rf.device_args flag directly to the UHD. I hate to pass the buck on this, but I think this is an issue with how you're configuring the USRP. Maybe just try:

--rf.device_args=type=usrp2

or maybe just specify the serial number:

--rf.device_args=serial=<insert serial number here>
k94077087 commented 1 year ago

trouble 1.We tried following the solution you provided , but still encountered the same error . Do I need to modify the parameters in the later part , such as sample_rate .... ?

2.By the way, N210 comes with the UBX-40 daughterboard. If it's confirmed that N210 is not suitable, is it feasible to use B200-mini as a UE instead?

3.Do UE and gNodeB need to synchronize the reference clock and PPS ? If required, is the reference clock and PPS signal sent from gNodeB to UE, or is it sent from a specific device to both gNodeB and UE?