http://www.tinyos.net/tinyos-2.x/doc/html/tep123.html

HTH,
Paul

On Fri, Aug 8, 2008 at 8:42 AM, Daniel Pereira <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I didn't understand the Receive and Receive as Snoop interfaces.
>
> In the MultihopOscilloscopeAppC.nc, we have:
>    ......
>    interface Send;
>    interface Receive as Snoop;
>    interface Receive;
>    ......
>
> And in the MultihopOscilloscopeAppC.nc, we have;
>    ....
>    MultihopOscilloscopeC.Send -> CollectionSenderC;
>    MultihopOscilloscopeC.Snoop -> Collector.Snoop[AM_OSCILLOSCOPE];
>    MultihopOscilloscopeC.Receive -> Collector.Receive[AM_OSCILLOSCOPE];
>    ....
>
> So, when a send a message (call Send.send(&sendbuf, sizeof(local)),
> which is the received event, Snoop.receive or Receive.receive?
> I guess, only root receive event from Receive.receive, is it true?
>
> Best regards and thanks a lot
>
> Daniel Patrick
> _______________________________________________
> 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

Reply via email to