|
|
| 315 |
# |
315 |
# |
| 316 |
# Let's set up some ns-2-like ascii traces, using another helper class |
316 |
# Let's set up some ns-2-like ascii traces, using another helper class |
| 317 |
# |
317 |
# |
| 318 |
#std.ofstream ascii |
318 |
#ascii = ns3.ofstream("mixed-wireless.tr") |
| 319 |
#ascii.open("mixed-wireless.tr") |
319 |
#ns3.WifiHelper.EnableAsciiAll(ascii) |
| 320 |
#WifiHelper.EnableAsciiAll(ascii) |
320 |
#ns3.CsmaHelper.EnableAsciiAll(ascii) |
| 321 |
#CsmaHelper.EnableAsciiAll(ascii) |
|
|
| 322 |
print "(tracing not done for Python)" |
321 |
print "(tracing not done for Python)" |
| 323 |
# Look at nodes 11, 13 only |
322 |
# Look at nodes 11, 13 only |
| 324 |
# WifiHelper.EnableAscii(ascii, 11, 0); |
323 |
# WifiHelper.EnableAscii(ascii, 11, 0); |