Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ME TH ' S CODE WR WR TE If DTance ( i , j ) < NRRange, then according to the distance transmission is possible

ME TH'S CODE WR WRTE If DTance (i, j)< NRRange, then according to the distance
transmission is possible from node I through intermediate (In+1)
nodes.
}
else
{
Forward RREQ packets and receive RREP till destination
is not found
}}
else
{
Destination not in range or not found;
}
}
(1)............))+))
i=1,2,3,4,5...n, j=1,2,3,4,5...n(2).................(()/())tan =\theta No. of Nodes = NNn //Total Mobile Nodes
Set Source nodes = Sn //Sn NNn
Set Destination Nodes = Dn // Rn NNn
Intermediate nodes =(NNn -(Sn + Dn ))= In
Routing Protocol =AOMDV
Location Protocol=DREAM
Hybrid Routing = DMR
Start simulation time = t0
End Simulation Time= tn
Radio Range of Mobile Nodes = NRRange; //Initialize
radio range is 250meters
AOMDV Broadcast RREQ (S, R, NRRange)
{
If ((RRange <=550) && (Next_hop information == True)//
Next hop available
{
route_table->insert(rtable->next_hop informatiom); //
Next_hop to RREQ by source
route_table 1->insert(rtable1->next_hop); //
Next_hop to RREQ to destination;
route_table 2...................
route_table 3......................
....................
route_tablen ->insert(route_tablen->next_hopn); //
Next_hopn to RREQ destination
RREP In to S n || RREP In +1 to In
if (Destination==Found)
{
Send Connection Confirmation with extra field of
(Nodes Speed and Location coordinate value) with
rtable1;
Data_Packet (Sender_Node, hop_count,
Destination_Node)//

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions