Hi, > Can you explain why you are assigning addresses dynamically? I am not writing applications myself but making TinyOS interfaces available in Java for general public so that they can develop Java based applications over TinyOS. We have a Java interface that allow users to set mote address during run-time. Some of the users somehow like to use that Java interface to assign motes unique addresses at boot instead of compilation time. We have to write a warning in our CTP tutorial that no one should assign mote address at boot so that they do not complain about CTP not working. In conclusion it is not a big deal as long as users do not attempt to assign mote unique address at boot and know the CTP limitation beforehand.
best regards, -- Faisal Aslam University of Freiburg http://cone.informatik.uni-freiburg.de/people/aslam/ Omprakash Gnawali wrote: > 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
