Hi,everyone!

            RECEIVE_HISTORY_SIZE is the size of the table which is used to
record the source address and sequence number of received packets.We use the
table to discard the duplicate packets.

            In CC2420.h,it is written

 /**

 * Ideally, your receive history size should be equal to the number of

 * RF neighbors your node will have

 */ 

But I think we can calculate the RECEIVE_HISTORY_SIZE this way:

If the max retransmission time is 3,and the time internal between the first
transmission and the last transmission is 20ms.

we can get the max packets that a node can receive in 20ms(e.g. 10 ),so the
RECEIVE_HISTORY_SIZE is 10.If we can not find duplicate packets in the last
10 packets,we are sure

we do not receive duplicate packet,because the time used to receive the 10
is more than 20ms.

Is it possible to decide the    RECEIVE_HISTORY_SIZE in this way?

 

 
Best regards

 

 

 

 

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

Reply via email to