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-----------------------------------------------





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

Reply via email to