Hi,
In the example for Lr-WPAN "example-ping-lr-wpan.cc", I am not sure if the propagationlossmodel is being set.
The reason I think so is because, in the mobility model, i changed the deltaX and deltaY to 10,000 each and still the ping application was working. So I changed deltaX and deltaY to its original values then i tried to dig in and see why the propagationlossmodel was not activated when the transmission starts at singlemodelspectrum::startTx.
Based on the post
I figured out that it is important for the m_porpagationLoss to hold the pointer to the propagationlossmodel.
But the control doesnt seem to reach this point at all, because the following condition fails
if (sendermobility && receivermobility)
I dont understand why this condition is failing and the propagationlossmodel is not activated during transmission.
Following which, i also dont understand how the nodes are communicating even when i make the deltaX and deltaY 10,000 (if at all the propagationlossmodels are working).
Basically, just run this example and enable logs for singlemodelspectrum and check if the condition if (m_propagationLoss) passes. If it does, then there is something wrong with my unchanged code, then I shall look into it by myself, if it doesnt, please let me know. Or is the condition meant to fail for just this example.
Thanks in advance
Regards
Shashidhar B.L