remove reference to scratch/ directory in wireless examples
authorTom Henderson <tomh@tomh.org>
Tue, 29 Dec 2009 09:39:52 -0800
changeset 5884 46614fa27eae
parent 5883 c55a30dfe65e
child 5885 d6ee673adda4
child 5886 5d287d08dae3
remove reference to scratch/ directory in wireless examples
examples/wireless/multirate.cc
examples/wireless/wifi-simple-adhoc-grid.cc
examples/wireless/wifi-simple-adhoc.cc
examples/wireless/wifi-simple-infra.cc
examples/wireless/wifi-simple-interference.cc
--- a/examples/wireless/multirate.cc	Mon Dec 28 13:21:13 2009 -0800
+++ b/examples/wireless/multirate.cc	Tue Dec 29 09:39:52 2009 -0800
@@ -30,7 +30,7 @@
  * ./waf --run multirate
  *
  * To compile with commandline(useful for varying parameters or configurations):
- * ./waf --run "scratch/multirate.cc --packetSize=2000 --totalTime=50"
+ * ./waf --run "multirate --packetSize=2000 --totalTime=50"
  *
  * To turn on NS_LOG:
  * export NS_LOG=multirate=level_all
@@ -38,7 +38,7 @@
  *
  * To debug:
  * ./waf --shell
- * gdb ./build/debug/scratch/multirate
+ * gdb ./build/debug/examples/wireless/multirate
  *
  * To view pcap files:
  * tcpdump -nn -tt -r filename.pcap
--- a/examples/wireless/wifi-simple-adhoc-grid.cc	Mon Dec 28 13:21:13 2009 -0800
+++ b/examples/wireless/wifi-simple-adhoc-grid.cc	Tue Dec 29 09:39:52 2009 -0800
@@ -37,7 +37,7 @@
 // There are a number of command-line options available to control
 // the default behavior.  The list of available command-line options
 // can be listed with the following command:
-// ./waf --run "scratch/wifi-simple-adhoc-grid --help"
+// ./waf --run "wifi-simple-adhoc-grid --help"
 //
 // Note that all ns-3 attributes (not just the ones exposed in the below
 // script) can be changed at command line; see the ns-3 documentation.
@@ -47,21 +47,21 @@
 // the default of 500m.
 // To see this effect, try running:
 //
-// ./waf --run "scratch/wifi-simple-adhoc --distance=500"
-// ./waf --run "scratch/wifi-simple-adhoc --distance=1000"
-// ./waf --run "scratch/wifi-simple-adhoc --distance=1500"
+// ./waf --run "wifi-simple-adhoc --distance=500"
+// ./waf --run "wifi-simple-adhoc --distance=1000"
+// ./waf --run "wifi-simple-adhoc --distance=1500"
 // 
 // The source node and sink node can be changed like this:
 // 
-// ./waf --run "scratch/wifi-simple-adhoc --sourceNode=20 --sinkNode=10"
+// ./waf --run "wifi-simple-adhoc --sourceNode=20 --sinkNode=10"
 //
 // This script can also be helpful to put the Wifi layer into verbose
 // logging mode; this command will turn on all wifi logging:
 // 
-// ./waf --run "scratch/wifi-simple-adhoc-grid --verbose=1"
+// ./waf --run "wifi-simple-adhoc-grid --verbose=1"
 //
 // By default, trace file writing is off-- to enable it, try:
-// ./waf --run "scratch/wifi-simple-adhoc-grid --tracing=1"
+// ./waf --run "wifi-simple-adhoc-grid --tracing=1"
 //
 // When you are done tracing, you will notice many pcap trace files 
 // in your directory.  If you have tcpdump installed, you can try this:
--- a/examples/wireless/wifi-simple-adhoc.cc	Mon Dec 28 13:21:13 2009 -0800
+++ b/examples/wireless/wifi-simple-adhoc.cc	Tue Dec 29 09:39:52 2009 -0800
@@ -27,15 +27,15 @@
 // There are a number of command-line options available to control
 // the default behavior.  The list of available command-line options
 // can be listed with the following command:
-// ./waf --run "scratch/wifi-simple-adhoc --help"
+// ./waf --run "wifi-simple-adhoc --help"
 //
 // For instance, for this configuration, the physical layer will
 // stop successfully receiving packets when rss drops below -97 dBm.
 // To see this effect, try running:
 //
-// ./waf --run "scratch/wifi-simple-adhoc --rss=-97 --numPackets=20"
-// ./waf --run "scratch/wifi-simple-adhoc --rss=-98 --numPackets=20"
-// ./waf --run "scratch/wifi-simple-adhoc --rss=-99 --numPackets=20"
+// ./waf --run "wifi-simple-adhoc --rss=-97 --numPackets=20"
+// ./waf --run "wifi-simple-adhoc --rss=-98 --numPackets=20"
+// ./waf --run "wifi-simple-adhoc --rss=-99 --numPackets=20"
 //
 // Note that all ns-3 attributes (not just the ones exposed in the below
 // script) can be changed at command line; see the documentation.
@@ -43,7 +43,7 @@
 // This script can also be helpful to put the Wifi layer into verbose
 // logging mode; this command will turn on all wifi logging:
 // 
-// ./waf --run "scratch/wifi-simple-adhoc --verbose=1"
+// ./waf --run "wifi-simple-adhoc --verbose=1"
 //
 // When you are done, you will notice two pcap trace files in your directory.
 // If you have tcpdump installed, you can try this:
--- a/examples/wireless/wifi-simple-infra.cc	Mon Dec 28 13:21:13 2009 -0800
+++ b/examples/wireless/wifi-simple-infra.cc	Tue Dec 29 09:39:52 2009 -0800
@@ -28,15 +28,15 @@
 // There are a number of command-line options available to control
 // the default behavior.  The list of available command-line options
 // can be listed with the following command:
-// ./waf --run "scratch/wifi-simple-infra --help"
+// ./waf --run "wifi-simple-infra --help"
 //
 // For instance, for this configuration, the physical layer will
 // stop successfully receiving packets when rss drops below -97 dBm.
 // To see this effect, try running:
 //
-// ./waf --run "scratch/wifi-simple-infra --rss=-97 --numPackets=20"
-// ./waf --run "scratch/wifi-simple-infra --rss=-98 --numPackets=20"
-// ./waf --run "scratch/wifi-simple-infra --rss=-99 --numPackets=20"
+// ./waf --run "wifi-simple-infra --rss=-97 --numPackets=20"
+// ./waf --run "wifi-simple-infra --rss=-98 --numPackets=20"
+// ./waf --run "wifi-simple-infra --rss=-99 --numPackets=20"
 //
 // Note that all ns-3 attributes (not just the ones exposed in the below
 // script) can be changed at command line; see the documentation.
@@ -44,7 +44,7 @@
 // This script can also be helpful to put the Wifi layer into verbose
 // logging mode; this command will turn on all wifi logging:
 // 
-// ./waf --run "scratch/wifi-simple-infra --verbose=1"
+// ./waf --run "wifi-simple-infra --verbose=1"
 //
 // When you are done, you will notice two pcap trace files in your directory.
 // If you have tcpdump installed, you can try this:
--- a/examples/wireless/wifi-simple-interference.cc	Mon Dec 28 13:21:13 2009 -0800
+++ b/examples/wireless/wifi-simple-interference.cc	Tue Dec 29 09:39:52 2009 -0800
@@ -59,7 +59,7 @@
 // For instance, for this configuration, the interfering frame arrives
 // at -90 dBm with a time offset of 3.2 microseconds:
 //
-// ./waf --run "scratch/wifi-simple-interference --Irss=-90 --delta=3.2"
+// ./waf --run "wifi-simple-interference --Irss=-90 --delta=3.2"
 //
 // Note that all ns-3 attributes (not just the ones exposed in the below
 // script) can be changed at command line; see the documentation.
@@ -67,7 +67,7 @@
 // This script can also be helpful to put the Wifi layer into verbose
 // logging mode; this command will turn on all wifi logging:
 // 
-// ./waf --run "scratch/wifi-simple-interference --verbose=1"
+// ./waf --run "wifi-simple-interference --verbose=1"
 //
 // When you are done, you will notice a pcap trace file in your directory.
 // If you have tcpdump installed, you can try this: