ReceiveMsg is the interface for getting a message. What you do with the contents is a matter between you and the chaplain. Both O'scope and SimpleCmd use the message contents to do things on the re-Mote. Or perhaps I still don't understand the requirements? MS
Marc Romera wrote: > thanks michael, but I didn't explain very well want I searching for. I'm > looking for som app that receive the packet and you can take from the > message the parameters that you want, I found ReceiveMsg but don't work > in my aplication. > > Marc. > > 2009/7/21 Michael Schippling <[email protected] <mailto:[email protected]>> > > GenericComm is the usual culprit. Compare and contrast demo apps > that send and receive messages, there are even a couple that do > both: Oscilloscope and SimpeCmd. > > Also look at the various TOSBase and Basestation impls. > > MS > > Marc Romera wrote: > > > > ---------- Forwarded message ---------- > From: *Marc Romera* <[email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>>> > Date: 2009/7/21 > Subject: recieve msg > To: [email protected] > <mailto:[email protected]> > <mailto:[email protected] > <mailto:[email protected]>> > > > hi, > > I'm programming a mote to receive a packet from another mote and > then send it again. What function will suit in this case? Thanks > for your atention. > > Marc. > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Tinyos-help mailing list > [email protected] > <mailto:[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
