Hi, Stan: I read the slides distributed with the wpan modules, but I can only find some descriptions for the commands and cannot find answers to my questions. I'll look for papers and may get the answer to the question no.2, but I don't think I can find any clues to the others. I read one of his paper, it says that 0.2% per is adopted, but it doesn't mention how to implement.
======= 2006-03-31 12:18:32 Stan Lin wrote: ======= >Hi, > > Some of your questions can be answered by their >readme file or the paper published by the authors, >Best luck, >--- Bruce Who <[EMAIL PROTECTED]> wrote: > >> >> > Hi, all: >> >> Recently I begin to learn how to use ns2 to run wpan >> simulations, and stumbled >> by some problems, hope someone could help me out. >> >> 1)I found there are some commands like this: >> eval $ns_ attach-agent \$node_($src) \$udp_($src) >> >> why don't we just use this command? >> >> $ns_ attach-agent $node_($src) $udp_($src) >> >> 2) for this command >> $node sscs startCTDevice <isFFD = 1> <assoPermit = >> 1> <txBeacon = 0> >> <beaconOrder = 3> <SuperframeOrder = 3> >> >> what does assoPermit mean? >> >> 3) I ran wpan_demo2.tcl and found that all extended >> addresses of nodes are >> [0]. Is it necessary to set the address to >> different values by ourselves? >> >> 4) I ran "nam wpan_demo2.nam" and found that data >> stream is only seem between >> PANCoor(node0) and node1. But we have such >> statements in the wpan_demo2.tcl >> script: >> >> ftptraffic 0 1 $appTime1 >> ftptraffic 0 3 $appTime3 >> ftptraffic 0 5 $appTime5 >> >> So why could no communications be seen between node0 >> and node3/node5? >> >> 5) And how to set lossmodel for nodes in wpan? I >> tried following code, but it >> doesn't work: >> >> set loss_module [new ErrorModel] >> $loss_module set rate_ 0.01 >> $loss_module unit pkt >> $loss_module ranvar [new RandomVariable/Uniform] >> $loss_module drop-target [new Agent/Null] >> eval $ns lossmodel $loss_module \$node_($src) >> \$node_($dst) >> >> Any help would be appreciated! Thanks in advance! >> >> >> >> Best regards, >> >> Bruce Who >> >> > > >C.K. Stan Lin >Ph.D. Student >SIS, University of Pittsburgh > > > >__________________________________________________ >Do You Yahoo!? >Tired of spam? Yahoo! Mail has the best spam protection around >http://mail.yahoo.com = = = = = = = = = = = = = = = = = = = = Best regards, Bruce Who 2006-03-31