[ns] Reg Timer Handler Functions

2010-03-28 Thread jaya vignesh
Hi, I would like to know the functioning of timer handler functions like resched and handle?? What is use of these? Also, in my routing code, when i attach any traffic to my node like [cbr(0) start] in my tcl, automatically i should invoke a beaconing procedure function, where that

[ns] Reg Dynamic Power adjustment in Ns2

2010-01-16 Thread jaya vignesh
Hi, I am working on a geographic energy efficient forwarding(routing) cross layer approach for WSN as per 802.15.4 MAC/PHY standard.I have a requirement to simulate using discrete power levels in ns2 where nodes will be configured with default power level.An on-demand requirement for node to

[ns] Print Route table in trace file

2009-09-30 Thread jaya vignesh
Hi All, Can anyone guide me how to print the routing table of a particular node when scheduled from the tcl script. in the main cc file, 1: int 2: Protoname::command(int argc, const char*const* argv) { 3: if (argc == 2) { 4: if (strcasecmp(argv[1], start) == 0) { 5:

[ns] Reg Energy Model in NS2

2009-09-04 Thread jaya vignesh
Hi All, I want to clear some of my basic queries of energy model implementation in ns2. The rxpower and txpower values can be set in watts for power consumption of transmission and reception of each packet. How is the et: energy consumed in transmitting packets er: energy consumed in receiving

[ns] Reg Shadowing Model Parameters setup in Ns2

2009-08-29 Thread jaya vignesh
Hi All,   I need to setup a shadowing propogation model in my simulation script and i need to restrict the recieving power threshold to 15 m.   Could you please list me out the parameters to be set to restrict my transmission power of say 1mw to around 15m reception.?   Thanks, Jayavignesh

[ns] Problem in Shadowing model implementation in Ns2

2009-08-29 Thread jaya vignesh
Hi All, I am trying to switch to Shadowing model in my simulation from the Two ray ground model. My parameters set for the simulation were for a path loss exponent of 2.5,S.D of 4,Reference Distance of 1, Pt was set to .001W and RXthreshold and carrier sense threshold was set to 15m for a

[ns] Problem in Shadowing model implementation in Ns2

2009-08-29 Thread jaya vignesh
Hi All, I am trying to switch to Shadowing model in my simulation from the Two ray ground model. My parameters set for the simulation were for a path loss exponent of 2.5,S.D of 4,Reference Distance of 1, Pt was set to .001W and RXthreshold and carrier sense threshold was set to 15m for a

[ns] Error when invoking new routing protocol through tcl script

2009-08-23 Thread jaya vignesh
Hi All, i have implemented a new routing protocol abiding the instructions given in the Implementing a new Manet unicast routing protocol in ns2 doc. I have included the packet type,agent details etc in the ns-lib.tcl,ns-packet.tcl,ns-default.tcl and also in common/packet.h. added the

[ns] Installing diff versions of Ns2 in the same linux machine

2009-07-23 Thread jaya vignesh
Hi, I am using ubuntu 8 version and currently installed ns 2.31. I need to install two more versions 2.28 and 2.30 in the same linux machine as the patches support for these versions only. can i create two more users and install each version in each user profile? Will backward compatibility