Hi, everyone!

   I wanna make sure one problem___how to specify the receive mote? Like mote 2 sends info to mote 3 always. Is it ok to follow the reply in the helplist: sepecify the 1st parameter.
send( TOS_BCAST_ADDR, sizeof(Msg), msgp)
So I just put the 1st one as 3??? Is it ok??
Thanks.
Xing Jin


[Tinyos-help] How to specify recipient's mote???

Michael Schippling schip at santafe.edu
Tue Sep 13 22:36:44 PDT 2005
ummm...sorry if I misconstrue this...
but I think you want to send to a specific Mote ID?
But in anycase, the first arg in
send( TOS_BCAST_ADDR, sizeof(Msg), msgp)
is the Mote ID of the destination.
BCAST means everyone and UART means the serial port.
is that what you were asking?
SM


Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
_______________________________________________
Tinyos-help mailing list
[email protected]
https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to