1.3.2.3.37 MAC_WRP_STATUS Enum

C

typedef enum
{
    MAC_WRP_STATUS_SUCCESS = 0x00,
    MAC_WRP_STATUS_CHANNEL_ACCESS_FAILURE = 0xE1,
    MAC_WRP_STATUS_COUNTER_ERROR = 0xDB,
    MAC_WRP_STATUS_DENIED = 0xE2,
    MAC_WRP_STATUS_FRAME_TOO_LONG = 0xE5,
    MAC_WRP_STATUS_INVALID_HANDLE = 0xE7,
    MAC_WRP_STATUS_INVALID_INDEX = 0xF9,
    MAC_WRP_STATUS_INVALID_PARAMETER = 0xE8,
    MAC_WRP_STATUS_LIMIT_REACHED = 0xFA,
    MAC_WRP_STATUS_NO_ACK = 0xE9,
    MAC_WRP_STATUS_NO_SHORT_ADDRESS = 0xEC,
    MAC_WRP_STATUS_READ_ONLY = 0xFB,
    MAC_WRP_STATUS_SECURITY_ERROR = 0xE4,
    MAC_WRP_STATUS_TRANSACTION_OVERFLOW = 0xF1,
    MAC_WRP_STATUS_UNAVAILABLE_KEY = 0xF3,
    MAC_WRP_STATUS_UNSUPPORTED_ATTRIBUTE = 0xF4,
    MAC_WRP_STATUS_UNSUPPORTED_SECURITY = 0xDF,
    MAC_WRP_STATUS_ALTERNATE_PANID_DETECTION = 0x80,
    MAC_WRP_STATUS_QUEUE_FULL = 0xD0,
} MAC_WRP_STATUS;

Summary

Identifies the possible return values for the status field on MAC Wrapper Confirm and Indication callbacks.

Description

Whenever a Confirm or Indication callback is generated from MAC Wrapper to indicate an event, a Status value is included with the event result.

StatusDescription
MAC_WRP_STATUS_SUCCESSSuccessful operation
MAC_WRP_STATUS_CHANNEL_ACCESS_FAILUREChannel is busy on Tx attempt
MAC_WRP_STATUS_COUNTER_ERRORInvalid Security Frame Counter, on either Tx or Rx
MAC_WRP_STATUS_DENIEDLower layers not ready. ACK in progress when Tx requested on RF MAC. Network Scan already in progress
MAC_WRP_STATUS_FRAME_TOO_LONGFrame exceeds maximum Tx size
MAC_WRP_STATUS_INVALID_HANDLEInvalid Handle when accessing MAC Wrapper module
MAC_WRP_STATUS_INVALID_INDEXIndex out of bounds when accessing a Table on Information Base
MAC_WRP_STATUS_INVALID_PARAMETERInvalid value when getting/setting an IB. Invalid value on Tx parameters
MAC_WRP_STATUS_LIMIT_REACHEDDuty Cycle limit exceeded on RF MAC
MAC_WRP_STATUS_NO_ACKNo ACK received from other end (when it was requested)
MAC_WRP_STATUS_NO_SHORT_ADDRESSWrong Addressing mode on Tx. Network Start requested before setting own Short Address
MAC_WRP_STATUS_READ_ONLYAttempt to write a Read-only attribute
MAC_WRP_STATUS_SECURITY_ERROREncryption/Decryption error on Tx/Rx
MAC_WRP_STATUS_TRANSACTION_OVERFLOWTx already in progress when Tx requested on PLC MAC
MAC_WRP_STATUS_UNAVAILABLE_KEYError when trying to use an invalid/unset Key
MAC_WRP_STATUS_UNSUPPORTED_ATTRIBUTEInvalid ID when getting/setting an IB
MAC_WRP_STATUS_UNSUPPORTED_SECURITYSecurity Level not supported on either Tx or Rx
MAC_WRP_STATUS_ALTERNATE_PANID_DETECTIONOther PAN Id is seen, used on Comm Status Indication primitive
MAC_WRP_STATUS_QUEUE_FULLMAC Tx Queue is full and Tx request is not accepted

Remarks

None.