I got enough of my problem figured out to proceed. I had forgotten to start the Comm at the beginning of the program. TOS_BCAST still doesn't seem to work, but I don't need it to. Thanks for all of the help.
On Mon, Oct 12, 2009 at 11:45 AM, Michael Schippling <[email protected]>wrote: > In my experience BCAST doesn't work with the Moteworks multihop system. > MS > > > Dave Anthony wrote: > >> I've having troubles broadcasting packets from one mote to all others in >> range. I'm using MoteWorks and IRIS motes. I have the following >> configuration: >> >> AppM.CommControl -> Comm; >> AppM.Receive -> Comm.ReceiveMsg[AM_XSXMSG]; >> AppM.Send -> Comm.SendMsg[AM_XSXMSG]; >> >> In my module I call: >> >> call Send.send(TOS_BCAST_ADDR,sizeof(MyMsg),msg_ptr) >> >> I get the send done event, so it seems to be sending all right. However, >> on another mote I listen for this event: >> >> event TOS_MsgPtr Receive.receive(TOS_MsgPtr data) >> >> but I never get it. Is there something else I should be doing? >> >> Thanks. >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Tinyos-help mailing list >> [email protected] >> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help >> >
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
