Hi Eduardo,

For a test, can you set CAP_TX_QUEUE_SIZE to 1 (in your Makefile or
directly in tos/lib/mac/tkn154/TKN154.h) and see what happens? Have
you tried to run your app in debug mode ("make <platform>
tkn154debug", see apps/tests/tkn154/README.txt) and taken a look at
the printf-output? Can you send me your test app code, then I can try
reproduce the problem next week (at the moment I'm travelling).

Thanks,
Jan

On Mon, Nov 19, 2012 at 10:54 AM, Eduardo Feo <[email protected]> wrote:
> Hello,
>
> I am using the active message abstraction on top of the TKN154 with
> telosb motes.
> I am basically testing the unslotted csma procedure, therefore I am
> using the protocol in a very simple scenario: non-beacon enabled mac,
> no-coordinator, indirect transmissions between devices (by broadcasting).
>
> In this scenario, all nodes generate and broadcast data packets at
> certain rate (ranging from 10 pkts/sec up-to 50 pkts/sec).
>
> The problems start after some time, when some of the nodes are not able
> to send packets anymore (send fails with EBUSY).
> It looks that after a last 'successful' AMSend.send , there was no
> AMSend.sendDone event in response.
> When this happens, I tried to restart the MAC using MLME_RESET.request,
> which returns SUCCESS,  but I never get the MLME_RESET.confirm event.
> Every time I run experiments, the number of nodes that fail is
> different, and even some times there are no failures at all, which is
> quite strange.
>
> I am using AMSenderC and AMReceiveC. When I switch to the normal MAC,
> everything works fine.
>
> Any help?
>
> Also, if someone has some sample code that shows how to use the active
> message on top of tkn154 (maybe I'm missing something), it might be also
> very helpful.
>
> Thanks
>
> Eduardo
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to