[ns] measure queue length on wireless
Hello everyone, I am trying to monitor the queue length on wireless under 802.15.4. I have = found that there is a monitor queue that does this job but only for wired= ... Does anyone know how to do it? Please i am stack in this for a month now = and=A0my project isn't moving forward. I=A0have tried numerous things but= =A0all of them had problems. If someone used something and worked I would b= e grateful to know. Thank you in advance! ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
[ns] Exponential traffic
I am trying to create an exponential traffic where packet_size should be 512, rate 250k and poisson packet rate 1 packet/10 sec . I have the following declaration for exponential traffic. What changes should I make? I tried to put 512 in packet size and left everything else the same but I get errors. Is there a CC file that I should change too? Please help me I am totally lost! proc poissontraffic { src dst interval starttime } { global ns_ node_ set udp($src) [new Agent/UDP] eval $ns_ attach-agent \$node_($src) \$udp($src) set null(0) [new Agent/Null] eval $ns_ attach-agent \$node_(0) \$null(0) set expl($src) [new Application/Traffic/Exponential] eval \$expl($src) set packetSize_ 70 eval \$expl($src) set burst_time_ 0 eval \$expl($src) set idle_time_ [expr $interval*1000.0-70.0*8/250]ms ;# idle_time + pkt_tx_time = interval eval \$expl($src) set rate_ 250k eval \$expl($src) attach-agent \$udp($src) eval $ns_ connect \$udp($src) \$null(0) $ns_ at $starttime $expl($src) start Thank you, Fani Greece ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
[ns] wpan 802.15.4
Hello ns users, I am implementing a star topology in 802.15.4 with 20 nodes where node 0 is the PAN coordinator. I want node 0 to act as a sink only and receive packets without sending any to the other nodes. Even though I am using wpan_demo2.tcl form J.Zheng where I assumed that node 0 acts as a sink (as it is indicated in the documentation), form the trace file I get results like the following meaning that node 0 is still sending packets. s 926.403796767 _0_ MAC --- 4554 exp 27 [0 5 0 800] --- [0:2 5:0 30 5] s 926.405044789 _5_ MAC --- 4554 ACK 5 [0 0 5 0] r 926.405396810 _0_ MAC --- 4554 ACK 5 [0 0 5 0] r 926.406036789 _5_ MAC --- 4554 exp 20 [0 5 0 800] --- [0:2 5:0 30 5] Meaning that node 0 sends an exponential packet (as I have poisson traffic) to node 5 which after aknowledgments receives the packet. Does anyone know how and what I should modify to make node 0 to receive only? Please it is urgent. Thank you in advance! Fani ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
[ns] IEEE 802.15.4 non-beacon star topology
Hello everyone, I am trying to implement a star topology using MAC/PHY 802.15.4 in non-enabled beacon mode. I am using wpan_demo2.tcl and trying to do some changes to the original. To set the beacon mode of I have done the following: $ns_ at 0.0 $node_(0) NodeLabel PAN Coor $ns_ at 0.0 $node_(0) sscs startPANCoord 0 3 3 ;# startPANCoord txBeacon=0 BO=3 SO=3 $ns_ at 0.5 $node_(1) sscs startDevice 0 1 0 ;# startDevice isFFD=1 assoPermit=1 txBeacon=0 BO=3 SO=3 $ns_ at 1.5 $node_(2) sscs startDevice 0 1 0 $ns_ at 2.5 $node_(3) sscs startDevice 0 1 0 $ns_ at 3.5 $node_(4) sscs startDevice 0 1 0 $ns_ at 4.5 $node_(5) sscs startDevice 0 1 0 $ns_ at 5.5 $node_(6) sscs startDevice 0 1 0 In the trace file i get the following (just a part of the file of course): s 0.00256 _0_ MAC --- 0 CM7 8 [0 0 0] r 0.003008033 _3_ MAC --- 0 CM7 8 [0 0 0] r 0.003008033 _1_ MAC --- 0 CM7 8 [0 0 0] r 0.003008033 _4_ MAC --- 0 CM7 8 [0 0 0] r 0.003008033 _6_ MAC --- 0 CM7 8 [0 0 0] r 0.003008033 _2_ MAC --- 0 CM7 8 [0 0 0] r 0.003008033 _5_ MAC --- 0 CM7 8 [0 0 0] s 0.14176 _0_ MAC --- 0 CM7 8 [0 0 0] s 0.28192 _0_ MAC --- 0 CM7 8 [0 0 0] s 0.50064 _1_ MAC --- 0 CM7 8 [0 1 0] r 0.501088033 _2_ MAC --- 0 CM7 8 [0 1 0] r 0.501088033 _0_ MAC --- 0 CM7 8 [0 1 0] r 0.501088033 _6_ MAC --- 0 CM7 8 [0 1 0] s 0.501408033 _0_ MAC --- 0 BCN 11 [0 1 0 0] Meaning that all the nodes are sending and receiving beacon requests (CM7) and node 0 sends beacons (BCN) but no other node recieves them. What am I doing wrong? I don't want any node to be sending beacons or beacon requests! Your help would mean a lot to me cause this is giving me a terrible headache! Thanks in advance!!! ___ Χρησιμοποιείτε Yahoo!; Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr