[Tinyos-help] CTP not reporting NET_C_FE_DST_MSG and NET_C_TREE_RCV_BEACON

Morten Tranberg Hansen mth at cs.au.dk
Wed Nov 17 17:34:17 PST 2010

Thats what I thought were the arguments.  Personally I like to debug CTP
independent of the application, and hence find the arrived event useful, and
for debugging purposes and less dense networks I still argue that the
receive beacon is useful.

Maybe these could be added optionally with an ifdef?


On Thu, Nov 18, 2010 at 10:58 AM, Philip Levis <pal at cs.stanford.edu> wrote:

> On Nov 17, 2010, at 4:45 PM, Morten Tranberg Hansen wrote:
> > Hi Om,
> >
> > I've always wondered why CTP does not report arrived messages and
> received beacons.  Over time I've found these events very useful when
> debugging CTP.
> >
> > Is there a reason for not reporting these events?  If not, see proposed
> changes below.
> >
> It does not log receive() for data messages because the event is redundant:
> if the node is a root and receives a data packet, it signals receive().
> It does not log received beacons because, in dense networks, received
> beacon events can overload the logging system's throughput and lead to lots
> of lost log messages.
> Phil

Morten Hansen, http://mortent.dk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www.millennium.berkeley.edu/pipermail/tinyos-help/attachments/20101118/54a92102/attachment.htm 

More information about the Tinyos-help mailing list