MAC codes

The MAC codes come from the IEEE 802.15.4 MAC layer of the stack. The MAC codes may be returned by any ZigBee PRO API function with a non-void return. The codes are also described in the IEEE 802.15.4 Stack User Guide (JN-UG-3024).

MAC codes

Name

Value

Description

MAC_ENUM_SUCCESS

0x00

Success

MAC_ENUM_BEACON_LOSS

0xE0

Beacon loss after synchronization request

MAC_ENUM_CHANNEL_ACCESS_FAILURE

0xE1

CSMA/CA channel access failure

MAC_ENUM_DENIED

0xE2

GTS request denied

MAC_ENUM_DISABLE_TRX_FAILURE

0xE3

Could not disable transmit or receive

MAC_ENUM_FAILED_SECURITY_CHECK

0xE4

Incoming frame failed security check

MAC_ENUM_FRAME_TOO_LONG

0xE5

Frame too long, after security processing, to be sent

MAC_ENUM_INVALID_GTS

0xE6

GTS transmission failed

MAC_ENUM_INVALID_HANDLE

0xE7

Purge request failed to find entry in queue

MAC_ENUM_INVALID_PARAMETER

0xE8

Out-of-range parameter in function

MAC_ENUM_NO_ACK

0xE9

No acknowledgment received when expected

MAC_ENUM_NO_BEACON

0xEA

Scan failed to find any beacons

MAC_ENUM_NO_DATA

0xEB

No response data after a data request

MAC_ENUM_NO_SHORT_ADDRESS

0xEC

No allocated network (short) address for operation

MAC_ENUM_OUT_OF_CAP

0xED

Receiver-enable request could not be executed, as CAP finished

MAC_ENUM_PAN_ID_CONFLICT

0xEE

PAN ID conflict has been detected

MAC_ENUM_REALIGNMENT

0xEF

Coordinator realignment has been received

MAC_ENUM_TRANSACTION_EXPIRED

0xF0

Pending transaction has expired and data discarded

MAC_ENUM_TRANSACTION_OVERFLOW

0xF1

No capacity to store transaction

MAC_ENUM_TX_ACTIVE

0xF2

Receiver-enable request could not be executed, as in transmit state

MAC_ENUM_UNAVAILABLE_KEY

0xF3

Appropriate key is not available in ACL

MAC_ENUM_UNSUPPORTED_ATTRIBUTE

0xF4

PIB Set/Get on unsupported attribute

Parent topic:Return/Status Codes