Added MAC-layer return value to indicate that a packet transmission was deferred

This commit is contained in:
adamdunkels 2010-02-28 20:18:30 +00:00
parent 331f93b439
commit e6fceb7200
1 changed files with 4 additions and 1 deletions

View File

@ -28,7 +28,7 @@
* *
* This file is part of the Contiki operating system. * This file is part of the Contiki operating system.
* *
* $Id: mac.h,v 1.12 2010/02/18 21:48:39 adamdunkels Exp $ * $Id: mac.h,v 1.13 2010/02/28 20:18:30 adamdunkels Exp $
*/ */
/** /**
@ -86,6 +86,9 @@ enum {
/**< The MAC layer did not get an acknowledgement for the packet. */ /**< The MAC layer did not get an acknowledgement for the packet. */
MAC_TX_NOACK, MAC_TX_NOACK,
/**< The MAC layer deferred the transmission for a later time. */
MAC_TX_DEFERRED,
/**< The MAC layer transmission could not be performed because of an /**< The MAC layer transmission could not be performed because of an
error. The upper layer may try again later. */ error. The upper layer may try again later. */
MAC_TX_ERR, MAC_TX_ERR,