]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tos/chips/rf2xx/layers/SoftwareAckConfig.nc
change metadata handling,
[tinyos-2.x.git] / tos / chips / rf2xx / layers / SoftwareAckConfig.nc
index b3c87c735b00e9f4448040de6e3e52d5dc2de5a9..5f7b8a3fc1354e98f419658a5c495ed1261a7d34 100755 (executable)
@@ -31,17 +31,18 @@ interface SoftwareAckConfig
         */
        async command uint16_t getAckTimeout();
 
+       /**
+        * Sets the flag in the message indicating to the receiver whether
+        * the message should be acknowledged.
+        */
+       async command void setAckRequired(message_t* msg, bool ack);
+        
        /**
         * Returns TRUE if the layer should wait for a software acknowledgement
         * to be received after this packet was transmitted.
         */
        async command bool requiresAckWait(message_t* msg);
 
-       /**
-        * Sets for the transmitted message whether it was acknowledged or not.
-        */
-       async command void setAckReceived(message_t* msg, bool acked);
-
        /**
         * Returns TRUE if the received packet is an acknowledgement packet.
         * The AckedSend layer will filter out all received acknowledgement