LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (http://www.linuxquestions.org/questions/programming-9/)
-   -   GPSR routing protocol on ns2.34 (http://www.linuxquestions.org/questions/programming-9/gpsr-routing-protocol-on-ns2-34-a-4175451112/)

farfattou 02-21-2013 08:07 AM

GPSR routing protocol on ns2.34
 
hi,
I'm just simulating the GPSR patch for ns-2.34.
I find some intersting results:
1)for this patch, there is no localisation service used
2) the most important, the protocol doesn't consider the mobility of nodes:
I simulate 2 nodes X(10,1,0) and Y(270, 1, 0) with transmission range 250m
I mouved the Y to the range of X but Y still don't receive data sent from X
so can any one tell me what to do because I need to make simulation with mobile nodes
thkx

knudfl 02-21-2013 11:26 AM

Some info : Google .. gpsr mobility ns2 ..
https://www.google.com/webhp?hl=all#...r+mobility+ns2
From what I read (I may be wrong) there's no "mobility" in the the current gpsr code.
( Though you have ns-2.33/tcl/mobility/gpsr.tcl ).
But mobility methods are mentioned in some of the hits.


Google .. gpsr mobility ns3 .. : Code is available for ns-3
https://bitbucket.org/lalithsuresh/n...f9fdb/examples
$ hg clone https://bitbucket.org/lalithsuresh/ns-3-gpsr (1): 79.6 MB.

http://code.google.com/p/ns3-gpsr/so...d1c06213957d4d
$ hg clone https://code.google.com/p/ns3-gpsr/ (2): 92.8 MB
( May be this one is just the latest version : They look quite identical.)

-

farfattou 02-21-2013 03:11 PM

hi knudfl,
thkx for your reply but regarding to other posts (#17) at this link
http://www.linuxquestions.org/questi...526/page2.html
we mentioned that it's possible to get the mobility of nodes in nam file besides when we create nodes we suggest "mobile nodes":

for {set i 0} {$i < $opt(nn) } {incr i} {
gpsr-create-mobile-node $i
}

So,I presume that GPSR support the mobility of nodes but when I simulate it with "wireless-gpsr.tcl" and one "setdest" command at the scenario file, it doesn't work (as I mentioned earlier)

any suggestions

knudfl 02-21-2013 03:55 PM

# 3 :

I have tried the suggestion in the referred post # 17, but it didn't work.
And : I am not a coder, and have no solution.

farfattou 02-22-2013 02:58 AM

ok knudfl
I'm very grateful for everything
:)


All times are GMT -5. The time now is 03:44 AM.