On Oct 27, 2006, at 12:39 PM, Chris Merlin wrote:

Hi,
I am looking at the software ACK mechanism in CC2420. In CC2420RadioM.nc, when a packet is received and if it requests an ACK, the command strobe SACK is issued.

(in doRXFIFODoneBody
  // if ack is requested, must pass CRC and match our address
  if ((rxbufptr->fcfhi & (1 << CC2420_DEF_FCF_BIT_ACK)) &&
  (rxbufptr->crc) &&
  (rxbufptr->addr == TOS_LOCAL_ADDRESS)) {
    call HPLChipcon.cmd(rh, CC2420_SACK);
  }
)
And let's say that stateRadio is IDLE_STATE (before and after receiving the packet).


Just to check: this is Boomerang, right, not TinyOS?

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

Reply via email to