]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/LowPowerListeningConfig.nc
automatically request acks for non-broadcast messages in LPL mode
[tinyos-2.x.git] / tos / chips / rf2xx / layers / LowPowerListeningConfig.nc
index e8bf31f785526b0558d89738bd94f825257d3fc3..57c99d8202d9de6713ef12779c9eba1983da7bde 100644 (file)
 interface LowPowerListeningConfig
 {
        /**
-        * Returns TRUE if an acknowledgement is requested for this message.
+        * Returns TRUE if an acknowledgement should be requested
+        * for the message automatically by the LPL code (this should 
+        * normally happen for all non-broadcast messages).
         */
-       async command bool getAckRequired(message_t* msg);
+       command bool needsAutoAckRequest(message_t* msg);
+
+       /**
+        * Returns TRUE if an acknowledgement has been requested for 
+        * this message via the PacketAcknowledgements interface.
+        */
+       command bool ackRequested(message_t* msg);
 }