Contiki 2.5
Data Structures | Enumerations
mac.h File Reference

    MAC driver header file
More...

#include "contiki-conf.h"
#include "dev/radio.h"

Go to the source code of this file.

Data Structures

struct  mac_driver
 The structure of a MAC protocol driver in Contiki. More...
 

Enumerations

enum  {
  MAC_TX_OK, MAC_TX_COLLISION, MAC_TX_NOACK, MAC_TX_DEFERRED,
  MAC_TX_ERR
}
 

Detailed Description

    MAC driver header file
Author
Adam Dunkels adam@.nosp@m.sics.nosp@m..se

Definition in file mac.h.

Enumeration Type Documentation

anonymous enum
Enumerator
MAC_TX_OK 

The MAC layer transmission was OK.

The MAC layer transmission could not be performed due to a

collision.

MAC_TX_COLLISION 

The MAC layer did not get an acknowledgement for the packet.

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 error.

The upper layer may try again later.

MAC_TX_ERR 

The MAC layer transmission could not be performed because of a fatal error.

The upper layer does not need to try again, as the error will be fatal then as well.

Definition at line 78 of file mac.h.