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

Reply via email to