Closed JFrandon closed 2 years ago
Hello,
if I understood well, you would like to simulate downlink multicast transmissions. However, unfortunately at the moment Simu5G implements multicast transmissions for device-to-device transmissions only.
Giovanni
Not really.
In this scenario, I have 1 NRUe (ue[0]) sending a UDP packet to the other UEs (ue[1..2]). If I understand correctly that should be a device-to-device transmission.
I put this scenario together by copying simulations/LTE/d2d_multicast/ and porting it to an NR network
Oh, I am sorry, I overlooked the UE acting as sender in your configuration.
You should probably also configure the UEs such that they are "registered" to the multicast group. Please try to change your demo.xml
file as follows:
<config>
<interface hosts='*' address='10.x.x.x' netmask='255.x.x.x'/>
<!-- all D2D-capable UEs participate in the multicast group -->
<multicast-group hosts="ue[*]" interfaces="cellular" address="224.0.0.1"/>
</config>
I added those in but it still doesn't seem to be working (I edited the original post to show this change)
Are you able to reproduce this setup on your end ?
I tried your configuration and I was able to make it work by changing the position of the UEs:
*.ue[0].mobility.initialX = 450m
*.ue[0].mobility.initialY = 350m
*.ue[1..2].mobility.initialX = 450m
*.ue[1..2].mobility.initialY = 360m
You set the same position for all the UEs, and apparently this makes the channel model compute an infinite value for the path loss, hence causing all packets to be dropped at the receivers.
Thanks for the solution, It works now
Hi All,
First of all I realize that I'm probably making a mistake somewhere but I can't figure out why.
I have the following simulation:
omnetpp.ini
With the following network config:
demo.xml
And
ether_tic_toc.apps.udp_send.UdpSendApp
is a UDP app that sends a single packet to the port and destinationBut When I run it it crashes at
LteAmc::existTxParams()
withcRuntimeError("LteAmc::existTxparams(): Unrecognized direction")
Then I tried adding
to my
config.ini
But then it looks like the packet is never sent or receivedI'm using the latest commit of Simu5G, INET 4.4.0 and Omnet 6