On Sat, Jun 2, 2012 at 5:26 AM, Sato Maikawa <07.satosato...@gmail.com> wrote: > Hi all, > > I moved TestNetwork to collect data using CTP. > I want to get hopcount, but don't implement in TestNetwork. > > I read the following messages. > http://mail.millennium.berkeley.edu/pipermail/tinyos-help/2008-October/036536.html > but I didn't understand. > > Please tell me how to get hopcount in TestNetwork.
Are you trying to find out how many hops a message traveled? If so, use the THL field. If your node is trying to do something based on how many hops it is away from the sink, you will have to guess based on path ETX. - om_p _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help