[Tinyos-help] CC2420 Hardware or software Ack

Anton ageev at disi.unitn.it
Tue Jul 8 02:50:23 PDT 2008


Hello,


According to TEP 126, software acks have higher drop percentage, but 
when HW acks are used, false acks may happen, which is worse. So, 
software acks are better.

In CC2420 manual it is stated that "If MDMCTRL0.AUTOACK is enabled, an 
acknowledge frame is transmitted for all incoming frames accepted by the 
address recognition with the acknowledge request flag set and a valid 
CRC." So, it seems that hardware ack checks both the request flag and CRC.

HW acks do not require to put PacketAcknowledgements.requestAck() before 
call AMSend.send(). If you want to use HW acknowledgments,  #define 
CC2420_HW_ACKNOWLEDGEMENTS in your application.

Anton.



More information about the Tinyos-help mailing list