X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tos%2Fchips%2Frf2xx%2Flayers%2FLowPowerListeningConfig.nc;h=57c99d8202d9de6713ef12779c9eba1983da7bde;hb=a8214d93267fc47a4edb5417f91f152bc505ea67;hp=e8bf31f785526b0558d89738bd94f825257d3fc3;hpb=44b78a152afc580c94bf6e2416f966dc206e3386;p=tinyos-2.x.git diff --git a/tos/chips/rf2xx/layers/LowPowerListeningConfig.nc b/tos/chips/rf2xx/layers/LowPowerListeningConfig.nc index e8bf31f7..57c99d82 100644 --- a/tos/chips/rf2xx/layers/LowPowerListeningConfig.nc +++ b/tos/chips/rf2xx/layers/LowPowerListeningConfig.nc @@ -24,7 +24,15 @@ 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); }