Hi,

I'm working with telosb motes and tinyos 2.1.2 and I'm trying to use
software acknowledgements.

I have removed any of these from the makefiles

    PFLAGS += -DCC2420_HW_ACKNOWLEDGEMENTS

And I confirmed that
    hwAutoAckDefault = false
in tos/chips/cc2420/control/CC2420ControlP.nc

The software ack generation gets triggered in
tos/chips/cc2420/receive/CC2420ReceiveP.nc

Code is here: 
https://github.com/tinyos/tinyos-main/blob/master/tos/chips/cc2420/receive/CC2420ReceiveP.nc#L596

But I don't see a check for FCS/CRC before generating the
acknowledgement. Wouldn't this cause packets to be acknowledged
falsely?

Does anyone know if this sequence is correct? Am I missing something?
I would expect that the receiver should check if the CRC is correct
before triggering the SACK.strobe() , but that doesn't seem to be the
case.

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

Reply via email to