[Tinyos-help] How to SEND a message to a SPECIFIC Mote
Moni GV
tamuzija at yahoo.es
Mon May 4 01:54:05 PDT 2009
Hi,
I’m working with TOSSIM, I've been trying to send a message to a specific mote,
instead of a broadcast-message. To get a mote's address, I tried to use ActiveMessageAddress
interface and component, but I get compilation errors that I can’t fix, I don’t
know why they occur.
The command
for sending a message is:
call
AMSend.send(AM_BROADCAST_ADDR, &packet, sizeof(radio_count_msg_t))
Anybody
knows how to get a mote’s address??I mean how to substitute AM_BROADCAST_ADDR.
Thank you
in advance!
-----------------------------------------------Mónica Guerrero V.
M.Sc StudentRey Juan Carlos University-Madrid-----------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20090504/5e5873be/attachment-0001.htm
More information about the Tinyos-help
mailing list