Hi,

    I want  to calculate the delay for a packet to reach the base node using
a particular routing protocol. Now, in MultiHopEngineM.nc I have placed
debug messages, that tell me the timestamp, originaddr and seqno of a
packet, before every SendMsg. I have placed a similar debug message in
ReceiveMsg.

   So, when I parse the trace file, I get all the sent messages in an array
and all the received messages(by node '0') in another array and compare
originaddr and seqno to get the delay for each packet sent by each node.

   However, the problem is that I don't think I have understood the
functioning of the sequence number properly. For ex. if node '4' sends a
packet to node '2' with seqno '12', node '2' is forwarding it to node '0'
with seqno '17'. So how can I calculate the delay since the seqno has
changed?

   Please help me out.

Regards,
Bharat.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to