examples/wireless/mixed-wireless.py
changeset 6208 5a0c48fd9efa
parent 5369 86beb5869f67
child 6256 a02c44146209
equal deleted inserted replaced
6207:a6ee8748aee7 6208:5a0c48fd9efa
   325     # WifiHelper.EnableAscii(ascii, 13, 0); 
   325     # WifiHelper.EnableAscii(ascii, 13, 0); 
   326 
   326 
   327     #  Let's do a pcap trace on the backbone devices
   327     #  Let's do a pcap trace on the backbone devices
   328     wifiPhy.EnablePcap("mixed-wireless", backboneDevices)
   328     wifiPhy.EnablePcap("mixed-wireless", backboneDevices)
   329     #  Let's additionally trace the application Sink, ifIndex 0
   329     #  Let's additionally trace the application Sink, ifIndex 0
   330     ns3.CsmaHelper.EnablePcap("mixed-wireless", appSink.GetId(), 0, False)
   330     csma = ns3.CsmaHelper()
       
   331     csma.EnablePcapAll("mixed-wireless", False)
   331 
   332 
   332 #   #ifdef ENABLE_FOR_TRACING_EXAMPLE
   333 #   #ifdef ENABLE_FOR_TRACING_EXAMPLE
   333 #     Config.Connect("/NodeList/*/$MobilityModel/CourseChange",
   334 #     Config.Connect("/NodeList/*/$MobilityModel/CourseChange",
   334 #       MakeCallback(&CourseChangeCallback))
   335 #       MakeCallback(&CourseChangeCallback))
   335 #   #endif
   336 #   #endif