On Sat, Dec 5, 2009 at 7:25 AM, Faisal Aslam <[email protected]> wrote: > Hi, > > It now finally works great. I did figure it out yesterday that I must send > packets too using LinkEstimator. However, I did not realize that those > packets should be broadcast instead of unicast. Thanks a lot for your > help. > > I am happy that the TinyOS CTP protocol also works with Java applications > [1]. However, it has some strange behaviors. This behavior also persist in > pure TinyOS applications. > > 1) If there is no root then a non-root mote does not send any packets. > However, when it once start sending packets then switching off the root > node does not make it stop sending those packets. That behavior is > strange for me and does not feel consistent?
The difficulty is knowing if the root has been switched off or just not reachable at the moment... > 2) Assigning mote Id at runtime does not works. The motes have to be > assigned unique ids at compilation time. Yes. We have discussed this in the past. You need to handle the address changed event. We haven't made these changes yet. If dynamic address assignment starts to become common, we will need to handle this scenario. Can you explain why you are assigning addresses dynamically? Your example will help us understand how dynamic addressing is being used in practice. - om_p _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
