Oh, this was silly question. I forgot the requestAck(). However, it's still tricky to use this Acknowledgement mechanism since my application is using UART0. It seems the radio cannot send acknowledgement if the shared USART0 is set to UART0.
Is this right? Kirak ----- Original Message ----- From: Kirak Hong <[email protected]> Date: Sunday, December 21, 2008 6:23 pm Subject: Re: [Tinyos-help] Link layer acknowledgement in CTP To: Omprakash Gnawali <[email protected]> Cc: [email protected] > I just found that the wasAcked() function always returns FALSE if I don't use > PacketLink layer. Actually, I thought that the wasAcked() function would work > proper unless NOACKNOWLEDGEMENT is defined. > > Do you know how to turn on the acknowledgement without PacketLink layer? I'm > using telosb mote. > > > > ----- Original Message ----- > From: Omprakash Gnawali <[email protected]> > Date: Sunday, December 21, 2008 5:07 pm > Subject: Re: [Tinyos-help] Link layer acknowledgement in CTP > To: Kirak Hong <[email protected]> > Cc: [email protected] > > > On Sun, Dec 21, 2008 at 4:53 PM, Kirak Hong > > <[email protected]> wrote: > > > Hello guys, > > > > > > > > > I'm using CTP and found some redundant transmission problem. I > > think it > > > retransmits redundant packets because > > PacketAcknowledgements.wasAcked is not > > > working well. On transmitter side, wasAcked() in > > > CtpForwardingEngineP.nc:SubSend.sendDone() sometimes returns > > FALSE although > > > the receiver received a packet. > > > > > > > > > Does anybody have an idea? > > > > > > > This sounds like lost ack. > > > > - om_p > _______________________________________________ > 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
