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.
Status | Description |
---|---|
MAC_WRP_STATUS_SUCCESS | Successful operation |
MAC_WRP_STATUS_CHANNEL_ACCESS_FAILURE | Channel is busy on Tx attempt |
MAC_WRP_STATUS_COUNTER_ERROR | Invalid Security Frame Counter, on either Tx or Rx |
MAC_WRP_STATUS_DENIED | Lower layers not ready. ACK in progress when Tx requested on RF MAC. Network Scan already in progress |
MAC_WRP_STATUS_FRAME_TOO_LONG | Frame exceeds maximum Tx size |
MAC_WRP_STATUS_INVALID_HANDLE | Invalid Handle when accessing MAC Wrapper module |
MAC_WRP_STATUS_INVALID_INDEX | Index out of bounds when accessing a Table on Information Base |
MAC_WRP_STATUS_INVALID_PARAMETER | Invalid value when getting/setting an IB. Invalid value on Tx parameters |
MAC_WRP_STATUS_LIMIT_REACHED | Duty Cycle limit exceeded on RF MAC |
MAC_WRP_STATUS_NO_ACK | No ACK received from other end (when it was requested) |
MAC_WRP_STATUS_NO_SHORT_ADDRESS | Wrong Addressing mode on Tx. Network Start requested before setting own Short Address |
MAC_WRP_STATUS_READ_ONLY | Attempt to write a Read-only attribute |
MAC_WRP_STATUS_SECURITY_ERROR | Encryption/Decryption error on Tx/Rx |
MAC_WRP_STATUS_TRANSACTION_OVERFLOW | Tx already in progress when Tx requested on PLC MAC |
MAC_WRP_STATUS_UNAVAILABLE_KEY | Error when trying to use an invalid/unset Key |
MAC_WRP_STATUS_UNSUPPORTED_ATTRIBUTE | Invalid ID when getting/setting an IB |
MAC_WRP_STATUS_UNSUPPORTED_SECURITY | Security Level not supported on either Tx or Rx |
MAC_WRP_STATUS_ALTERNATE_PANID_DETECTION | Other PAN Id is seen, used on Comm Status Indication primitive |
MAC_WRP_STATUS_QUEUE_FULL | MAC Tx Queue is full and Tx request is not accepted |
Remarks
None.