When you download the code on motes, u should specify the ID, for ex.
make micaz install.0 eprb,IP address

And 0 will be the ID of that mote (e.g. the TOS_LOCAL_ADDRESS).

Then, when calling the send function, just specify the mote ID of the
receiver such as one of the arguments of that function (don't remember,
I think the first field, just check it).

Cheers

Daniele  

 

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Boushra MAALA
Sent: Wednesday, April 25, 2007 9:02 AM
To: [email protected]
Subject: [Tinyos-help] sending to particular mote ID

 

hi,
i have the followed scenario:
3 motes (1,2,3)collect  the readings and send them to  a  particular
mote which is mote 4 .
my question is :
in this case, how can i determine the ID of mote 4  for making the 3
motes send their messages to mote 4 only.
is this determined in the sent message 's structure, if yes can anybody
help me or explain how can i do that, or give me any reference  for
helping me concerning determining of mote's ID?

thanks

ps: i work with tinyos1, windowsXP.

boushra

  

________________________________

Ahhh...imagining that irresistible "new car" smell?
Check out new cars at Yahoo! Autos.
<http://us.rd.yahoo.com/evt=48245/*http:/autos.yahoo.com/new_cars.html;_
ylc=X3oDMTE1YW1jcXJ2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3LWNhcnM-
>  

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

Reply via email to