Hello,
I want to send several messages from different motes to the base station (mote
0) using the Route library.
When the base station receives the message I want to print it. How can I do
this? Which function shall I use to do that receive or intercept?
I do the following:
components Main, CricketM, RandomLFSR, TimerC, LedsC, SimpleTime;
components RadioCRCPacket as Comm, CC1000RadioIntM as Radio, SerialM,
HPLUARTC;
components SerialId, UltrasoundControlM, BeacManageM, OnboardTemp;
components GenericCommPromiscuous as CommP, MultiHopRouter as multihopM,
QueuedSend;
CricketM.RouteControl -> multihopM;
CricketM.Send -> multihopM.Send[AM_SURGEMSG];
multihopM.ReceiveMsg[AM_SURGEMSG] -> CommP.ReceiveMsg[AM_SURGEMSG];
Thank you very much.
Sofia
_________________________________________________________________
¿Quieres ver los mejores videos de MSN? Enciende Messenger TV
http://messengertv.msn.com/mkt/es-es/default.htm
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help