[Tinyos-devel] ctp vs other radio clients
Branislav Kusy
kusy at stanford.edu
Mon Dec 8 14:49:04 PST 2008
Philip Levis wrote:
> On Dec 6, 2008, at 3:55 PM, Omprakash Gnawali wrote:
>
>> On Sat, Dec 6, 2008 at 10:41 AM, Branislav Kusy <kusy at stanford.edu>
>> wrote:
>>> i did wire directly to ActiveMessageC. i'll try with AMSenderC on
>>> monday.
>>> pretty sure this was the problem.
>> CTP uses AMSenderC but it still logs SUBSEND_BUSY occassionally.
>>
>
> But we've never seen the hang case that Brano sees. CTP have subsend
> busy due to redundant sends on the AMSenderC would not cause it to
> hang; a busy from ActiveMessageC could cause it to.
>
> Phil
I tested the code with AMSenderC - it works fine. ActiveMessageC causes
my code to hang. Restarting RetxmitTimer from the subsendResult==EBUSY
case in the CtpForwardingEngineP solves the problem for the
ActiveMessageC, but it is a hack.
brano
More information about the Tinyos-devel
mailing list