Hi,
I'm working on my of 6LoWPAN protocol operating principles depending on the transmission distance. Now I'm using LrWpanNetDevice.
Now I'm using MobilityHelper but when I change DeltaX and DeltaY, nothing changes (data transmission time at least).
Here is an extract of my code:
------------------------------------------------------------------------------------------------
double m_step = 100;
CommandLine cmd;
cmd.AddValue ("step", "Size of edge in our grid (meters)", m_step);
...
MobilityHelper mobility;
mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
mobility.SetPositionAllocator ("ns3::GridPositionAllocator",
"MinX", DoubleValue (0.0),
"MinY", DoubleValue (0.0),
"DeltaX", DoubleValue (m_step),
"DeltaY", DoubleValue (m_step),
"GridWidth", UintegerValue (30),
"LayoutType", StringValue ("RowFirst"));
mobility.SetMobilityModel ("ns3::ConstantPositionMobilityModel");
mobility.Install (nodes);
------------------------------------------------------------------------------------------------
I need to change PHYSICAL distance between nodes so I can get some parameters changes.
Is it possible to do in ns-3? I will appreciate your help as soon as possible!