[Tinyos-help] [application : TREE]

vazoumana fofana zoumlander at hotmail.com
Wed Jul 11 06:07:15 PDT 2007


thanks for your answer.
it s a good idea to wait a random interval before sending : in this case , 
collisions in reception are quasi 0. it allows to treat messages ,update 
fields  and end receive treatment to treat other messages.

>From: "Bernardo Avila Pires" <obernardo at gmail.com>
>To: "vazoumana fofana" <zoumlander at hotmail.com>
>Subject: Re: [Tinyos-help] [application : TREE]
>Date: Wed, 11 Jul 2007 09:58:46 -0300
>
>You could wait a random interval in each node before forwarding the packet.
>I don't think various messages can be received simultaneously. What you can
>do is treat the parenc change really fast and end the reception as quickly
>as possible. Obviously you don't need to keep track of all the IDs 
>received,
>but only the lowest.
>
>2007/7/11, vazoumana fofana <zoumlander at hotmail.com>:
>>
>>Hello
>>
>>i want to implement an application where in a network , the node with the
>>most little id is chosen like the root of a tree. At the begin, i init a
>>struct message with this field ( id , parent , hopcount) in flash for each
>>node. Then i send this struct in broadcast. After each node must compare
>>its
>>field and field received by other nodes. Iif  its necessary , it updates
>>its
>>fields. I ve got a question : when a node  receive serveral messages, what
>>happens ? indeed, a node must at the begin receive all neigbours' messages
>>to treat them. How can i answer to this problem, because there are somme
>>messages wich are gonna be lost ?
>>
>>_________________________________________________________________
>>Avec Windows Live OneCare éliminez tous les virus de votre PC !
>>http://www.windowslive.fr/liveonecare/default.asp
>>
>>_______________________________________________
>>Tinyos-help mailing list
>>Tinyos-help at Millennium.Berkeley.EDU
>>https://mail.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
>>
>
>
>
>--
>"The truth shall set you free"
><a href="http://www.nerdtests.com/nq_ref.html">
><img src="http://www.nerdtests.com/images/badge/dc875a1ab1aff18f.gif" 
>alt="I
>am nerdier than 99% of all people. Are you a nerd? Click here to find
>out!"></a>

_________________________________________________________________
Gagnez des écrans plats avec Live.com http://www.image-addict.fr/



More information about the Tinyos-help mailing list