Hi, everybody
I'm having an error due to the type packets received in McUeNetDevice node in a network with dual conectivity (Lte - mmWave). I ran the programm in the gdb debugger and got the following:
************* UPDATING CHANNEL MATRIX (instance 9) *************
m_lteOutputFilename LteSwitchStats.txt
UE register to enb 1
UE register to enb 2
UE register to enb 2
aborted. msg="McUeNetDevice::Receive - Unknown IP type...", file=../src/mmwave/model/mc-ue-net-device.cc, line=417
terminate called without an active exception
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
the following is the portion of the code that generates the packages:
uint16_t dlPort = 1234;
uint16_t ulPort = 2000;
uint16_t otherPort = 3000;
ApplicationContainer clientApps;
ApplicationContainer serverApps;
for (uint32_t u = 0; u < ueNodes.GetN (); ++u)
{
++ulPort;
++otherPort;
PacketSinkHelper dlPacketSinkHelper ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), dlPort));
PacketSinkHelper ulPacketSinkHelper ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), ulPort));
PacketSinkHelper packetSinkHelper ("ns3::UdpSocketFactory", InetSocketAddress (Ipv4Address::GetAny (), otherPort));
serverApps.Add (dlPacketSinkHelper.Install (ueNodes.Get (u)));
serverApps.Add (ulPacketSinkHelper.Install (remoteHost));
serverApps.Add (packetSinkHelper.Install (ueNodes.Get (u)));
UdpClientHelper dlClient (ueIpIface.GetAddress (u), dlPort);
dlClient.SetAttribute ("Interval", TimeValue (MicroSeconds (interPacketInterval)));
dlClient.SetAttribute ("MaxPackets", UintegerValue (0xFFFFFFFF));
UdpClientHelper ulClient (remoteHostAddr, ulPort);
ulClient.SetAttribute ("Interval", TimeValue (MicroSeconds (interPacketInterval)));
ulClient.SetAttribute ("MaxPackets", UintegerValue (0xFFFFFFFF));
clientApps.Add (dlClient.Install (remoteHost));
}
serverApps.Start (Seconds (0.01));
clientApps.Start (Seconds (0.01));
-_________________________________________________________
please help me....
thanks
--Jose