Hi Marco,Follow your guidance,i read the LteEnbNetDevice::UpdateConfig() function and change some parameters ,now the ENB can update its own parameters in simulation process.Such as ulBandwidth,dlBandwidth,ulEarfcn,dlEarfcn.
I use this method as shown before:
static void SetDl_UlEarfcn(Ptr< NetDevice > enbLteDevs, uint16_t dlEarfcn, uint16_t ulEarfcn)
{
Ptr<LteEnbNetDevice> newLteEnbNetDevice = enbLteDevs->GetObject<LteEnbNetDevice> ();
newLteEnbNetDevice->SetDlEarfcn (dlEarfcn);
newLteEnbNetDevice->SetUlEarfcn (ulEarfcn);
}
Simulator::Schedule (Seconds (3.0), &SetDl_UlEarfcn, enbLteDevs.Get(0), 120, 18200);
When the simulation time arrive,the Schedule will do change.But the APP can only TX data,can not RX data from remoteHost.
Before schedule,the data TX and RX normally(see 2.png). But when time to schedule and ENB finish updateConfig, the data lose its way back(see 1.png, 3.png).
It seems the UE need to reconnect to ENB and update to new link.
I read the source code but do not know where to modify to achieve RX.
Could you give me a guidance? Hope my expression is clear.
Any help is appreciate!
Best Regard,
Hongyu.