[Tinyos-help] CC2420 Hardware ACKs

David Moss dmm at rincon.com
Thu Feb 14 07:56:54 PST 2008

Are you requesting an acknowledgment before sending?

call PacketAcknowledgements.requestAck(&myMsg);
call AMSend.send(0x0, &myMsg, sizeof(my_payload_t));

Does it the software work as expected using software acknowledgments?


-----Original Message-----
From: tinyos-help-bounces at millennium.berkeley.edu
[mailto:tinyos-help-bounces at millennium.berkeley.edu] On Behalf Of Rodolfo de
Paz Alberola
Sent: Thursday, February 14, 2008 4:28 AM
To: tinyos-help
Subject: [Tinyos-help] CC2420 Hardware ACKs

Hi all,

I was trying to set Hardware ACKs for CC2420 radio chip. I did a simple
ping pong application in which I posted a task call ack() inside the
event SplitControl.startDone(error_t error). 

The task call ack activates HW acknowledgements in the following way:

bool activated = TRUE;
task void ack() {
      call CC2420Config.setAutoAck(activated,activated);
      if (call CC2420Config.sync() != SUCCESS) {
          post ack();

However, the mote that is sending messages is not receiving any ack.
Should I do anything else to activate CC2420 HW acks?. Any help? 


Tinyos-help mailing list
Tinyos-help at millennium.berkeley.edu

More information about the Tinyos-help mailing list