Skip to content

Commit

Permalink
Examples: Moved parameter assignments into INI file to remove warning…
Browse files Browse the repository at this point in the history
…s in the IDE.
  • Loading branch information
levy committed May 9, 2024
1 parent 1c256f5 commit f6e9955
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
8 changes: 0 additions & 8 deletions examples/wireless/synchronized/Synchronized.ned
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,6 @@ network Synchronized
@display("p=100,200;is=s");
}
node[nodeCount]: AdhocHost {
parameters:
numApps = 1;
app[0].typename = "UdpBasicApp";
app[0].destAddresses = "224.0.0.1";
app[0].localPort = 1;
app[0].destPort = 1;
app[0].messageLength = 100B;
app[0].joinLocalMulticastGroups = true;
}
}

7 changes: 7 additions & 0 deletions examples/wireless/synchronized/omnetpp.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ network = Synchronized
**.constraintAreaMaxY = 400m
**.constraintAreaMaxZ = 0m

*.node[*].numApps = 1
*.node[*].app[0].typename = "UdpBasicApp"
*.node[*].app[0].destAddresses = "224.0.0.1"
*.node[*].app[0].localPort = 1
*.node[*].app[0].destPort = 1
*.node[*].app[0].messageLength = 100B
*.node[*].app[0].joinLocalMulticastGroups = true
**.node[*].app[*].sendInterval = 20ms

#wlan
Expand Down

0 comments on commit f6e9955

Please sign in to comment.