* Author: Miklos Maroti
*/
-#include <LowPowerListeningLayer.h>
-
interface LowPowerListeningConfig
{
/**
- * Returns a pointer to the low power listening metadata fields in
- * the message
- */
- async command lpl_metadata_t* metadata(message_t* msg);
-
- /**
- * Clears the low power listening metadata fields in order to disable
- * low power listening for the 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 event void clear(message_t* msg);
+ command bool needsAutoAckRequest(message_t* msg);
/**
- * Returns TRUE if an acknowledgement is requested for this message.
+ * Returns TRUE if an acknowledgement has been requested for
+ * this message via the PacketAcknowledgements interface.
*/
- async command bool getAckRequired(message_t* msg);
+ command bool ackRequested(message_t* msg);
}