Hi,

I see into CTP code a CollectionDebug module.

I have found some wiring for it :
        components new PoolC(message_t, 20) as DebugMessagePool,
        new QueueC(message_t*, 20) as DebugSendQueue,
        new SerialAMSenderC(AM_PRINTF_MSG) as DebugSerialSender,
        UARTDebugSenderP as DebugSender;

        DebugSender.Boot -> MainC;
        DebugSender.UARTSend -> DebugSerialSender;
        DebugSender.MessagePool -> DebugMessagePool;
        DebugSender.SendQueue -> DebugSendQueue;
        CollectionC.CollectionDebug -> DebugSender;

But is there any tool as the java PrintfClient to get this log on PC side ?
I did not find any documentation about this functionality.

Kind regards,
Fabrice

On 26 August 2010 02:31, Fabrice Dossin <[email protected]> wrote:
> Hi,
>
> It seems that nothing will be easy these days...
> I have another strange behavior. I will investigate it but if someone
> has a clue for me to save me some times...
>
> I have my app on an Iris mote with Deluge T2 and Dissemination (dhv)
> working great but the Collection (ctp) is acting weird :
> When I flash my app as the golden image, the collection is working good.
> But when I send my app by Deluge, the collection does not work anymore :
> I have a SUCCESS on CollectionSend.send(&radioPkt, sizeof(my_msg_t));
> but I never receive the CollectionSend.sendDone event.
> For the next message sending, I receive an EBUSY error showing that
> the Collection protocol should be blocked somewhere...
>
> Regards,
> Fabrice
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to