Hello everybody:
I want to use Wifi-adhoc so I used wifi-simple-adhok.cc in the ns3 examples and then added to it (#include "ns3/netanim-module.h") and AnimationInterface anim ("WIFI.xml") in order to display the simulation, and everything It's ok but when I increase the numPackets more than one, the simulation displays only one packet and stops, what I want is for the simulation to run according to the number of packages I want, and I tried a lot but to no avail, can anyone help me and thank you very much.
Link for wifi-simple-adhok.cc:
https://signetlabdei.github.io/lorawan-docs/html/wifi-simple-adhoc_8cc.html