RadioCRCPacket is rather lower-level than you need.
In T1 at least, look at the GenericComm usage in
various of the demo apps, and the tutorial. You can also
see a convoluted example of receiving and sending messages
using GC in my code at:
http://www.etantdonnes.com/Motes/robocode.tar.gz
But it sounds like you are trying to invent an ad-hoc net
application. Look at contrib/xbow/Surge* and the Moteiv
Boomerang moteiv/apps/Delta for examples of what has
gone before. Since that is what Motes are supposed
to be doing there is a lot of discussion on this list
(which I mostly ignore because, of course, that's not
my application area interest)...
MS
Michael Wu wrote:
Greeting, everybody.
Does anyone please tell me how to use the function RadioCRCpacket to
send a packet to another sensor?
My purpose is that, a sensor(tmote) have 2 functions: It could receive
packets from other sensors, and send packets to another sensor.
I survay many many many source codes, and I can't find out the solution.....
Please, does anyone could do me a favor, tell me how to let a sensor
has 2 functions: receive and send?
It has bothered me for many days already!!
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
--
Platform: WinXP/Cygwin
TinyOS version: 1.x, Boomerang
Programmer: MIB510
Device(s): Mica2, MicaZ, Tmote
Sensor board: homebrew
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help