On Mon, Jun 28, 2010 at 2:25 AM, Cyril Nguyen Van Phu
<cyril.nguyen-van-...@lcpc.fr> wrote:
> Hello,
>
> I encounter troubles when trying to get debug messages with CTP.
> I have two nodes running an app that uses CTP  incrementing a counter
> and I modified BaseStation to act as the Root of CTP.
> The problem is that it seems acknowledgements are not running in the
> Root and I lose many data.
> I run java net.tinyos.tools.Listen on the Root of the Tree and get data
> messages.
>
> So I tried to monitor ctp debug messages but nothing appears on the
> console...

You need to turn on acknowledgments (look in the BaseStation Makefile).

If you want to enable CTP debug messages, you need to wire up the
debugging components. You can look at tests/TestNetwork for an
example.

- om_p

_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to