[Tinyos-devel] [Tinyos Core WG] TEP105: LowPowerListening DutyCycles

Philip Levis pal at cs.stanford.edu
Mon May 19 08:59:59 PDT 2008


On May 19, 2008, at 3:17 AM, Vlado Handziski wrote:

>
> The problem here is that the AM abstraction has traditionally been  
> understood as a "best-effort" or unreliable single-hop service.  
> Thats why the semantics of the result values are like they are. If  
> we want to push a traditional LL/MAC stack organization below AM,  
> these assumptions would need to be revisited, but this is the source  
> of some of the confusion about the LPL control also.

That's right; if one wanted different sendDone semantics (e.g.,  
SUCCESS on ack), one could write a ReliableAMSend interface whose  
implementation calls enableAck on the send downcall, and checks for  
wasAcked on the event upcall, passing FAIL on the sendDone if it  
wasn't acked.

Phil


More information about the Tinyos-devel mailing list