1.3.3.1.27 MAC_STATUS Enum

C

typedef enum
{
    MAC_STATUS_SUCCESS = 0x00,
    MAC_STATUS_CHANNEL_ACCESS_FAILURE = 0xE1,
    MAC_STATUS_COUNTER_ERROR = 0xDB,
    MAC_STATUS_DENIED = 0xE2,
    MAC_STATUS_FRAME_TOO_LONG = 0xE5,
    MAC_STATUS_INVALID_HANDLE = 0xE7,
    MAC_STATUS_INVALID_INDEX = 0xF9,
    MAC_STATUS_INVALID_PARAMETER = 0xE8,
    MAC_STATUS_LIMIT_REACHED = 0xFA,
    MAC_STATUS_NO_ACK = 0xE9,
    MAC_STATUS_NO_SHORT_ADDRESS = 0xEC,
    MAC_STATUS_READ_ONLY = 0xFB,
    MAC_STATUS_SECURITY_ERROR = 0xE4,
    MAC_STATUS_TRANSACTION_OVERFLOW = 0xF1,
    MAC_STATUS_UNAVAILABLE_KEY = 0xF3,
    MAC_STATUS_UNSUPPORTED_ATTRIBUTE = 0xF4,
    MAC_STATUS_UNSUPPORTED_SECURITY = 0xDF,
    MAC_STATUS_ALTERNATE_PANID_DETECTION = 0x80,
    MAC_STATUS_QUEUE_FULL = 0xD0,
} MAC_STATUS;

Summary

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

Description

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

StatusDescription
MAC_STATUS_SUCCESSSuccessful operation
MAC_STATUS_CHANNEL_ACCESS_FAILUREChannel is busy on Tx attempt
MAC_STATUS_COUNTER_ERRORInvalid Security Frame Counter, on either Tx or Rx
MAC_STATUS_DENIEDLower layers not ready. ACK in progress when Tx requested on RF MAC. Network Scan already in progress
MAC_STATUS_FRAME_TOO_LONGFrame exceeds maximum Tx size
MAC_STATUS_INVALID_HANDLEInvalid Handle when accessing MAC module
MAC_STATUS_INVALID_INDEXIndex out of bounds when accessing a Table on Information Base
MAC_STATUS_INVALID_PARAMETERInvalid value when getting/setting an IB. Invalid value on Tx parameters
MAC_STATUS_LIMIT_REACHEDDuty Cycle limit exceeded on RF MAC
MAC_STATUS_NO_ACKNo ACK received from other end (when it was requested)
MAC_STATUS_NO_SHORT_ADDRESSWrong Addressing mode on Tx. Network Start requested before setting own Short Address
MAC_STATUS_READ_ONLYAttempt to write a Read-only attribute
MAC_STATUS_SECURITY_ERROREncryption/Decryption error on Tx/Rx
MAC_STATUS_TRANSACTION_OVERFLOWTx already in progress when Tx requested on PLC MAC
MAC_STATUS_UNAVAILABLE_KEYError when trying to use an invalid/unset Key
MAC_STATUS_UNSUPPORTED_ATTRIBUTEInvalid ID when getting/setting an IB
MAC_STATUS_UNSUPPORTED_SECURITYSecurity Level not supported on either Tx or Rx
MAC_STATUS_ALTERNATE_PANID_DETECTIONOther PAN Id is seen, used on Comm Status Indication primitive
MAC_STATUS_QUEUE_FULLMAC Tx Queue is full and Tx request is not accepted

Remarks

None.