MAC driver header file.
More...
#include "contiki.h"
#include "dev/radio.h"
Go to the source code of this file.
|
#define | IEEE802154_DEFAULT_CHANNEL 26 |
| The default channel for IEEE 802.15.4 networks.
|
|
MAC driver header file.
- Author
- Adam Dunkels adam@.nosp@m.sics.nosp@m..se
Definition in file mac.h.
◆ 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.
|
MAC_TX_ERR_FATAL | The MAC layer transmission could not be performed because of insufficient queue space, failure to allocate a neighbor, or insufficient packet memory space.
The upper layer may try again later.
|
Definition at line 91 of file mac.h.