It seems that it is not possible to broadcast a packet since the RadioMsgSendCommand is sent to one mote at a time that has been specified by the moteID in comm.sendRadioMessage command.
On 6/15/07, Faisal Karim <[EMAIL PROTECTED]> wrote:
Hi All I want to send broadcacst message from tython. The method comm.sendRadioMessage(mote ID, time, msg) is working only when i specify any mote ID. I tried comm.sendRadioMessage(TOS_BCAST_ADDR, 0, msg), it is not working. I also used comm.sendRadioMessage(0xFFFF, 0, msg) and comm.sendRadioMessage(65535, 0, msg) but in vain. For comm.sendRadioMessage(TOS_BCAST_ADDR, 0, msg) tython gave error for not recognizing TOS_BCAST_ADDR so i tried to import the package where this variable resides. From documentation from somewhere i found that it reside in global package COMM http://www.tinyos.net/tinyos-1.x/doc/tutorial/matlab.html . Can someone put some light how to import it? Or there is some way around for broadcasting via tython. Regards Faisal Karim ------------------------------ Don't pick lemons. See all the new 2007 cars<http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw-->at Yahoo! Autos.<http://autos.yahoo.com/new_cars.html;_ylc=X3oDMTE0OGRsc3F2BF9TAzk3MTA3MDc2BHNlYwNtYWlsdGFncwRzbGsDbmV3Y2Fycw--> _______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________ Tinyos-help mailing list [email protected] https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
