-
Notifications
You must be signed in to change notification settings - Fork 0
/
static_net.ned
38 lines (36 loc) · 1.37 KB
/
static_net.ned
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import inet.networklayer.configurator.ipv4.Ipv4NetworkConfigurator;
import inet.node.inet.StandardHost;
import inet.physicallayer.ieee802154.packetlevel.Ieee802154NarrowbandScalarRadioMedium;
import inet.physicallayer.ieee802154.packetlevel.Ieee802154NarrowbandScalarRadio;
import inet.linklayer.ieee802154.Ieee802154NarrowbandInterface;
import inet.visualizer.integrated.IntegratedMultiVisualizer;
import inet.mobility.static.StationaryMobility;
network IEEE_802154_Net
{
parameters:
@display("bgb=600,500;bgg=100,1,grey95");
@figure[title](type=label; pos=0,-1; anchor=sw; color=darkblue);
int num = default(65);
submodules:
visualizer: IntegratedMultiVisualizer {
@display("p=550,450");
}
configurator: Ipv4NetworkConfigurator {
@display("p=550,250");
}
radioMedium: Ieee802154NarrowbandScalarRadioMedium {
@display("p=550,50");
}
slave[num]: StandardHost {
parameters:
@display("i=misc/node2_vs");
numWlanInterfaces = default(1);
wlan[*].typename = "Ieee802154NarrowbandInterface";
}
master: StandardHost {
parameters:
@display("p=250,250");
numWlanInterfaces = default(1);
wlan[*].typename = "Ieee802154NarrowbandInterface";
}
}