Microchip® Advanced Software Framework

return_val.h File Reference

Return values of APIs.

Copyright (c) 2013-2018 Microchip Technology Inc. and its subsidiaries.

#include "compiler.h"

Macros

#define __PACK__DATA__
 
#define __PACK__RST_DATA__
 
#define status_code_genare_t   status_code_t
 

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

#define __PACK__DATA__
#define __PACK__RST_DATA__