On Jun 23, 2009, at 10:23 PM, Kumar, Vimal (S&T-Student) wrote:

>
> Hi,
>
> I am trying to simulate a tree hierarchy of sensors, where the leaf  
> nodes are sending data to their parents.The parents add up whatever  
> they receive and send this one level up.
>
> This works fine at the first level when the leaf nodes just send  
> their data to their parents. The second level is where the problem  
> starts,
> I have three nodes at this level and the execution takes place  
> randomly here. Sometimes one parent node will send the data and the  
> execution will stop, sometimes two of them will send data and  
> sometimes all three of them will send data. This happens totally  
> randomly and I cannot find any pattern in this.
>
> Has anybody ran into this kind of problem ?
>
> I would like to attribute it to noise, but the problem never happens  
> at the first level. This probably is some timing issue or something  
> wrong with some buffer. Can somebody give me a clue.

You can run TOSSIM in gdb: that's probably the fastest way to find  
where your bug is.

Phil
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to