[Tinyos-help] about interface send and AMSend

Omprakash Gnawali gnawali at usc.edu
Mon Mar 10 09:42:48 PDT 2008


On Mon, Mar 10, 2008 at 6:49 AM, jiwen zhang <zhangjiwen029 at gmail.com> wrote:
> Hello all :
>      as we know , both interface send and AMSend can send a message out to a
> mote.the difference is that AMSend provides a parameter am_addr_t which
> specifies the receiver's address. i want to know which mote dose it sends to
> if the application uses the interface send ?

It depends on the component providing the Send interface. If you use
the send call on the collection component, the message will be
addressed to the parent.

- om_p


More information about the Tinyos-help mailing list