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.
Status | Description |
---|---|
MAC_STATUS_SUCCESS | Successful operation |
MAC_STATUS_CHANNEL_ACCESS_FAILURE | Channel is busy on Tx attempt |
MAC_STATUS_COUNTER_ERROR | Invalid Security Frame Counter, on either Tx or Rx |
MAC_STATUS_DENIED | Lower layers not ready. ACK in progress when Tx requested on RF MAC. Network Scan already in progress |
MAC_STATUS_FRAME_TOO_LONG | Frame exceeds maximum Tx size |
MAC_STATUS_INVALID_HANDLE | Invalid Handle when accessing MAC module |
MAC_STATUS_INVALID_INDEX | Index out of bounds when accessing a Table on Information Base |
MAC_STATUS_INVALID_PARAMETER | Invalid value when getting/setting an IB. Invalid value on Tx parameters |
MAC_STATUS_LIMIT_REACHED | Duty Cycle limit exceeded on RF MAC |
MAC_STATUS_NO_ACK | No ACK received from other end (when it was requested) |
MAC_STATUS_NO_SHORT_ADDRESS | Wrong Addressing mode on Tx. Network Start requested before setting own Short Address |
MAC_STATUS_READ_ONLY | Attempt to write a Read-only attribute |
MAC_STATUS_SECURITY_ERROR | Encryption/Decryption error on Tx/Rx |
MAC_STATUS_TRANSACTION_OVERFLOW | Tx already in progress when Tx requested on PLC MAC |
MAC_STATUS_UNAVAILABLE_KEY | Error when trying to use an invalid/unset Key |
MAC_STATUS_UNSUPPORTED_ATTRIBUTE | Invalid ID when getting/setting an IB |
MAC_STATUS_UNSUPPORTED_SECURITY | Security Level not supported on either Tx or Rx |
MAC_STATUS_ALTERNATE_PANID_DETECTION | Other PAN Id is seen, used on Comm Status Indication primitive |
MAC_STATUS_QUEUE_FULL | MAC Tx Queue is full and Tx request is not accepted |
Remarks
None.