On 04/19/2017 10:31 AM, Daniel Oliva Domingues wrote:
> Hi Tommaso,
>
> Sorry to bother copying you on this thread. I usually wait the amount
> of time needed to obtain answers from the ns-3 community of users,
> which is really fast, indeed. I know that you are very busy and don't
> have anything to do with my urgency in this case, but I would really
> appreciate if you could help me with this problem.
>
> I'm at the final phase of my master's thesis and these negative
> results from HWMP were a very negative surprise to me. Do you have any
> clue about what can be happening in my simulations? Or how can I
> diagnose this? Or anyone who can help me?
>
> Many thanks.
>
> Regards,
>
> Daniel Domingues
>
It sounds like you need to get some information out of your program to
debug it, or else you need to step through it with a debugger.
Here is a hint. Run your simulation with the "HwmpProtocol" log
component enabled; e.g.:
NS_LOG="HwmpProtocol" ./waf --run mesh
and since you will get a lot of debug information, I'd direct the output
to a file like this:
NS_LOG="HwmpProtocol" ./waf --run mesh > log.out 2>&1
Then you can look at Hwmp in action. Try doing this for a working
scenario, then repeat for the non-working scenario, and try to compare
the logs to understand what is different. If you need more information,
turn on more log components as needed:
NS_LOG="HwmpProtocol:HwmpRtable" ./waf --run mesh
- Tom