[ns] hi about LAR

2008-02-29 Thread
Hello every one, Recently, I got one project related on location-based routing protocol, is there anybody get that source code of LAR in ns2? please send me one copy for reference, I will appreciate it. thanks alot in advance. yours, suser __

[ns] about Zigbee routing module

2008-02-26 Thread
Dear Friends: Here, I am wondering on your 802.15.4 module. That is when I want to assign a tree address to the joining device, we will get into the "void SSCS802_15_4::MLME_ASSOCIATE_indication" function, here I want to to assign the address by calling the zbr agent function .

[ns] about call the routing agent in mac layer in wireless node

2008-02-26 Thread
Dear all: I want to define a ZBRP *zbr in constructor of sscs, so I can call the zbr function freely. in node config -adhocrouting aodv \ -mac mac802.15.4 \ how can I do that, because the zbr agent has been constructed when node was making in [ns node] thanks alot in advance

[ns] about setting the mobile node color

2008-01-24 Thread
Dear all Today, I want to set my mobile nodes to color for {set i 0} {$i < $val(nn) } {incr i} { set node_($i) [$ns_ node] $node_($i) random-motion 0 $node_($i) color blue $node_($i) label mobible } here label "mobile" can turn up, but color is still black. what is the problom I als

[ns] where is the "hdr_flags" constructed?

2008-01-22 Thread
hi all, I saw the hdr_flags* hf = hdr_flags::access(p); hf->ecn_capable_ = 0; hf->ecn_ = 0; hf->eln_ = 0; hf->ecn_to_echo_ = 0; hf->fs_ = 0; hf->no_ts_ = 0; hf->pri_ = 0; hf->cong_action_ = 0; hf->qs_ = 0; in the Agent::initpkt(Packet* p) const but I can not find the hdr_flags defini

[ns] zigbee routing

2008-01-09 Thread
hi all NSers, I am doing the research work on Zigbee Routing,there is IEEE802.15.4 modules, but there is no zigbee routing modules in ns2 now, is there anybody doing the similar work now or before?In Zigbee Spec. there r many interfaces between NWK Layer and MAC layer(APS), if I want to make m