Commit faa66870 authored by rubuntun's avatar rubuntun

connect to the Iris through its serial number in the conf file

parent d0996837
...@@ -390,8 +390,8 @@ extern "C" { ...@@ -390,8 +390,8 @@ extern "C" {
// Initialize Iris device // Initialize Iris device
device->openair0_cfg = openair0_cfg; device->openair0_cfg = openair0_cfg;
// add ip to cfg so that we can add to args char* remote_addr = device->openair0_cfg->remote_addr;
std::string args = "driver=remote,remote:prot=tcp"; std::string args = "driver=remote,serial="+std::string(remote_addr);
s->iris = SoapySDR::Device::make(args); s->iris = SoapySDR::Device::make(args);
......
...@@ -144,6 +144,23 @@ eNBs = ...@@ -144,6 +144,23 @@ eNBs =
} }
); );
rrh_gw_config = (
{
local_if_name = "eth0";
remote_address = "00005";
local_address = "10.224.20.21";
local_port = 50000; #for raw option local port must be the same to remote
remote_port = 50000;
rrh_gw_active = "yes";
tr_preference = "raw";
rf_preference = "iris030";
iq_txshift = 4;
tx_sample_advance = 103;
tx_scheduling_advance = 9;
}
);
NETWORK_INTERFACES : NETWORK_INTERFACES :
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment