No, you can inherit a module in the network
network wirelessLAN
{
parameters:
num_station=input(10,"Number of mobile stations");
submodules:
nodes[num_station]: IEEE { }
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
connections:
for i=0..num_station-1 {
sta[i].out[i] --> { datarate = 11000000Mbps; } --> freespace.in[i];
freespace.out[i] --> sta[i].in[i];
clk[i].out[i] --> sta[i].Cin[i];
}
ap.out --> { datarate = 11000000Mbps; } --> freespace.APin;
freespace.APout --> ap.in;
freespace.APout --> attacker.in;// @display("m=m,95,63,47,28");
attacker.out --> { datarate = 11000000Mbps; } --> freespace