[ns] Bluetooth extension to ns-2?

2010-11-27 Thread John Adams
Hi, > Does anyone have a link to the Bluetooth extension for ns-2? Anything that works with v2.34? > Thanks, John

[ns] Multiple movement patterns

2010-03-23 Thread John Adams
Hi, Does any one know if there is a way to define multiple movement patterns in a wireless simulation. For instance if I have 20 nodes and I want 10 of them to have a movement pattern generated in one file and the last 10 of them have the movement pattern generated in another file. Is there any w

[ns] Wireless old trace format does not show dropped packets?

2010-03-08 Thread John Adams
I am observing a lot of lines beginning with "d -t" when I set ns2 to trace in the new wireless format but it does not show me anything when I set it to the old trace format. I was expecting to see lines beginning with "D". Does anyone know why this is happening? Also, are there any scripts for t

[ns] Variable values always revert back (or never change)

2010-03-01 Thread John Adams
Hi, I am noticing something weird. I tried implementing set and get function for variables like RXThresh_ and Pt_ defined in wireless-phy.cc. These functions were implemented in ns-mobile.tcl so that I can change these through the node class. When I try to change the values, I can observe that th

[ns] Epidemic model in ns2?

2010-02-19 Thread John Adams
Hi, Does anyone know if there is a way to simulate an epidemic model like SIR in ns2? I am more interested in nodes communicating and getting infected based on the infection model. Any suggestions? Thanks, John

[ns] Any way I can get notified upon event completion?

2009-08-20 Thread John Adams
Hi, I was wondering if there was a way to call a C++ function upon an event completion. For instance, if I schedule a TCP flow from node 0 to node 1 at say 5.0 seconds, I would like TCL to call a C++ function to notify when this event is completed i.e. after some x bytes have been transferred...

[ns] Question about adding Wired and Wireless interface to a node

2009-08-20 Thread John Adams
Hi, I am trying to simulate a scenario where a node would have both a wired and a wireless interface. Is this possible in ns2 or do I have to apply some patches to make it work? I have essentially seen pure wired and wired mixed with wireless using a base station situation but I think that is not