Error code definitions
C
#define MBA_RES_SUCCESS 0x0000 #define MBA_RES_FAIL 0x0001 #define MBA_RES_OOM 0x0002 #define MBA_RES_INVALID_PARA 0x0003 #define MBA_RES_NO_RESOURCE 0x0004 #define MBA_RES_BAD_STATE 0x0005 #define MBA_RES_PENDING_DUE_TO_SECURITY 0x0006 #define MBA_RES_BUSY 0x0007 #define MBA_RES_UNKNOWN_CONN_ID 0x0102 #define MBA_RES_AUTHENTICATION_FAILURE 0x0105 #define MBA_RES_PIN_OR_KEY_MISSING 0x0106 #define MBA_RES_CONN_TIMEOUT 0x0108 #define MBA_RES_CONN_ALREADY_EXISTS 0x010B #define MBA_RES_COMMAND_DISALLOWED 0x010C #define MBA_RES_CONN_REJ_LIMITED_RESOURCES 0x010D #define MBA_RES_CONN_REJ_SECURITY_REASONS 0x010E #define MBA_RES_REMOTE_USER_TERM_CONN 0x0113 #define MBA_RES_PAIRING_NOT_ALLOWED 0x0118 #define MBA_RES_UNSUPPORT_REMOTE_FEATURE 0x011A #define MBA_RES_INSUFFICIENT_SECURITY 0x012F #define MBA_RES_ADVERTISING_TIMEOUT 0x013C #define MBA_RES_CONN_TERM_MIC_FAILURE 0x013D #define MBA_RES_UNKNOWN_ADV_ID 0x0142
Description
Defines result codes for BLE Stack API operations.
Macro Definition
Macro | Description |
---|---|
MBA_RES_SUCCESS | Execution completed successfully. |
MBA_RES_FAIL | Execution fail. |
MBA_RES_OOM | Out of memory error. |
MBA_RES_INVALID_PARA | Invalid parameter(s) provided. |
MBA_RES_NO_RESOURCE | Insufficient resources available. |
MBA_RES_BAD_STATE | Operation not allowed in the current state. |
MBA_RES_PENDING_DUE_TO_SECURITY | Operation pending due to security procedures. |
MBA_RES_BUSY | Stack is busy; operation could not be executed. |
MBA_RES_UNKNOWN_CONN_ID | Connection identifier not recognized. |
MBA_RES_AUTHENTICATION_FAILURE | Authentication process failed. |
MBA_RES_PIN_OR_KEY_MISSING | Required PIN or key is missing. |
MBA_RES_CONN_TIMEOUT | Connection attempt timed out. |
MBA_RES_CONN_ALREADY_EXISTS | Attempted to establish a connection that already exists. |
MBA_RES_COMMAND_DISALLOWED | Command is not allowed. |
MBA_RES_CONN_REJ_LIMITED_RESOURCES | Connection rejected due to limited resources. |
MBA_RES_CONN_REJ_SECURITY_REASONS | Connection rejected due to security reasons. |
MBA_RES_REMOTE_USER_TERM_CONN | Connection terminated by the remote user. |
MBA_RES_PAIRING_NOT_ALLOWED | Pairing attempt not allowed. |
MBA_RES_UNSUPPORT_REMOTE_FEATURE | Remote feature not supported. |
MBA_RES_INSUFFICIENT_SECURITY | Security level is insufficient for the operation. |
MBA_RES_ADVERTISING_TIMEOUT | Advertising process timed out. |
MBA_RES_CONN_TERM_MIC_FAILURE | Connection terminated due to MIC (Message Integrity Check) failure. |
MBA_RES_UNKNOWN_ADV_ID | Advertising identifier not recognized. |