Re: [Tinyos-help] message overwritten in TOSSIM
Thanks OM It worked. I am using TinyViz. I want to know the sim Time on Gui is a real time in sec? Otherwise how can I calculate run time of the program. Anil Omprakash Gnawali-3 wrote: On Fri, Nov 26, 2010 at 1:21 PM, AnilKK anil_81_2...@hotmail.com wrote: Hi, I am facing a problem with TOSSIM 1.x. I am using 10 nodes, 1 node is coordinator, 2 nodes are sub coordinator and others are members. Each member node sends 5 messages to sub coordinator. The problem I am facing is when these messages are sent in a loop they are being overwritten. so the let us say there are node 4 and 6 are sub coordinator. I am sending message to node 6 it is received by node 4 and vice versa... Do I have put some kind of delay in message send?? You should wait until a message is sent (sendDone() event is signaled) before you send the next message. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help -- View this message in context: http://old.nabble.com/Tossim-tp28296453p30412898.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
Re: [Tinyos-help] message overwritten in TOSSIM
On Fri, Nov 26, 2010 at 1:21 PM, AnilKK anil_81_2...@hotmail.com wrote: Hi, I am facing a problem with TOSSIM 1.x. I am using 10 nodes, 1 node is coordinator, 2 nodes are sub coordinator and others are members. Each member node sends 5 messages to sub coordinator. The problem I am facing is when these messages are sent in a loop they are being overwritten. so the let us say there are node 4 and 6 are sub coordinator. I am sending message to node 6 it is received by node 4 and vice versa... Do I have put some kind of delay in message send?? You should wait until a message is sent (sendDone() event is signaled) before you send the next message. - om_p ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
[Tinyos-help] message overwritten in TOSSIM
Hi, I am facing a problem with TOSSIM 1.x. I am using 10 nodes, 1 node is coordinator, 2 nodes are sub coordinator and others are members. Each member node sends 5 messages to sub coordinator. The problem I am facing is when these messages are sent in a loop they are being overwritten. so the let us say there are node 4 and 6 are sub coordinator. I am sending message to node 6 it is received by node 4 and vice versa... Do I have put some kind of delay in message send?? -- View this message in context: http://old.nabble.com/Tossim-tp28296453p30308937.html Sent from the TinyOS - Help mailing list archive at Nabble.com. ___ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help