Microchip® Advanced Software Framework

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages

All return Value Enumerations are defined in this module.

Typedefs

typedef enum retval_tag retval_t
 These are the return values of the PAL API. More...
 

Enumerations

enum  retval_tag {
  MAC_SUCCESS = 0x00,
  TAL_TRX_ASLEEP = 0x81,
  TAL_TRX_AWAKE = 0x82,
  FAILURE = 0x85,
  TAL_BUSY = 0x86,
  TAL_FRAME_PENDING = 0x87,
  PAL_TMR_ALREADY_RUNNING = 0x88,
  PAL_TMR_NOT_RUNNING = 0x89,
  PAL_TMR_INVALID_ID = 0x8A,
  PAL_TMR_INVALID_TIMEOUT = 0x8B,
  QUEUE_FULL = 0x8C,
  MAC_COUNTER_ERROR = 0xDB,
  MAC_IMPROPER_KEY_TYPE = 0xDC,
  MAC_IMPROPER_SECURITY_LEVEL = 0xDD,
  MAC_UNSUPPORTED_LEGACY = 0xDE,
  MAC_UNSUPPORTED_SECURITY = 0xDF,
  MAC_BEACON_LOSS = 0xE0,
  MAC_CHANNEL_ACCESS_FAILURE = 0xE1,
  MAC_DENIED = 0xE2,
  MAC_DISABLE_TRX_FAILURE = 0xE3,
  MAC_SECURITY_ERROR = 0xE4,
  MAC_FRAME_TOO_LONG = 0xE5,
  MAC_INVALID_GTS = 0xE6,
  MAC_INVALID_HANDLE = 0xE7,
  MAC_INVALID_PARAMETER = 0xE8,
  MAC_NO_ACK = 0xE9,
  MAC_NO_BEACON = 0xEA,
  MAC_NO_DATA = 0xEB,
  MAC_NO_SHORT_ADDRESS = 0xEC,
  MAC_OUT_OF_CAP = 0xED,
  MAC_PAN_ID_CONFLICT = 0xEE,
  MAC_REALIGNMENT = 0xEF,
  MAC_TRANSACTION_EXPIRED = 0xF0,
  MAC_TRANSACTION_OVERFLOW = 0xF1,
  MAC_TX_ACTIVE = 0xF2,
  MAC_UNAVAILABLE_KEY = 0xF3,
  MAC_UNSUPPORTED_ATTRIBUTE = 0xF4,
  MAC_INVALID_ADDRESS = 0xF5,
  MAC_PAST_TIME = 0xF7,
  MAC_INVALID_INDEX = 0xF9,
  MAC_LIMIT_REACHED = 0xFA,
  MAC_READ_ONLY = 0xFB,
  MAC_SCAN_IN_PROGRESS = 0xFC
}
 These are the return values of the PAL API. More...
 

typedef enum retval_tag retval_t

These are the return values of the PAL API.

enum retval_tag

These are the return values of the PAL API.

Enumerator
MAC_SUCCESS 

Success defined by 802.15.4.

TAL_TRX_ASLEEP 

Transceiver is currently sleeping.

TAL_TRX_AWAKE 

Transceiver is currently awake.

FAILURE 

General failure condition.

TAL_BUSY 

TAL busy condition.

TAL_FRAME_PENDING 

Frame pending at TAL.

PAL_TMR_ALREADY_RUNNING 

Timer is already running.

PAL_TMR_NOT_RUNNING 

Timer is not running.

PAL_TMR_INVALID_ID 

Invalid timer ID.

PAL_TMR_INVALID_TIMEOUT 

Requested Timeout is out of range or too short.

QUEUE_FULL 

Requested queue is full.

MAC_COUNTER_ERROR 

Invalid Frame counter value defined by 802.15.4.

MAC_IMPROPER_KEY_TYPE 

Unallowed key in received frame defined by 802.15.4.

MAC_IMPROPER_SECURITY_LEVEL 

Required security level not applied within received frame defined by 802.15.4.

MAC_UNSUPPORTED_LEGACY 

Received frame was secured using 802.15.4-2003 security.

MAC_UNSUPPORTED_SECURITY 

Not supported applied security defined by 802.15.4.

MAC_BEACON_LOSS 

Loss of beacons defined by 802.15.4.

MAC_CHANNEL_ACCESS_FAILURE 

Channel access failure defined by 802.15.4.

MAC_DENIED 

GTS Request denied by PANC defined by 802.15.4.

MAC_DISABLE_TRX_FAILURE 

Disabling of TRX failed defined by 802.15.4.

MAC_SECURITY_ERROR 

Failed cryptographic processing of the received secured frame defined by 802.15.4.

MAC_FRAME_TOO_LONG 

Current frame is too long defined by 802.15.4.

MAC_INVALID_GTS 

Invalid GTS defined by 802.15.4.

MAC_INVALID_HANDLE 

Invalid handle defined by 802.15.4.

MAC_INVALID_PARAMETER 

Invalid Parameter defined by 802.15.4.

MAC_NO_ACK 

No ACK defined by 802.15.4.

MAC_NO_BEACON 

No beacon defined by 802.15.4.

MAC_NO_DATA 

NO data defined by 802.15.4.

MAC_NO_SHORT_ADDRESS 

No valid short address defined by 802.15.4.

MAC_OUT_OF_CAP 

Out of CA defined by 802.15.4-2003, deprecated in 802.15.4-2006.

MAC_PAN_ID_CONFLICT 

PAN ID conflict defined by 802.15.4.

MAC_REALIGNMENT 

Realignment defined by 802.15.4.

MAC_TRANSACTION_EXPIRED 

Transaction expired defined by 802.15.4.

MAC_TRANSACTION_OVERFLOW 

Transaction overflow defined by 802.15.4.

MAC_TX_ACTIVE 

Tx active defined by 802.15.4.

MAC_UNAVAILABLE_KEY 

Unavailable key or blacklisted device defined by 802.15.4.

MAC_UNSUPPORTED_ATTRIBUTE 

Unsupported attribute defined by 802.15.4.

MAC_INVALID_ADDRESS 

Invalid address defined by 802.15.4.

MAC_PAST_TIME 

Receiver could not be enabled as defined by 802.15.4.

MAC_INVALID_INDEX 

Invalid index in table of MAC PIB attribute defined by 802.15.4.

MAC_LIMIT_REACHED 

Scan operation terminated prematurely defined by 802.15.4.

MAC_READ_ONLY 

SET request issued for read only attribute defined by 802.15.4.

MAC_SCAN_IN_PROGRESS 

Scan operation failed because of ongoing scan defined by 802.15.4.