Hi
I would like to know why in a simple configuration like
BS <---> Node
I have packet loss when the acks are enabled and the code in the node
retransmits
the packed if it get lost. We are using 2% low power listening mode in T2 /
TMote.
Any ideias would be very apreciated.
Regards,
André Rodrigues
PS: If a packet get lost in the BS -> node direction, the 2.02 basestation
code does
the retransmission?
----- Original Message -----
From: "David Moss" <[EMAIL PROTECTED]>
To: "'André Cunha'" <[EMAIL PROTECTED]>; "'TinyOS ML'"
<[email protected]>
Sent: Thursday, December 13, 2007 5:16 PM
Subject: RE: [Tinyos-help] Hardware Address Recognition
Address recognition is in both hardware and software. You can disable
address recognition in hardware to sniff packets, but with software
acknowledgements enabled you don't want to send an ack back unless you've
received a packet to your local address or to the broadcast address.
That's
why there's a redundant check.
Hardware address recognition is enabled by default, and the redundant
software address check performed for acknowledgements doesn't change that.
Note at the top of CC2420ControlP the compile time options you have
available (you should be able to configure these at runtime as well)
#if defined(CC2420_NO_ACKNOWLEDGEMENTS)
autoAckEnabled = FALSE;
#else
autoAckEnabled = TRUE;
#endif
#if defined(CC2420_HW_ACKNOWLEDGEMENTS)
hwAutoAckDefault = TRUE;
#else
hwAutoAckDefault = FALSE;
#endif
// This changes the hardware address recognition.
#if defined(CC2420_NO_ADDRESS_RECOGNITION)
addressRecognition = FALSE;
#else
addressRecognition = TRUE;
#endif
-David
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of André
Cunha
Sent: Thursday, December 13, 2007 9:21 AM
To: TinyOS ML
Subject: [Tinyos-help] Hardware Address Recognition
Hello all,
I was looking at the hardware recognition in the CC2420 in the file
CC2420ControlP and, if fact, the CC2420 register (MDMCTRL0->ADDR_DECODE)
is enabled. Looking at the CC2420ReceiveP in the RXFIFO.readDone I
realized that the address verification is by software. Can anyone
clarify this? I have changed the code of RXFIFO.readDone to only signal
data reception but I would like to activate the hardware address
recognition.
Best Regards,
André
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help