Hi Razvan,

Interesting - broadcasts are never supposed to be acknowledged, as you
pointed out.   I see what the issue is though - line 276 in
CC2420LowPowerListeningP is forcing acknowledgements on, and the lower level
radio stack isn't checking addresses before ack'ing.  Therefore, line 276
should be surrounded by an if-statement that verifies the destination
address of the message is not the broadcast address.

This is why the cc2420_lpl is not the default stack yet.  Thanks for your
bug find,

-David


> From: "Razvan Musaloiu-E." <[EMAIL PROTECTED]>
> Date: November 7, 2006 5:36:20 PM PST
> To: <[email protected]>
> Subject: [Tinyos-help] acks in T2
>
> Hi!
>
> I'm playing a little with the CC2420 LPL and I noticed that the  
> messages
> send to the broadcast address are getting acknowledged. What is  
> even more
> puzzling for me is this is still happening even after I tried to  
> disabled
> them using the noAck() function from the PacketAcknowledgements  
> interface.
> Can someone clarify this behavior? :-)
>
> I attached a small program that shows the problem. The green led is
> toggled each time a packed is send and acknowledged and the red led is
> on between a send and sendDone. I'm using TelosB.
>
> --
> Razvan ME


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

Reply via email to