[ns] Adding Some Custom Information in Mobile node

2013-02-14 Thread arungupta2008
Hello , I am Arun Kumar Gupta i am writing a MANET routing protocol , so i am making changes in DSR and doing my Work . for this i want to add some information in the Mobile node like node_status , y (these are some variables which will be used in my Thesis ) i tried but it didn't worked i defi

Re: [ns] Adding Some Custom Information in Mobile node

2013-02-15 Thread arungupta2008
I got the solution , there was not error in Coding , problem with my TCL file i was not declaring node as a Dsr node . for { set i 0 } { $i < $opt(nn) } { incr i } { #set node_($i) [$ns node] $node_($i) random-motion 0 ;# disable random motion $god_ new_node $node_($i) } i added t

[ns] Adding Random Time Out

2013-02-27 Thread arungupta2008
Hello , I am making some changes in DSR routing Protocol , i am sending(Broadcasting ) a customized DSR packet to their neighbor then neighbor starts the timeout i want that time for every node should be random , i am trying but not getting random for every node . Any Suggestions please up

[ns] How to add Some information in Mobile Node

2013-03-05 Thread arungupta2008
Hello , I got some mails by asking how to add "some information in mobile nodes?" so this is just an informational Post not a questionnaire . Let's take an example you want to add an information like Node_Status in every mobile node so first understand that for this there are some critical f

Re: [ns] How to add Some information in Mobile Node

2013-03-08 Thread arungupta2008
On Sat, Mar 9, 2013 at 11:33 AM, nwenwe htaywin wrote: Dear Sir, I still get error. I am not clear the last statement in your post. now you are ready to call from protocol file (dsr , aodv) when you want to acess that access like that God::instance()->get_status(node_id); //any where in protoco