Re: [Tinyos-help] MAC acknowledgments

2009-12-09 Thread Paul Johnson
Wenjie, I believe you are correct. I probably should have verified this by looking at the code before making the statement. I had previously read through that code, and gotten the idea that sendDone(SUCCESS) was only signaled after an ack is received, but i guess i missed that case. It does

[Tinyos-help] MAC acknowledgments

2009-12-09 Thread Wenjie Zeng
Paul: I found statement not entirely true in T-2.1. > Once the sender receives an ack for this packet(with the ACK field set), only > then will the sendDone function be called. In *CC2420TransmitP*, *S_ACK_WAIT *is the state for waiting for a pending ACK. However, after the back off timer fires

Re: [Tinyos-help] MAC acknowledgments

2009-12-09 Thread David Conde
...@millennium.berkeley.edu] En nombre de Paul Johnson Enviado el: martes, 08 de diciembre de 2009 17:08 Para: Vikram vik76 CC: tinyos-help Asunto: Re: [Tinyos-help] MAC acknowledgments Vikram, It's probably best to look at the code yourself to determine if your platform turns on acks by defau

Re: [Tinyos-help] MAC acknowledgments

2009-12-08 Thread Paul Johnson
Vikram, It's probably best to look at the code yourself to determine if your platform turns on acks by default or not. In general it is radio hardware specific, for example the CC1000 doesn't perform MAC level acks. Other hardware such as the CC2420 have mac acks enabled by default for unicast p

[Tinyos-help] MAC acknowledgments

2009-12-07 Thread Vikram vik76
Hello, I would like to understand better the working of acknowledgments in tinyos. First, Is MAC level acknowledgment implemented by default? for Unicast or Broadcast? I also used the PacketAcknowledgements interface. When I use call PacketAcknowledgements.requestAck(&pkt) does it explicitly re