Hi David! 
Thanks for your help! 

I have one more question for you...thanks in advance! 
I have read a post on tinyos-help about Ack in Broadcast massages: "Should 
software ACK mimic hardware ACK as much as possible and provide 
acknowledgment for broadcasts as well?" and your answer: "SACK should mimic 
HACK, and is setup to do so better in the next rev that I haven't 
uploaded yet." 
I have read also: "When you send to AM_BROADCAST_ADDR, it doesn't run on Ack 
mode" 

SO I have a question for you: Acks are only sent for unicast messages, not 
broadcasts? If I transmitted packets to all motes with 
AM_BROADCAST_ADDR, are they acknowledged on all motes? 

In case of broadcast, couldn't I get acknowledge? Only after I change broadcast 
to peer-to-peer (unicast) can I get acknowledge? 

Thanks 
Cheers 
Andrea 


----- "David Moss" wrote: 
> 


Hi Andrea – 



You cannot specify a subset of nodes to send a packet to without programming in 
your own logic (i.e. deliver the packet to the broadcast address and include 
the list of addresses that should accept the packet within the payload). The 
AM_BROADCAST_ADDR is the address to use when you want a packet to get delivered 
to more than one node. 



Please send questions to [email protected] 



-David 














From: Andrea Maestrini [mailto:[EMAIL PROTECTED] 
> Sent: Friday, July 11, 2008 12:34 AM 
> To: [EMAIL PROTECTED] 
> Cc: [EMAIL PROTECTED] 
> Subject: multicast messages 



Hi to all! 
> 
> I 'm new in TinyOS world and I have read the TEP 126 CC2420 RAdio Stack and 
> TinyOS 2.0 tutorial and I have a doubt....I have a simple question for you: 
> 
> - How to send a packet to a group of nodes but not to all of them? I can do 
> broadcast "AM_BROADCAST_ADDR" and unicast "by specifying the node address" 
> but how to do multicast in AMSend.send( ) ? In TinyOS 2.0 Can I do multicast 
> comunication? 
> Thanks for your help! 
> Andrea 
> 
> ==================================================================== 
> Andrea Maestrini 
> CREATE-NET 
> Via alla Cascata 56C – 38100 Povo, Trento - Italy 
> e-mail: [EMAIL PROTECTED] 
> Phone: (+39) 0461 408400 personal ext: 311 
> Mobile: (+39) 3473390671 
> Fax: (+39) 0461 421157 
> www.create-net.org 
> ==================================================================== 
> The information transmitted is intended only for the person or entity to 
> which it is addressed and may 
> contain confidential and/or privileged material. Any review, retransmission, 
> dissemination or other 
> use of, or taking of any action in reliance upon, this information by persons 
> or entities other than the 
> intended recipient is prohibited according to the Italian Law 196/2003 of the 
> Legislature. 
> If you received this in error, please contact the sender and delete the 
> material from any computer. 
> ====================================================================
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to