Macros

#define DEFINE_ERROR (symbol, value)
Macro used by error-def.h to define all of the return codes. More...

Enumerations

enum { EMBER_ERROR_CODE_COUNT }

Generic Messages

These messages are system wide.

#define EMBER_SUCCESS (x00)
The generic "no error" message. More...
#define EMBER_ERR_FATAL (x01)
The generic "fatal error" message. More...
#define EMBER_BAD_ARGUMENT (x02)
An invalid value was passed as an argument to a function. More...
#define EMBER_EEPROM_MFG_STACK_VERSION_MISMATCH (x04)
The manufacturing and stack token format in non-volatile memory is different than what the stack expects (returned at initialization). More...
#define EMBER_INVALID_CALL (x70)
The API call is not allowed given the current state of the stack. More...
#define EMBER_EEPROM_MFG_VERSION_MISMATCH (x06)
The manufacturing token format in non-volatile memory is different than what the stack expects (returned at initialization). More...
#define EMBER_EEPROM_STACK_VERSION_MISMATCH (x07)
The stack token format in non-volatile memory is different than what the stack expects (returned at initialization). More...

Packet Buffer Module Errors

#define EMBER_NO_BUFFERS (x18)
There are no more buffers. More...

Serial Manager Errors

#define EMBER_SERIAL_INVALID_BAUD_RATE (x20)
Specified an invalid baud rate. More...
#define EMBER_SERIAL_INVALID_PORT (x21)
Specified an invalid serial port. More...
#define EMBER_SERIAL_TX_OVERFLOW (x22)
Tried to send too much data. More...
#define EMBER_SERIAL_RX_OVERFLOW (x23)
There was not enough space to store a received character and the character was dropped. More...
#define EMBER_SERIAL_RX_FRAME_ERROR (x24)
Detected a UART framing error. More...
#define EMBER_SERIAL_RX_PARITY_ERROR (x25)
Detected a UART parity error. More...
#define EMBER_SERIAL_RX_EMPTY (x26)
There is no received data to process. More...
#define EMBER_SERIAL_RX_OVERRUN_ERROR (x27)
The receive interrupt was not handled in time, and a character was dropped. More...

MAC Errors

#define EMBER_MAC_NO_DATA (x31)
No pending data exists for device doing a data poll. More...
#define EMBER_MAC_JOINED_NETWORK (x32)
Attempt to scan when we are joined to a network. More...
#define EMBER_MAC_SYNC_TIMEOUT (x33)
The frequency hopping client failed the frequency hopping synchronization procedure, it timed out trying to reach the frequency hopping server. More...
#define EMBER_MAC_SYNC_WRONG_SEED (x34)
The frequency hopping client failed the frequency hopping synchronization procedure, the server is currently using a different seed. More...
#define EMBER_MAC_SECURITY_FAILED (x35)
MAC security operation failed. More...
#define EMBER_MAC_COMMAND_TRANSMIT_FAILURE (x36)
Failed to scan current channel because we were unable to transmit the relevent MAC command. More...
#define EMBER_MAC_UNKNOWN_DESTINATION (x37)
Transmission failed: the destination node does not appear in the neighbor or child tables. More...
#define EMBER_MAC_SECURITY_NOT_SUPPORTED (x38)
Transmission failed: the local node does not support security or a secured transmission has been requested to a child that does not support security. More...
#define EMBER_MAC_TRANSMIT_QUEUE_FULL (x39)
The MAC transmit queue is full. More...
#define EMBER_MAC_UNKNOWN_HEADER_TYPE (x3A)
MAC header FCF error on receive. More...
#define EMBER_MAC_ACK_HEADER_TYPE (x3B)
MAC ACK header received. More...
#define EMBER_MAC_SCANNING (x3D)
The MAC can't complete this task because it is scanning. More...
#define EMBER_MAC_BUSY (x3E)
The requested operation cannot be completed because the MAC is currently busy performing some high priority task. More...
#define EMBER_MAC_NO_ACK_RECEIVED (x40)
We expected to receive an ACK following the transmission, but the MAC level ACK was never received. More...
#define EMBER_MAC_INDIRECT_TIMEOUT (x41)
Indirect data message timed out before polled. More...
#define EMBER_MAC_INDIRECT_MESSAGE_PURGED (x42)
Transmission failed: the indirect message was purged because the destination child has been removed or updated. More...

Simulated EEPROM Errors

#define EMBER_SIM_EEPROM_ERASE_PAGE_GREEN (x43)
The Simulated EEPROM is telling the application that there is at least one flash page to be erased. The GREEN status means the current page has not filled above the ::ERASE_CRITICAL_THRESHOLD. More...
#define EMBER_SIM_EEPROM_ERASE_PAGE_RED (x44)
The Simulated EEPROM is telling the application that there is at least one flash page to be erased. The RED status means the current page has filled above the ::ERASE_CRITICAL_THRESHOLD. More...
#define EMBER_SIM_EEPROM_FULL (x45)
The Simulated EEPROM has run out of room to write any new data and the data trying to be set has been lost. This error code is the result of ignoring the ::SIM_EEPROM_ERASE_PAGE_RED error code. More...
#define EMBER_SIM_EEPROM_INIT_1_FAILED (x48)
Attempt 1 to initialize the Simulated EEPROM has failed. More...
#define EMBER_SIM_EEPROM_INIT_2_FAILED (x49)
Attempt 2 to initialize the Simulated EEPROM has failed. More...
#define EMBER_SIM_EEPROM_INIT_3_FAILED (x4A)
Attempt 3 to initialize the Simulated EEPROM has failed. More...
#define EMBER_SIM_EEPROM_REPAIRING (x4D)
The Simulated EEPROM is repairing itself. More...

Flash Errors

#define EMBER_ERR_FLASH_WRITE_INHIBITED (x46)
A fatal error has occurred while trying to write data to the Flash. The target memory attempting to be programmed is already programmed. The flash write routines were asked to flip a bit from a 0 to 1, which is physically impossible and the write was therefore inhibited. The data in the flash cannot be trusted after this error. More...
#define EMBER_ERR_FLASH_VERIFY_FAILED (x47)
A fatal error has occurred while trying to write data to the Flash and the write verification has failed. The data in the flash cannot be trusted after this error, and it is possible this error is the result of exceeding the life cycles of the flash. More...
#define EMBER_ERR_FLASH_PROG_FAIL (x4B)
#define EMBER_ERR_FLASH_ERASE_FAIL (x4C)

Bootloader Errors

#define EMBER_ERR_BOOTLOADER_TRAP_TABLE_BAD (x58)
The bootloader received an invalid message (failed attempt to go into bootloader). More...
#define EMBER_ERR_BOOTLOADER_TRAP_UNKNOWN (x59)
Bootloader received an invalid message (failed attempt to go into bootloader). More...
#define EMBER_ERR_BOOTLOADER_NO_IMAGE (x05A)
The bootloader cannot complete the bootload operation because either an image was not found or the image exceeded memory bounds. More...

Transport Errors

#define EMBER_MESSAGE_TOO_LONG (x74)
The message to be transmitted is too big to fit into a single over-the-air packet. More...

HAL Module Errors

#define EMBER_ADC_CONVERSION_DONE (x80)
Conversion is complete. More...
#define EMBER_ADC_CONVERSION_BUSY (x81)
Conversion cannot be done because a request is being processed. More...
#define EMBER_ADC_CONVERSION_DEFERRED (x82)
Conversion is deferred until the current request has been processed. More...
#define EMBER_ADC_NO_CONVERSION_PENDING (x84)
No results are pending. More...
#define EMBER_SLEEP_INTERRUPTED (x85)
Sleeping (for a duration) has been abnormally interrupted and exited prematurely. More...

PHY Errors

#define EMBER_PHY_TX_UNDERFLOW (x88)
The transmit hardware buffer underflowed. More...
#define EMBER_PHY_TX_INCOMPLETE (x89)
The transmit hardware did not finish transmitting a packet. More...
#define EMBER_PHY_INVALID_CHANNEL (x8A)
An unsupported channel setting was specified. More...
#define EMBER_PHY_INVALID_POWER (x8B)
An unsupported power setting was specified. More...
#define EMBER_PHY_TX_BUSY (x8C)
The requested operation cannot be completed because the radio is currently busy, either transmitting a packet or performing calibration. More...
#define EMBER_PHY_TX_CCA_FAIL (x8D)
The transmit attempt failed because all CCA attempts indicated that the channel was busy. More...
#define EMBER_PHY_ACK_RECEIVED (x8F)
The expected ACK was received after the last transmission. More...

Return Codes Passed to emberStackStatusHandler()

See also emberStackStatusHandler() .

#define EMBER_NETWORK_UP (x90)
The stack software has completed initialization and is ready to send and receive packets over the air. More...
#define EMBER_NETWORK_DOWN (x91)
The network is not operating. More...
#define EMBER_JOIN_SCAN_FAILED (x93)
The node failed to initiate the scanning process during the joining process. More...
#define EMBER_JOIN_FAILED (x94)
An attempt to join a network failed. More...
#define EMBER_JOIN_DENIED (x95)
An attempt to join a network was rejected. More...
#define EMBER_JOIN_TIMEOUT (x96)
The node timed out waiting for a response during the joining process. More...
#define EMBER_NO_VALID_BEACONS (xAB)
An attempt to join or rejoin the network failed because no valid beacons could be heard by the joining node. More...

Security Errors

#define EMBER_KEY_INVALID (xB2)
The passed key data is not valid. A key of all zeros or all F's are reserved values and cannot be used. More...
#define EMBER_SECURITY_DATA_INVALID (xBD)
The security data provided was not valid, or an integrity check failed. More...

Miscellaneous Network Errors

#define EMBER_NOT_JOINED (x93)
The node has not joined a network. More...

Miscellaneous Utility Errors

#define EMBER_INDEX_OUT_OF_RANGE (xB1)
An index was passed into the function that was larger than the valid range. More...
#define EMBER_TABLE_FULL (xB4)
There are no empty entries left in the table. More...
#define EMBER_TABLE_ENTRY_ERASED (xB6)
The requested table entry has been erased and contains no valid data. More...
#define EMBER_LIBRARY_NOT_PRESENT (xB5)
The requested function cannot be executed because the library that contains the necessary functionality is not present. More...
#define EMBER_OPERATION_IN_PROGRESS (xBA)
The stack accepted the command and is currently processing the request. The results will be returned via an appropriate handler. More...

Application Errors

These error codes are available for application use.

#define EMBER_APPLICATION_ERROR_0 (xF0)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_1 (xF1)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_2 (xF2)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_3 (xF3)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_4 (xF4)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_5 (xF5)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_6 (xF6)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_7 (xF7)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_8 (xF8)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_9 (xF9)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_10 (xFA)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_11 (xFB)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_12 (xFC)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_13 (xFD)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_14 (xFE)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...
#define EMBER_APPLICATION_ERROR_15 (xFF)
This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL. More...

Detailed Description

Many Ember Connect API functions return an EmberStatus value to indicate the success or failure of the call. Return codes are one byte long. This page documents the possible status codes and their meanings.

See error-def.h for source code.

See also error.h for information on how the values for the return codes are built up from these definitions. The file error-def.h is separated from error.h because utilities will use this file to parse the return codes.

Note
Do not include error-def.h directly. It is included by error.h inside an enum typedef, which is in turn included by ember.h.

Macro Definition Documentation

#define DEFINE_ERROR ( symbol,
value
)

Macro used by error-def.h to define all of the return codes.

Parameters
symbol The name of the constant being defined. All Ember returns begin with EMBER_. For example, ::EMBER_CONNECTION_OPEN.
value The value of the return code. For example, 0x61.

Definition at line 34 of file error.h .

#define EMBER_ADC_CONVERSION_BUSY ( x81 )

Conversion cannot be done because a request is being processed.

Definition at line 602 of file error-def.h .

#define EMBER_ADC_CONVERSION_DEFERRED ( x82 )

Conversion is deferred until the current request has been processed.

Definition at line 612 of file error-def.h .

#define EMBER_ADC_CONVERSION_DONE ( x80 )

Conversion is complete.

Definition at line 592 of file error-def.h .

#define EMBER_ADC_NO_CONVERSION_PENDING ( x84 )

No results are pending.

Definition at line 621 of file error-def.h .

#define EMBER_APPLICATION_ERROR_0 ( xF0 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 890 of file error-def.h .

#define EMBER_APPLICATION_ERROR_1 ( xF1 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 891 of file error-def.h .

#define EMBER_APPLICATION_ERROR_10 ( xFA )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 900 of file error-def.h .

#define EMBER_APPLICATION_ERROR_11 ( xFB )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 901 of file error-def.h .

#define EMBER_APPLICATION_ERROR_12 ( xFC )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 902 of file error-def.h .

#define EMBER_APPLICATION_ERROR_13 ( xFD )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 903 of file error-def.h .

#define EMBER_APPLICATION_ERROR_14 ( xFE )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 904 of file error-def.h .

#define EMBER_APPLICATION_ERROR_15 ( xFF )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 905 of file error-def.h .

#define EMBER_APPLICATION_ERROR_2 ( xF2 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 892 of file error-def.h .

#define EMBER_APPLICATION_ERROR_3 ( xF3 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 893 of file error-def.h .

#define EMBER_APPLICATION_ERROR_4 ( xF4 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 894 of file error-def.h .

#define EMBER_APPLICATION_ERROR_5 ( xF5 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 895 of file error-def.h .

#define EMBER_APPLICATION_ERROR_6 ( xF6 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 896 of file error-def.h .

#define EMBER_APPLICATION_ERROR_7 ( xF7 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 897 of file error-def.h .

#define EMBER_APPLICATION_ERROR_8 ( xF8 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 898 of file error-def.h .

#define EMBER_APPLICATION_ERROR_9 ( xF9 )

This error is reserved for customer application use. This will never be returned from any portion of the network stack or HAL.

Definition at line 899 of file error-def.h .

#define EMBER_BAD_ARGUMENT ( x02 )

An invalid value was passed as an argument to a function.

Definition at line 59 of file error-def.h .

#define EMBER_EEPROM_MFG_STACK_VERSION_MISMATCH ( x04 )

The manufacturing and stack token format in non-volatile memory is different than what the stack expects (returned at initialization).

Definition at line 69 of file error-def.h .

#define EMBER_EEPROM_MFG_VERSION_MISMATCH ( x06 )

The manufacturing token format in non-volatile memory is different than what the stack expects (returned at initialization).

Definition at line 89 of file error-def.h .

#define EMBER_EEPROM_STACK_VERSION_MISMATCH ( x07 )

The stack token format in non-volatile memory is different than what the stack expects (returned at initialization).

Definition at line 99 of file error-def.h .

#define EMBER_ERR_BOOTLOADER_NO_IMAGE ( x05A )

The bootloader cannot complete the bootload operation because either an image was not found or the image exceeded memory bounds.

Definition at line 559 of file error-def.h .

#define EMBER_ERR_BOOTLOADER_TRAP_TABLE_BAD ( x58 )

The bootloader received an invalid message (failed attempt to go into bootloader).

Definition at line 539 of file error-def.h .

#define EMBER_ERR_BOOTLOADER_TRAP_UNKNOWN ( x59 )

Bootloader received an invalid message (failed attempt to go into bootloader).

Definition at line 549 of file error-def.h .

#define EMBER_ERR_FATAL ( x01 )

The generic "fatal error" message.

Definition at line 50 of file error-def.h .

#define EMBER_ERR_FLASH_ERASE_FAIL ( x4C )
Description:
A fatal error has occurred while trying to erase flash, possibly due to write protection. The data in the flash cannot be trusted after this error, and it is possible this error is the result of exceeding the life cycles of the flash.

Definition at line 522 of file error-def.h .

#define EMBER_ERR_FLASH_PROG_FAIL ( x4B )
Description:
A fatal error has occurred while trying to write data to the flash, possibly due to write protection or an invalid address. The data in the flash cannot be trusted after this error, and it is possible this error is the result of exceeding the life cycles of the flash.

Definition at line 510 of file error-def.h .

#define EMBER_ERR_FLASH_VERIFY_FAILED ( x47 )

A fatal error has occurred while trying to write data to the Flash and the write verification has failed. The data in the flash cannot be trusted after this error, and it is possible this error is the result of exceeding the life cycles of the flash.

Definition at line 498 of file error-def.h .

#define EMBER_ERR_FLASH_WRITE_INHIBITED ( x46 )

A fatal error has occurred while trying to write data to the Flash. The target memory attempting to be programmed is already programmed. The flash write routines were asked to flip a bit from a 0 to 1, which is physically impossible and the write was therefore inhibited. The data in the flash cannot be trusted after this error.

Definition at line 486 of file error-def.h .

#define EMBER_INDEX_OUT_OF_RANGE ( xB1 )

An index was passed into the function that was larger than the valid range.

Definition at line 833 of file error-def.h .

#define EMBER_INVALID_CALL ( x70 )

The API call is not allowed given the current state of the stack.

Definition at line 79 of file error-def.h .

#define EMBER_JOIN_DENIED ( x95 )

An attempt to join a network was rejected.

Definition at line 758 of file error-def.h .

#define EMBER_JOIN_FAILED ( x94 )

An attempt to join a network failed.

Definition at line 749 of file error-def.h .

#define EMBER_JOIN_SCAN_FAILED ( x93 )

The node failed to initiate the scanning process during the joining process.

Definition at line 740 of file error-def.h .

#define EMBER_JOIN_TIMEOUT ( x96 )

The node timed out waiting for a response during the joining process.

Definition at line 767 of file error-def.h .

#define EMBER_KEY_INVALID ( xB2 )

The passed key data is not valid. A key of all zeros or all F's are reserved values and cannot be used.

Definition at line 791 of file error-def.h .

#define EMBER_LIBRARY_NOT_PRESENT ( xB5 )

The requested function cannot be executed because the library that contains the necessary functionality is not present.

Definition at line 862 of file error-def.h .

#define EMBER_MAC_ACK_HEADER_TYPE ( x3B )

MAC ACK header received.

Definition at line 310 of file error-def.h .

#define EMBER_MAC_BUSY ( x3E )

The requested operation cannot be completed because the MAC is currently busy performing some high priority task.

Definition at line 329 of file error-def.h .

#define EMBER_MAC_COMMAND_TRANSMIT_FAILURE ( x36 )

Failed to scan current channel because we were unable to transmit the relevent MAC command.

Definition at line 261 of file error-def.h .

#define EMBER_MAC_INDIRECT_MESSAGE_PURGED ( x42 )

Transmission failed: the indirect message was purged because the destination child has been removed or updated.

Definition at line 358 of file error-def.h .

#define EMBER_MAC_INDIRECT_TIMEOUT ( x41 )

Indirect data message timed out before polled.

Definition at line 348 of file error-def.h .

#define EMBER_MAC_JOINED_NETWORK ( x32 )

Attempt to scan when we are joined to a network.

Definition at line 221 of file error-def.h .

#define EMBER_MAC_NO_ACK_RECEIVED ( x40 )

We expected to receive an ACK following the transmission, but the MAC level ACK was never received.

Definition at line 339 of file error-def.h .

#define EMBER_MAC_NO_DATA ( x31 )

No pending data exists for device doing a data poll.

Definition at line 212 of file error-def.h .

#define EMBER_MAC_SCANNING ( x3D )

The MAC can't complete this task because it is scanning.

Definition at line 319 of file error-def.h .

#define EMBER_MAC_SECURITY_FAILED ( x35 )

MAC security operation failed.

Definition at line 251 of file error-def.h .

#define EMBER_MAC_SECURITY_NOT_SUPPORTED ( x38 )

Transmission failed: the local node does not support security or a secured transmission has been requested to a child that does not support security.

Definition at line 282 of file error-def.h .

#define EMBER_MAC_SYNC_TIMEOUT ( x33 )

The frequency hopping client failed the frequency hopping synchronization procedure, it timed out trying to reach the frequency hopping server.

Definition at line 232 of file error-def.h .

#define EMBER_MAC_SYNC_WRONG_SEED ( x34 )

The frequency hopping client failed the frequency hopping synchronization procedure, the server is currently using a different seed.

Definition at line 242 of file error-def.h .

#define EMBER_MAC_TRANSMIT_QUEUE_FULL ( x39 )

The MAC transmit queue is full.

Definition at line 291 of file error-def.h .

#define EMBER_MAC_UNKNOWN_DESTINATION ( x37 )

Transmission failed: the destination node does not appear in the neighbor or child tables.

Definition at line 271 of file error-def.h .

#define EMBER_MAC_UNKNOWN_HEADER_TYPE ( x3A )

MAC header FCF error on receive.

Definition at line 301 of file error-def.h .

#define EMBER_MESSAGE_TOO_LONG ( x74 )

The message to be transmitted is too big to fit into a single over-the-air packet.

Definition at line 576 of file error-def.h .

#define EMBER_NETWORK_DOWN ( x91 )

The network is not operating.

Definition at line 730 of file error-def.h .

#define EMBER_NETWORK_UP ( x90 )

The stack software has completed initialization and is ready to send and receive packets over the air.

Definition at line 721 of file error-def.h .

#define EMBER_NO_BUFFERS ( x18 )

There are no more buffers.

Definition at line 115 of file error-def.h .

#define EMBER_NO_VALID_BEACONS ( xAB )

An attempt to join or rejoin the network failed because no valid beacons could be heard by the joining node.

Definition at line 776 of file error-def.h .

#define EMBER_NOT_JOINED ( x93 )

The node has not joined a network.

Definition at line 816 of file error-def.h .

#define EMBER_OPERATION_IN_PROGRESS ( xBA )

The stack accepted the command and is currently processing the request. The results will be returned via an appropriate handler.

Definition at line 872 of file error-def.h .

#define EMBER_PHY_ACK_RECEIVED ( x8F )

The expected ACK was received after the last transmission.

Definition at line 703 of file error-def.h .

#define EMBER_PHY_INVALID_CHANNEL ( x8A )

An unsupported channel setting was specified.

Definition at line 665 of file error-def.h .

#define EMBER_PHY_INVALID_POWER ( x8B )

An unsupported power setting was specified.

Definition at line 674 of file error-def.h .

#define EMBER_PHY_TX_BUSY ( x8C )

The requested operation cannot be completed because the radio is currently busy, either transmitting a packet or performing calibration.

Definition at line 684 of file error-def.h .

#define EMBER_PHY_TX_CCA_FAIL ( x8D )

The transmit attempt failed because all CCA attempts indicated that the channel was busy.

Definition at line 694 of file error-def.h .

#define EMBER_PHY_TX_INCOMPLETE ( x89 )

The transmit hardware did not finish transmitting a packet.

Definition at line 656 of file error-def.h .

#define EMBER_PHY_TX_UNDERFLOW ( x88 )

The transmit hardware buffer underflowed.

Definition at line 647 of file error-def.h .

#define EMBER_SECURITY_DATA_INVALID ( xBD )

The security data provided was not valid, or an integrity check failed.

Definition at line 800 of file error-def.h .

#define EMBER_SERIAL_INVALID_BAUD_RATE ( x20 )

Specified an invalid baud rate.

Definition at line 131 of file error-def.h .

#define EMBER_SERIAL_INVALID_PORT ( x21 )

Specified an invalid serial port.

Definition at line 140 of file error-def.h .

#define EMBER_SERIAL_RX_EMPTY ( x26 )

There is no received data to process.

Definition at line 186 of file error-def.h .

#define EMBER_SERIAL_RX_FRAME_ERROR ( x24 )

Detected a UART framing error.

Definition at line 168 of file error-def.h .

#define EMBER_SERIAL_RX_OVERFLOW ( x23 )

There was not enough space to store a received character and the character was dropped.

Definition at line 159 of file error-def.h .

#define EMBER_SERIAL_RX_OVERRUN_ERROR ( x27 )

The receive interrupt was not handled in time, and a character was dropped.

Definition at line 196 of file error-def.h .

#define EMBER_SERIAL_RX_PARITY_ERROR ( x25 )

Detected a UART parity error.

Definition at line 177 of file error-def.h .

#define EMBER_SERIAL_TX_OVERFLOW ( x22 )

Tried to send too much data.

Definition at line 149 of file error-def.h .

#define EMBER_SIM_EEPROM_ERASE_PAGE_GREEN ( x43 )

The Simulated EEPROM is telling the application that there is at least one flash page to be erased. The GREEN status means the current page has not filled above the ::ERASE_CRITICAL_THRESHOLD.

The application should call the function ::halSimEepromErasePage() when it can to erase a page.

Definition at line 379 of file error-def.h .

#define EMBER_SIM_EEPROM_ERASE_PAGE_RED ( x44 )

The Simulated EEPROM is telling the application that there is at least one flash page to be erased. The RED status means the current page has filled above the ::ERASE_CRITICAL_THRESHOLD.

Due to the shrinking availability of write space, there is a danger of data loss. The application must call the function ::halSimEepromErasePage() as soon as possible to erase a page.

Definition at line 394 of file error-def.h .

#define EMBER_SIM_EEPROM_FULL ( x45 )

The Simulated EEPROM has run out of room to write any new data and the data trying to be set has been lost. This error code is the result of ignoring the ::SIM_EEPROM_ERASE_PAGE_RED error code.

The application must call the function ::halSimEepromErasePage() to make room for any further calls to set a token.

Definition at line 408 of file error-def.h .

#define EMBER_SIM_EEPROM_INIT_1_FAILED ( x48 )

Attempt 1 to initialize the Simulated EEPROM has failed.

This failure means the information already stored in Flash (or a lack thereof), is fatally incompatible with the token information compiled into the code image being run.

Definition at line 424 of file error-def.h .

#define EMBER_SIM_EEPROM_INIT_2_FAILED ( x49 )

Attempt 2 to initialize the Simulated EEPROM has failed.

This failure means Attempt 1 failed, and the token system failed to properly reload default tokens and reset the Simulated EEPROM.

Definition at line 436 of file error-def.h .

#define EMBER_SIM_EEPROM_INIT_3_FAILED ( x4A )

Attempt 3 to initialize the Simulated EEPROM has failed.

This failure means one or both of the tokens ::TOKEN_MFG_NVDATA_VERSION or ::TOKEN_STACK_NVDATA_VERSION were incorrect and the token system failed to properly reload default tokens and reset the Simulated EEPROM.

Definition at line 449 of file error-def.h .

#define EMBER_SIM_EEPROM_REPAIRING ( x4D )

The Simulated EEPROM is repairing itself.

While there's nothing for an app to do when the SimEE is going to repair itself (SimEE has to be fully functional for the rest of the system to work), alert the application to the fact that repairing is occurring. There are debugging scenarios where an app might want to know that repairing is happening; such as monitoring frequency.

Note
Common situations will trigger an expected repair, such as using an erased chip or changing token definitions.

Definition at line 466 of file error-def.h .

#define EMBER_SLEEP_INTERRUPTED ( x85 )

Sleeping (for a duration) has been abnormally interrupted and exited prematurely.

Definition at line 631 of file error-def.h .

#define EMBER_SUCCESS ( x00 )

The generic "no error" message.

Definition at line 41 of file error-def.h .

#define EMBER_TABLE_ENTRY_ERASED ( xB6 )

The requested table entry has been erased and contains no valid data.

Definition at line 852 of file error-def.h .

#define EMBER_TABLE_FULL ( xB4 )

There are no empty entries left in the table.

Definition at line 842 of file error-def.h .

Enumeration Type Documentation

anonymous enum
Enumerator
EMBER_ERROR_CODE_COUNT

Gets defined as a count of all the possible return codes in the Ember stack API.

Definition at line 37 of file error.h .