Hi,

I am using Tmote sky mote with Delta application (which uses Multihop).

Could someone please point me to a basic Application/code snippet which
receives messages? Please include any event handler code. I would like to
send messages from the base stn. to a paricular mode in the Network.

>From the tmote-sky-quickstart.pdf it says to use:

components Multihop;
...
AppM.Send -> MultiHop.Send[APP_ID];
AppM.Receive -> MultiHop.Receive[APP_ID];

However I get a compile error on the Receive statement only, since Multihop
doesn't appear to provide the Receive interface. I am able to get a clean
compile using the GenericComm component, but I am guessing I will run into
trouble with Multihop.

Another idea is to just use the "Intercept" interface to process the
message, and forward message not addressed to this mote.

Thanks,
Tim

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

Reply via email to