Macros
BLE Stack specific error codes
BLE » Error Codes » Defines

## Macros
#define | BLE_SUCCESS 0x00
#define | BLE_ATT_ERR_INVALID_HANDLE 0x01
| ATT Specific Error. More...
#define | BLE_ATT_ERR_READ_NOT_PERMITTED 0x02
#define | BLE_ATT_ERR_WRITE_NOT_PERMITTED 0x03
#define | BLE_ATT_ERR_INVALID_PDU 0x04
#define | BLE_ATT_ERR_INSUFF_AUTHEN 0x05
#define | BLE_ATT_ERR_REQUEST_NOT_SUPPORTED 0x06
#define | BLE_ATT_ERR_INVALID_OFFSET 0x07
#define | BLE_ATT_ERR_INSUFF_AUTHOR 0x08
#define | BLE_ATT_ERR_PREPARE_QUEUE_FULL 0x09
#define | BLE_ATT_ERR_ATTRIBUTE_NOT_FOUND 0x0A
#define | BLE_ATT_ERR_ATTRIBUTE_NOT_LONG 0x0B
#define | BLE_ATT_ERR_INSUFF_ENC_KEY_SIZE 0x0C
#define | BLE_ATT_ERR_INVALID_ATTRIBUTE_VAL_LEN 0x0D
#define | BLE_ATT_ERR_UNLIKELY_ERR 0x0E
#define | BLE_ATT_ERR_INSUFF_ENC 0x0F
#define | BLE_ATT_ERR_UNSUPP_GRP_TYPE 0x10
#define | BLE_ATT_ERR_INSUFF_RESOURCE 0x11
#define | BLE_ATT_ERR_DB_OUT_OF_SYNC 0x12
#define | BLE_ATT_ERR_VALUE_NOT_ALLOWED 0x13
#define | BLE_L2C_ENH_CB_RECONFIG_INVALID_MTU 0x2C
| L2CAP Specific Error. More...
#define | BLE_L2C_ENH_CB_RECONFIG_INVALID_MPS 0x2D
#define | BLE_L2C_ENH_CB_RECONFIG_INVALID_CID 0x2E
#define | BLE_L2C_ENH_CB_RECONFIG_UNACCEPT_PARAM 0x2F
#define | BLE_L2C_ERR_CONNECTION_LOST 0x30
#define | BLE_L2C_ERR_INVALID_MTU_EXCEED 0x31
#define | BLE_L2C_ERR_INVALID_MPS_EXCEED 0x32
#define | BLE_L2C_ERR_INVALID_CID 0x33
#define | BLE_L2C_ERR_INVALID_PDU 0x34
#define | BLE_L2C_ERR_NO_RES_AVAIL 0x35
#define | BLE_L2C_ERR_INSUFF_AUTHEN 0x36
#define | BLE_L2C_ERR_INSUFF_AUTHOR 0x37
#define | BLE_L2C_ERR_INSUFF_ENC_KEY_SIZE 0x38
#define | BLE_L2C_ERR_INSUFF_ENC 0x39
#define | BLE_L2C_ERR_LEPSM_NOT_SUPP 0x3A
#define | BLE_L2C_ERR_INSUFF_CREDIT 0x3B
#define | BLE_L2C_ERR_NOT_UNDERSTOOD 0x3C
#define | BLE_L2C_ERR_CREDIT_ERROR 0x3D
#define | BLE_L2C_ERR_CID_ALREADY_ALLOC 0x3E
#define | BLE_L2C_ERR_UNKNOWN_PDU 0x3F
#define | BLE_GAP_ERR_INVALID_PARAM 0x40
| GAP Specific Error. More...
#define | BLE_GAP_ERR_PROTOCOL_PROBLEM 0x41
#define | BLE_GAP_ERR_NOT_SUPPORTED 0x42
#define | BLE_GAP_ERR_COMMAND_DISALLOWED 0x43
#define | BLE_GAP_ERR_CANCELED 0x44
#define | BLE_GAP_ERR_TIMEOUT 0x45
#define | BLE_GAP_ERR_DISCONNECTED 0x46
#define | BLE_GAP_ERR_NOT_FOUND 0x47
#define | BLE_GAP_ERR_REJECTED 0x48
#define | BLE_GAP_ERR_PRIVACY_CFG_PB 0x49
#define | BLE_GAP_ERR_ADV_DATA_INVALID 0x4A
#define | BLE_GAP_ERR_INSUFF_RESOURCES 0x4B
#define | BLE_GAP_ERR_UNEXPECTED 0x4C
#define | BLE_GAP_ERR_MISMATCH 0x4D
#define | BLE_GATT_ERR_INVALID_ATT_LEN 0x50
| GATT Specific Error. More...
#define | BLE_GATT_ERR_INVALID_TYPE_IN_SVC_SEARCH 0x51
#define | BLE_GATT_ERR_WRITE 0x52
#define | BLE_GATT_ERR_SIGNED_WRITE 0x53
#define | BLE_GATT_ERR_ATTRIBUTE_CLIENT_MISSING 0x54
#define | BLE_GATT_ERR_ATTRIBUTE_SERVER_MISSING 0x55
#define | BLE_GATT_ERR_INVALID_PERM 0x56
#define | BLE_GATT_ERR_BROWSE_NO_ANY_MORE 0x57
#define | BLE_GATT_ERR_CACHE_UPDATING 0x58
#define | BLE_GATT_ERR_CACHE_FINISH 0x59
#define | BLE_SEC_ERR_PASSKEY_ENTRY_FAIL 0x61
| SEC Specific Error. More...
#define | BLE_SEC_ERR_OOB_NOT_AVAILBL 0x62
#define | BLE_SEC_ERR_AUTH_REQ 0x63
#define | BLE_SEC_ERR_CONFIRM_VAL_FAIL 0x64
#define | BLE_SEC_ERR_PAIRING_NOT_SUPPORT 0x65
#define | BLE_SEC_ERR_ENCRPT_KEY_SIZE 0x66
#define | BLE_SEC_ERR_COMMAND_NOT_SUPPORT 0x67
#define | BLE_SEC_ERR_UNSPECIFIED 0x68
#define | BLE_SEC_ERR_REPEAT_ATTEMPT 0x69
#define | BLE_SEC_ERR_INVALID_PARAM 0x6A
#define | BLE_SEC_ERR_DHKEY_CHECK_FAIL 0x6B
#define | BLE_SEC_ERR_NUM_CMP_FAIL 0x6C
#define | BLE_SEC_ERR_BR_EDR_IN_PROGRESS 0x6D
#define | BLE_SEC_ERR_KEY_DRIV_GEN_NOT_ALLOW 0x6E
#define | BLE_SEC_ERR_LTK_MISSING 0x6F
#define | BLE_LL_ERR_UNKNOWN_HCI_COMMAND 0x91
| LL Specific Error. More...
#define | BLE_LL_ERR_UNKNOWN_CONNECTION_ID 0x92
#define | BLE_LL_ERR_HARDWARE_FAILURE 0x93
#define | BLE_LL_ERR_PAGE_TIMEOUT 0x94
#define | BLE_LL_ERR_AUTH_FAILURE 0x95
#define | BLE_LL_ERR_PIN_MISSING 0x96
#define | BLE_LL_ERR_MEMORY_CAPA_EXCEED 0x97
#define | BLE_LL_ERR_CON_TIMEOUT 0x98
#define | BLE_LL_ERR_CON_LIMIT_EXCEED 0x99
#define | BLE_LL_ERR_SYNC_CON_LIMIT_DEV_EXCEED 0x9A
#define | BLE_LL_ERR_ACL_CON_EXISTS 0x9B
#define | BLE_LL_ERR_COMMAND_DISALLOWED 0x9C
#define | BLE_LL_ERR_CONN_REJ_LIMITED_RESOURCES 0x9D
#define | BLE_LL_ERR_CONN_REJ_SECURITY_REASONS 0x9E
#define | BLE_LL_ERR_CONN_REJ_UNACCEPTABLE_BDADDR 0x9F
#define | BLE_LL_ERR_CONN_ACCEPT_TIMEOUT_EXCEED 0xA0
#define | BLE_LL_ERR_UNSUPPORTED 0xA1
#define | BLE_LL_ERR_INVALID_HCI_PARAM 0xA2
#define | BLE_LL_ERR_REMOTE_USER_TERM_CON 0xA3
#define | BLE_LL_ERR_REMOTE_DEV_TERM_LOW_RESOURCES 0xA4
#define | BLE_LL_ERR_REMOTE_DEV_POWER_OFF 0xA5
#define | BLE_LL_ERR_CON_TERM_BY_LOCAL_HOST 0xA6
#define | BLE_LL_ERR_REPEATED_ATTEMPTS 0xA7
#define | BLE_LL_ERR_PAIRING_NOT_ALLOWED 0xA8
#define | BLE_LL_ERR_UNKNOWN_LMP_PDU 0xA9
#define | BLE_LL_ERR_UNSUPPORTED_REMOTE_FEATURE 0xAA
#define | BLE_LL_ERR_SCO_OFFSET_REJECTED 0xAB
#define | BLE_LL_ERR_SCO_INTERVAL_REJECTED 0xAC
#define | BLE_LL_ERR_SCO_AIR_MODE_REJECTED 0xAD
#define | BLE_LL_ERR_INVALID_LMP_PARAM 0xAE
#define | BLE_LL_ERR_UNSPECIFIED_ERROR 0xAF
#define | BLE_LL_ERR_UNSUPPORTED_LMP_PARAM_VALUE 0xB0
#define | BLE_LL_ERR_ROLE_CHANGE_NOT_ALLOWED 0xB1
#define | BLE_LL_ERR_LMP_RSP_TIMEOUT 0xB2
#define | BLE_LL_ERR_LMP_COLLISION 0xB3
#define | BLE_LL_ERR_LMP_PDU_NOT_ALLOWED 0xB4
#define | BLE_LL_ERR_ENC_MODE_NOT_ACCEPT 0xB5
#define | BLE_LL_ERR_LINK_KEY_CANT_CHANGE 0xB6
#define | BLE_LL_ERR_QOS_NOT_SUPPORTED 0xB7
#define | BLE_LL_ERR_INSTANT_PASSED 0xB8
#define | BLE_LL_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUP 0xB9
#define | BLE_LL_ERR_DIFF_TRANSACTION_COLLISION 0xBA
#define | BLE_LL_ERR_QOS_UNACCEPTABLE_PARAM 0xBC
#define | BLE_LL_ERR_QOS_REJECTED 0xBD
#define | BLE_LL_ERR_CHANNEL_CLASS_NOT_SUP 0xBE
#define | BLE_LL_ERR_INSUFFICIENT_SECURITY 0xBF
#define | BLE_LL_ERR_PARAM_OUT_OF_MAND_RANGE 0xC0
#define | BLE_LL_ERR_ROLE_SWITCH_PEND 0xC2
#define | BLE_LL_ERR_RESERVED_SLOT_VIOLATION 0xC4
#define | BLE_LL_ERR_ROLE_SWITCH_FAIL 0xC5
#define | BLE_LL_ERR_EIR_TOO_LARGE 0xC6
#define | BLE_LL_ERR_SP_NOT_SUPPORTED_HOST 0xC7
#define | BLE_LL_ERR_HOST_BUSY_PAIRING 0xC8
#define | BLE_LL_ERR_CONTROLLER_BUSY 0xCA
#define | BLE_LL_ERR_UNACCEPTABLE_CONN_INT 0xCB
#define | BLE_LL_ERR_ADV_TO 0xCC
#define | BLE_LL_ERR_TERMINATED_MIC_FAILURE 0xCD
#define | BLE_LL_ERR_CONN_FAILED_TO_BE_EST 0xCE

## Detailed Description

## Macro Definition Documentation

## ◆ BLE_ATT_ERR_ATTRIBUTE_NOT_FOUND

#define BLE_ATT_ERR_ATTRIBUTE_NOT_FOUND 0x0A

No attribute found within the given attribute handle range.

Definition at line 127 of file ble_error.h.

## ◆ BLE_ATT_ERR_ATTRIBUTE_NOT_LONG

#define BLE_ATT_ERR_ATTRIBUTE_NOT_LONG 0x0B

The attribute cannot be read using the Read Blob Request.

Definition at line 128 of file ble_error.h.

## ◆ BLE_ATT_ERR_DB_OUT_OF_SYNC

#define BLE_ATT_ERR_DB_OUT_OF_SYNC 0x12

The server requests the client to rediscover the database.

Definition at line 135 of file ble_error.h.

## ◆ BLE_ATT_ERR_INSUFF_AUTHEN

#define BLE_ATT_ERR_INSUFF_AUTHEN 0x05

The attribute requires authentication before it can be read or written.

Definition at line 122 of file ble_error.h.

## ◆ BLE_ATT_ERR_INSUFF_AUTHOR

#define BLE_ATT_ERR_INSUFF_AUTHOR 0x08

The attribute requires authorization before it can be read or written.

Definition at line 125 of file ble_error.h.

## ◆ BLE_ATT_ERR_INSUFF_ENC

#define BLE_ATT_ERR_INSUFF_ENC 0x0F

The attribute requires encryption before it can be read or written.

Definition at line 132 of file ble_error.h.

## ◆ BLE_ATT_ERR_INSUFF_ENC_KEY_SIZE

#define BLE_ATT_ERR_INSUFF_ENC_KEY_SIZE 0x0C

The Encryption Key Size used for encrypting this link is insufficient.

Definition at line 129 of file ble_error.h.

## ◆ BLE_ATT_ERR_INSUFF_RESOURCE

#define BLE_ATT_ERR_INSUFF_RESOURCE 0x11

Insufficient resources to complete the request.

Definition at line 134 of file ble_error.h.

## ◆ BLE_ATT_ERR_INVALID_ATTRIBUTE_VAL_LEN

#define BLE_ATT_ERR_INVALID_ATTRIBUTE_VAL_LEN 0x0D

The attribute value length is invalid for the operation.

Definition at line 130 of file ble_error.h.

## ◆ BLE_ATT_ERR_INVALID_HANDLE

#define BLE_ATT_ERR_INVALID_HANDLE 0x01

ATT Specific Error.

The given attribute handle was not valid on this server.

Definition at line 118 of file ble_error.h.

## ◆ BLE_ATT_ERR_INVALID_OFFSET

#define BLE_ATT_ERR_INVALID_OFFSET 0x07

Offset specified was past the end of the attribute.

Definition at line 124 of file ble_error.h.

## ◆ BLE_ATT_ERR_INVALID_PDU

#define BLE_ATT_ERR_INVALID_PDU 0x04

The attribute PDU was invalid.

Definition at line 121 of file ble_error.h.

## ◆ BLE_ATT_ERR_PREPARE_QUEUE_FULL

#define BLE_ATT_ERR_PREPARE_QUEUE_FULL 0x09

Too many prepare writes have been queued.

Definition at line 126 of file ble_error.h.

## ◆ BLE_ATT_ERR_READ_NOT_PERMITTED

#define BLE_ATT_ERR_READ_NOT_PERMITTED 0x02

The attribute cannot be read.

Definition at line 119 of file ble_error.h.

## ◆ BLE_ATT_ERR_REQUEST_NOT_SUPPORTED

#define BLE_ATT_ERR_REQUEST_NOT_SUPPORTED 0x06

Attribute server does not support the request received from the client.

Definition at line 123 of file ble_error.h.

## ◆ BLE_ATT_ERR_UNLIKELY_ERR

#define BLE_ATT_ERR_UNLIKELY_ERR 0x0E

The attribute request has encountered an unlikely error, so the request could not be completed as requested.

Definition at line 131 of file ble_error.h.

## ◆ BLE_ATT_ERR_UNSUPP_GRP_TYPE

#define BLE_ATT_ERR_UNSUPP_GRP_TYPE 0x10

The attribute type is not a supported grouping attribute as defined by a higher layer specification.

Definition at line 133 of file ble_error.h.

## ◆ BLE_ATT_ERR_VALUE_NOT_ALLOWED

#define BLE_ATT_ERR_VALUE_NOT_ALLOWED 0x13

The attribute parameter value was not allowed.

Definition at line 136 of file ble_error.h.

## ◆ BLE_ATT_ERR_WRITE_NOT_PERMITTED

#define BLE_ATT_ERR_WRITE_NOT_PERMITTED 0x03

The attribute cannot be written.

Definition at line 120 of file ble_error.h.

## ◆ BLE_GAP_ERR_ADV_DATA_INVALID

#define BLE_GAP_ERR_ADV_DATA_INVALID 0x4A

Duplicate or invalid advertising data.

Definition at line 171 of file ble_error.h.

## ◆ BLE_GAP_ERR_CANCELED

#define BLE_GAP_ERR_CANCELED 0x44

Requested operation canceled.

Definition at line 165 of file ble_error.h.

## ◆ BLE_GAP_ERR_COMMAND_DISALLOWED

#define BLE_GAP_ERR_COMMAND_DISALLOWED 0x43

Request not allowed in current state.

Definition at line 164 of file ble_error.h.

## ◆ BLE_GAP_ERR_DISCONNECTED

#define BLE_GAP_ERR_DISCONNECTED 0x46

Link connection is lost during operation.

Definition at line 167 of file ble_error.h.

## ◆ BLE_GAP_ERR_INSUFF_RESOURCES

#define BLE_GAP_ERR_INSUFF_RESOURCES 0x4B

Insufficient resources.

Definition at line 172 of file ble_error.h.

## ◆ BLE_GAP_ERR_INVALID_PARAM

#define BLE_GAP_ERR_INVALID_PARAM 0x40

GAP Specific Error.

Invalid parameters set.

Definition at line 161 of file ble_error.h.

## ◆ BLE_GAP_ERR_MISMATCH

#define BLE_GAP_ERR_MISMATCH 0x4D

Feature mismatch.

Definition at line 174 of file ble_error.h.

## ◆ BLE_GAP_ERR_NOT_FOUND

#define BLE_GAP_ERR_NOT_FOUND 0x47

Search algorithm finished, but no result found.

Definition at line 168 of file ble_error.h.

## ◆ BLE_GAP_ERR_NOT_SUPPORTED

#define BLE_GAP_ERR_NOT_SUPPORTED 0x42

Request not supported by software configuration.

Definition at line 163 of file ble_error.h.

## ◆ BLE_GAP_ERR_PRIVACY_CFG_PB

#define BLE_GAP_ERR_PRIVACY_CFG_PB 0x49

Problem with privacy configuration.

Definition at line 170 of file ble_error.h.

## ◆ BLE_GAP_ERR_PROTOCOL_PROBLEM

#define BLE_GAP_ERR_PROTOCOL_PROBLEM 0x41

Problem with protocol exchange, resulting in unexpected responses.

Definition at line 162 of file ble_error.h.

## ◆ BLE_GAP_ERR_REJECTED

#define BLE_GAP_ERR_REJECTED 0x48

Request rejected by peer device.

Definition at line 169 of file ble_error.h.

## ◆ BLE_GAP_ERR_TIMEOUT

#define BLE_GAP_ERR_TIMEOUT 0x45

Requested operation timeout.

Definition at line 166 of file ble_error.h.

## ◆ BLE_GAP_ERR_UNEXPECTED

#define BLE_GAP_ERR_UNEXPECTED 0x4C

Unexpected error.

Definition at line 173 of file ble_error.h.

## ◆ BLE_GATT_ERR_ATTRIBUTE_CLIENT_MISSING

#define BLE_GATT_ERR_ATTRIBUTE_CLIENT_MISSING 0x54

No attribute client defined.

Definition at line 181 of file ble_error.h.

## ◆ BLE_GATT_ERR_ATTRIBUTE_SERVER_MISSING

#define BLE_GATT_ERR_ATTRIBUTE_SERVER_MISSING 0x55

No attribute server defined.

Definition at line 182 of file ble_error.h.

## ◆ BLE_GATT_ERR_BROWSE_NO_ANY_MORE

#define BLE_GATT_ERR_BROWSE_NO_ANY_MORE 0x57

GATT browses no any more contents.

Definition at line 184 of file ble_error.h.

## ◆ BLE_GATT_ERR_CACHE_FINISH

#define BLE_GATT_ERR_CACHE_FINISH 0x59

GATT Cache is updated or checked.

Definition at line 186 of file ble_error.h.

## ◆ BLE_GATT_ERR_CACHE_UPDATING

#define BLE_GATT_ERR_CACHE_UPDATING 0x58

GATT Cache in updating process.

Definition at line 185 of file ble_error.h.

## ◆ BLE_GATT_ERR_INVALID_ATT_LEN

#define BLE_GATT_ERR_INVALID_ATT_LEN 0x50

GATT Specific Error.

Problem with ATTC protocol response.

Definition at line 177 of file ble_error.h.

## ◆ BLE_GATT_ERR_INVALID_PERM

#define BLE_GATT_ERR_INVALID_PERM 0x56

Permission set in service/attribute is invalid.

Definition at line 183 of file ble_error.h.

## ◆ BLE_GATT_ERR_INVALID_TYPE_IN_SVC_SEARCH

#define BLE_GATT_ERR_INVALID_TYPE_IN_SVC_SEARCH 0x51

Error in service search.

Definition at line 178 of file ble_error.h.

## ◆ BLE_GATT_ERR_SIGNED_WRITE

#define BLE_GATT_ERR_SIGNED_WRITE 0x53

Signed write error.

Definition at line 180 of file ble_error.h.

## ◆ BLE_GATT_ERR_WRITE

#define BLE_GATT_ERR_WRITE 0x52

Invalid write data.

Definition at line 179 of file ble_error.h.

## ◆ BLE_L2C_ENH_CB_RECONFIG_INVALID_CID

#define BLE_L2C_ENH_CB_RECONFIG_INVALID_CID 0x2E

Reconfiguration failed - one or more Destination CIDs invalid.

Definition at line 141 of file ble_error.h.

## ◆ BLE_L2C_ENH_CB_RECONFIG_INVALID_MPS

#define BLE_L2C_ENH_CB_RECONFIG_INVALID_MPS 0x2D

Reconfiguration failed - reduction in size of MPS not allowed for more than one channel at a time.

Definition at line 140 of file ble_error.h.

## ◆ BLE_L2C_ENH_CB_RECONFIG_INVALID_MTU

#define BLE_L2C_ENH_CB_RECONFIG_INVALID_MTU 0x2C

L2CAP Specific Error.

Reconfiguration failed - reduction in size of MTU not allowed.

Definition at line 139 of file ble_error.h.

## ◆ BLE_L2C_ENH_CB_RECONFIG_UNACCEPT_PARAM

#define BLE_L2C_ENH_CB_RECONFIG_UNACCEPT_PARAM 0x2F

Reconfiguration failed - other unacceptable parameters.

Definition at line 142 of file ble_error.h.

## ◆ BLE_L2C_ERR_CID_ALREADY_ALLOC

#define BLE_L2C_ERR_CID_ALREADY_ALLOC 0x3E

Channel identifier already allocated.

Definition at line 157 of file ble_error.h.

## ◆ BLE_L2C_ERR_CONNECTION_LOST

#define BLE_L2C_ERR_CONNECTION_LOST 0x30

Message cannot be sent because connection is lost (disconnected).

Definition at line 143 of file ble_error.h.

## ◆ BLE_L2C_ERR_CREDIT_ERROR

#define BLE_L2C_ERR_CREDIT_ERROR 0x3D

Credit error: invalid number of credit received.

Definition at line 156 of file ble_error.h.

## ◆ BLE_L2C_ERR_INSUFF_AUTHEN

#define BLE_L2C_ERR_INSUFF_AUTHEN 0x36

Connection refused because of insufficient authentication.

Definition at line 149 of file ble_error.h.

## ◆ BLE_L2C_ERR_INSUFF_AUTHOR

#define BLE_L2C_ERR_INSUFF_AUTHOR 0x37

Connection refused because of insufficient authorization.

Definition at line 150 of file ble_error.h.

## ◆ BLE_L2C_ERR_INSUFF_CREDIT

#define BLE_L2C_ERR_INSUFF_CREDIT 0x3B

No more credit.

Definition at line 154 of file ble_error.h.

## ◆ BLE_L2C_ERR_INSUFF_ENC

#define BLE_L2C_ERR_INSUFF_ENC 0x39

Connection refused because of insufficient encryption.

Definition at line 152 of file ble_error.h.

## ◆ BLE_L2C_ERR_INSUFF_ENC_KEY_SIZE

#define BLE_L2C_ERR_INSUFF_ENC_KEY_SIZE 0x38

Connection refused because of insufficient encryption key size.

Definition at line 151 of file ble_error.h.

## ◆ BLE_L2C_ERR_INVALID_CID

#define BLE_L2C_ERR_INVALID_CID 0x33

Invalid Channel ID.

Definition at line 146 of file ble_error.h.

## ◆ BLE_L2C_ERR_INVALID_MPS_EXCEED

#define BLE_L2C_ERR_INVALID_MPS_EXCEED 0x32

Invalid PDU length exceeds MPS.

Definition at line 145 of file ble_error.h.

## ◆ BLE_L2C_ERR_INVALID_MTU_EXCEED

#define BLE_L2C_ERR_INVALID_MTU_EXCEED 0x31

Invalid PDU length exceeds MTU.

Definition at line 144 of file ble_error.h.

## ◆ BLE_L2C_ERR_INVALID_PDU

#define BLE_L2C_ERR_INVALID_PDU 0x34

Invalid PDU.

Definition at line 147 of file ble_error.h.

## ◆ BLE_L2C_ERR_LEPSM_NOT_SUPP

#define BLE_L2C_ERR_LEPSM_NOT_SUPP 0x3A

Connection refused because LE_PSM is not supported.

Definition at line 153 of file ble_error.h.

## ◆ BLE_L2C_ERR_NO_RES_AVAIL

#define BLE_L2C_ERR_NO_RES_AVAIL 0x35

Connection refused because no resources are available.

Definition at line 148 of file ble_error.h.

## ◆ BLE_L2C_ERR_NOT_UNDERSTOOD

#define BLE_L2C_ERR_NOT_UNDERSTOOD 0x3C

Command not understood by peer device.

Definition at line 155 of file ble_error.h.

## ◆ BLE_L2C_ERR_UNKNOWN_PDU

#define BLE_L2C_ERR_UNKNOWN_PDU 0x3F

Unknown pdu.

Definition at line 158 of file ble_error.h.

## ◆ BLE_LL_ERR_ACL_CON_EXISTS

#define BLE_LL_ERR_ACL_CON_EXISTS 0x9B

ACL Connection exits.

Definition at line 216 of file ble_error.h.

## ◆ BLE_LL_ERR_ADV_TO

#define BLE_LL_ERR_ADV_TO 0xCC

Advertising Timeout.

Definition at line 261 of file ble_error.h.

## ◆ BLE_LL_ERR_AUTH_FAILURE

#define BLE_LL_ERR_AUTH_FAILURE 0x95

Authentication failure.

Definition at line 210 of file ble_error.h.

## ◆ BLE_LL_ERR_CHANNEL_CLASS_NOT_SUP

#define BLE_LL_ERR_CHANNEL_CLASS_NOT_SUP 0xBE

Channel class not supported.

Definition at line 250 of file ble_error.h.

## ◆ BLE_LL_ERR_COMMAND_DISALLOWED

#define BLE_LL_ERR_COMMAND_DISALLOWED 0x9C

Command Disallowed.

Definition at line 217 of file ble_error.h.

## ◆ BLE_LL_ERR_CON_LIMIT_EXCEED

#define BLE_LL_ERR_CON_LIMIT_EXCEED 0x99

Connection limit Exceed.

Definition at line 214 of file ble_error.h.

## ◆ BLE_LL_ERR_CON_TERM_BY_LOCAL_HOST

#define BLE_LL_ERR_CON_TERM_BY_LOCAL_HOST 0xA6

Connection terminated by local host.

Definition at line 227 of file ble_error.h.

## ◆ BLE_LL_ERR_CON_TIMEOUT

#define BLE_LL_ERR_CON_TIMEOUT 0x98

Connection Timeout.

Definition at line 213 of file ble_error.h.

## ◆ BLE_LL_ERR_CONN_ACCEPT_TIMEOUT_EXCEED

#define BLE_LL_ERR_CONN_ACCEPT_TIMEOUT_EXCEED 0xA0

Connection rejected due to Accept connection timeout.

Definition at line 221 of file ble_error.h.

## ◆ BLE_LL_ERR_CONN_FAILED_TO_BE_EST

#define BLE_LL_ERR_CONN_FAILED_TO_BE_EST 0xCE

Connection failed to be established.

Definition at line 263 of file ble_error.h.

## ◆ BLE_LL_ERR_CONN_REJ_LIMITED_RESOURCES

#define BLE_LL_ERR_CONN_REJ_LIMITED_RESOURCES 0x9D

Connection rejected due to limited resources.

Definition at line 218 of file ble_error.h.

## ◆ BLE_LL_ERR_CONN_REJ_SECURITY_REASONS

#define BLE_LL_ERR_CONN_REJ_SECURITY_REASONS 0x9E

Connection rejected due to insecurity issues.

Definition at line 219 of file ble_error.h.

## ◆ BLE_LL_ERR_CONN_REJ_UNACCEPTABLE_BDADDR

#define BLE_LL_ERR_CONN_REJ_UNACCEPTABLE_BDADDR 0x9F

Connection rejected due to unacceptable BD Addr.

Definition at line 220 of file ble_error.h.

## ◆ BLE_LL_ERR_CONTROLLER_BUSY

#define BLE_LL_ERR_CONTROLLER_BUSY 0xCA

Controller is busy.

Definition at line 259 of file ble_error.h.

## ◆ BLE_LL_ERR_DIFF_TRANSACTION_COLLISION

#define BLE_LL_ERR_DIFF_TRANSACTION_COLLISION 0xBA

Transaction collision.

Definition at line 247 of file ble_error.h.

## ◆ BLE_LL_ERR_EIR_TOO_LARGE

#define BLE_LL_ERR_EIR_TOO_LARGE 0xC6

Error: EIR too large.

Definition at line 256 of file ble_error.h.

## ◆ BLE_LL_ERR_ENC_MODE_NOT_ACCEPT

#define BLE_LL_ERR_ENC_MODE_NOT_ACCEPT 0xB5

Encryption mode not accepted.

Definition at line 242 of file ble_error.h.

## ◆ BLE_LL_ERR_HARDWARE_FAILURE

#define BLE_LL_ERR_HARDWARE_FAILURE 0x93

Hardware Failure.

Definition at line 208 of file ble_error.h.

## ◆ BLE_LL_ERR_HOST_BUSY_PAIRING

#define BLE_LL_ERR_HOST_BUSY_PAIRING 0xC8

Host pairing is busy.

Definition at line 258 of file ble_error.h.

## ◆ BLE_LL_ERR_INSTANT_PASSED

#define BLE_LL_ERR_INSTANT_PASSED 0xB8

Error, instant passed.

Definition at line 245 of file ble_error.h.

## ◆ BLE_LL_ERR_INSUFFICIENT_SECURITY

#define BLE_LL_ERR_INSUFFICIENT_SECURITY 0xBF

Insufficient security.

Definition at line 251 of file ble_error.h.

## ◆ BLE_LL_ERR_INVALID_HCI_PARAM

#define BLE_LL_ERR_INVALID_HCI_PARAM 0xA2

Invalid parameters.

Definition at line 223 of file ble_error.h.

## ◆ BLE_LL_ERR_INVALID_LMP_PARAM

#define BLE_LL_ERR_INVALID_LMP_PARAM 0xAE

Invalid LMP parameters.

Definition at line 235 of file ble_error.h.

## ◆ BLE_LL_ERR_LINK_KEY_CANT_CHANGE

#define BLE_LL_ERR_LINK_KEY_CANT_CHANGE 0xB6

Link Key cannot be changed.

Definition at line 243 of file ble_error.h.

## ◆ BLE_LL_ERR_LMP_COLLISION

#define BLE_LL_ERR_LMP_COLLISION 0xB3

LMP Collision.

Definition at line 240 of file ble_error.h.

## ◆ BLE_LL_ERR_LMP_PDU_NOT_ALLOWED

#define BLE_LL_ERR_LMP_PDU_NOT_ALLOWED 0xB4

LMP PDU not allowed.

Definition at line 241 of file ble_error.h.

## ◆ BLE_LL_ERR_LMP_RSP_TIMEOUT

#define BLE_LL_ERR_LMP_RSP_TIMEOUT 0xB2

LMP Response timeout.

Definition at line 239 of file ble_error.h.

## ◆ BLE_LL_ERR_MEMORY_CAPA_EXCEED

#define BLE_LL_ERR_MEMORY_CAPA_EXCEED 0x97

Memory capacity exceeded.

Definition at line 212 of file ble_error.h.

## ◆ BLE_LL_ERR_PAGE_TIMEOUT

#define BLE_LL_ERR_PAGE_TIMEOUT 0x94

BT Page Timeout.

Definition at line 209 of file ble_error.h.

## ◆ BLE_LL_ERR_PAIRING_NOT_ALLOWED

#define BLE_LL_ERR_PAIRING_NOT_ALLOWED 0xA8

Pairing not allowed.

Definition at line 229 of file ble_error.h.

## ◆ BLE_LL_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUP

#define BLE_LL_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUP 0xB9

Pairing with unit key not supported.

Definition at line 246 of file ble_error.h.

## ◆ BLE_LL_ERR_PARAM_OUT_OF_MAND_RANGE

#define BLE_LL_ERR_PARAM_OUT_OF_MAND_RANGE 0xC0

Parameters out of mandatory range.

Definition at line 252 of file ble_error.h.

## ◆ BLE_LL_ERR_PIN_MISSING

#define BLE_LL_ERR_PIN_MISSING 0x96

Pin code missing.

Definition at line 211 of file ble_error.h.

## ◆ BLE_LL_ERR_QOS_NOT_SUPPORTED

#define BLE_LL_ERR_QOS_NOT_SUPPORTED 0xB7

Quality of Service not supported.

Definition at line 244 of file ble_error.h.

## ◆ BLE_LL_ERR_QOS_REJECTED

#define BLE_LL_ERR_QOS_REJECTED 0xBD

Quality of Service rejected.

Definition at line 249 of file ble_error.h.

## ◆ BLE_LL_ERR_QOS_UNACCEPTABLE_PARAM

#define BLE_LL_ERR_QOS_UNACCEPTABLE_PARAM 0xBC

Quality of Service not supported.

Definition at line 248 of file ble_error.h.

## ◆ BLE_LL_ERR_REMOTE_DEV_POWER_OFF

#define BLE_LL_ERR_REMOTE_DEV_POWER_OFF 0xA5

Remote device loses connection due to power failure.

Definition at line 226 of file ble_error.h.

## ◆ BLE_LL_ERR_REMOTE_DEV_TERM_LOW_RESOURCES

#define BLE_LL_ERR_REMOTE_DEV_TERM_LOW_RESOURCES 0xA4

Remote device loses connection due to low resources.

Definition at line 225 of file ble_error.h.

## ◆ BLE_LL_ERR_REMOTE_USER_TERM_CON

#define BLE_LL_ERR_REMOTE_USER_TERM_CON 0xA3

Remote user terminates connection.

Definition at line 224 of file ble_error.h.

## ◆ BLE_LL_ERR_REPEATED_ATTEMPTS

#define BLE_LL_ERR_REPEATED_ATTEMPTS 0xA7

Repeated attempts.

Definition at line 228 of file ble_error.h.

## ◆ BLE_LL_ERR_RESERVED_SLOT_VIOLATION

#define BLE_LL_ERR_RESERVED_SLOT_VIOLATION 0xC4

Reserved slot violation.

Definition at line 254 of file ble_error.h.

## ◆ BLE_LL_ERR_ROLE_CHANGE_NOT_ALLOWED

#define BLE_LL_ERR_ROLE_CHANGE_NOT_ALLOWED 0xB1

Role Change not allowed.

Definition at line 238 of file ble_error.h.

## ◆ BLE_LL_ERR_ROLE_SWITCH_FAIL

#define BLE_LL_ERR_ROLE_SWITCH_FAIL 0xC5

Role Switch failed.

Definition at line 255 of file ble_error.h.

## ◆ BLE_LL_ERR_ROLE_SWITCH_PEND

#define BLE_LL_ERR_ROLE_SWITCH_PEND 0xC2

Role switch pending.

Definition at line 253 of file ble_error.h.

## ◆ BLE_LL_ERR_SCO_AIR_MODE_REJECTED

#define BLE_LL_ERR_SCO_AIR_MODE_REJECTED 0xAD

SCO air mode Rejected.

Definition at line 234 of file ble_error.h.

## ◆ BLE_LL_ERR_SCO_INTERVAL_REJECTED

#define BLE_LL_ERR_SCO_INTERVAL_REJECTED 0xAC

SCO Interval Rejected.

Definition at line 233 of file ble_error.h.

## ◆ BLE_LL_ERR_SCO_OFFSET_REJECTED

#define BLE_LL_ERR_SCO_OFFSET_REJECTED 0xAB

SCO Offset rejected.

Definition at line 232 of file ble_error.h.

## ◆ BLE_LL_ERR_SP_NOT_SUPPORTED_HOST

#define BLE_LL_ERR_SP_NOT_SUPPORTED_HOST 0xC7

Simple pairing not supported by host.

Definition at line 257 of file ble_error.h.

## ◆ BLE_LL_ERR_SYNC_CON_LIMIT_DEV_EXCEED

#define BLE_LL_ERR_SYNC_CON_LIMIT_DEV_EXCEED 0x9A

Synchronous Connection limit exceeded.

Definition at line 215 of file ble_error.h.

## ◆ BLE_LL_ERR_TERMINATED_MIC_FAILURE

#define BLE_LL_ERR_TERMINATED_MIC_FAILURE 0xCD

Connection Terminated due to a MIC failure.

Definition at line 262 of file ble_error.h.

## ◆ BLE_LL_ERR_UNACCEPTABLE_CONN_INT

#define BLE_LL_ERR_UNACCEPTABLE_CONN_INT 0xCB

Unacceptable connection initialization.

Definition at line 260 of file ble_error.h.

## ◆ BLE_LL_ERR_UNKNOWN_CONNECTION_ID

#define BLE_LL_ERR_UNKNOWN_CONNECTION_ID 0x92

Unknown Connection Identifier.

Definition at line 207 of file ble_error.h.

## ◆ BLE_LL_ERR_UNKNOWN_HCI_COMMAND

#define BLE_LL_ERR_UNKNOWN_HCI_COMMAND 0x91

LL Specific Error.

Unknown HCI Command.

Definition at line 206 of file ble_error.h.

## ◆ BLE_LL_ERR_UNKNOWN_LMP_PDU

#define BLE_LL_ERR_UNKNOWN_LMP_PDU 0xA9

Unknown PDU Error.

Definition at line 230 of file ble_error.h.

## ◆ BLE_LL_ERR_UNSPECIFIED_ERROR

#define BLE_LL_ERR_UNSPECIFIED_ERROR 0xAF

Unspecified error.

Definition at line 236 of file ble_error.h.

## ◆ BLE_LL_ERR_UNSUPPORTED

#define BLE_LL_ERR_UNSUPPORTED 0xA1

Not Supported.

Definition at line 222 of file ble_error.h.

## ◆ BLE_LL_ERR_UNSUPPORTED_LMP_PARAM_VALUE

#define BLE_LL_ERR_UNSUPPORTED_LMP_PARAM_VALUE 0xB0

Unsupported LMP Parameter value.

Definition at line 237 of file ble_error.h.

## ◆ BLE_LL_ERR_UNSUPPORTED_REMOTE_FEATURE

#define BLE_LL_ERR_UNSUPPORTED_REMOTE_FEATURE 0xAA

Unsupported remote feature.

Definition at line 231 of file ble_error.h.

## ◆ BLE_SEC_ERR_AUTH_REQ

#define BLE_SEC_ERR_AUTH_REQ 0x63

The pairing procedure cannot be performed as authentication requirements cannot be met due to IO incapability of one or both devices.

Definition at line 191 of file ble_error.h.

## ◆ BLE_SEC_ERR_BR_EDR_IN_PROGRESS

#define BLE_SEC_ERR_BR_EDR_IN_PROGRESS 0x6D

Indicate that the pairing over the LE transport failed due to a Pairing Request sent over the BR/EDR transport in process.

Definition at line 201 of file ble_error.h.

## ◆ BLE_SEC_ERR_COMMAND_NOT_SUPPORT

#define BLE_SEC_ERR_COMMAND_NOT_SUPPORT 0x67

The SMP command received is not supported on this device.

Definition at line 195 of file ble_error.h.

## ◆ BLE_SEC_ERR_CONFIRM_VAL_FAIL

#define BLE_SEC_ERR_CONFIRM_VAL_FAIL 0x64

The confirm value does not match the calculated compare value.

Definition at line 192 of file ble_error.h.

## ◆ BLE_SEC_ERR_DHKEY_CHECK_FAIL

#define BLE_SEC_ERR_DHKEY_CHECK_FAIL 0x6B

Indicate to the remote device that the DHKey Check value received doesn't match the one calculated by the local device.

Definition at line 199 of file ble_error.h.

## ◆ BLE_SEC_ERR_ENCRPT_KEY_SIZE

#define BLE_SEC_ERR_ENCRPT_KEY_SIZE 0x66

The resultant encryption key size is insufficient for the security requirements of this device.

Definition at line 194 of file ble_error.h.

## ◆ BLE_SEC_ERR_INVALID_PARAM

#define BLE_SEC_ERR_INVALID_PARAM 0x6A

The Invalid Parameters error code indicates that the command length is invalid or that a parameter is outside of the specified range.

Definition at line 198 of file ble_error.h.

## ◆ BLE_SEC_ERR_KEY_DRIV_GEN_NOT_ALLOW

#define BLE_SEC_ERR_KEY_DRIV_GEN_NOT_ALLOW 0x6E

Indicate that the BR/EDR Link Key generated on the BR/EDR transport cannot be used to derive and distribute keys for the LE transport.

Definition at line 202 of file ble_error.h.

## ◆ BLE_SEC_ERR_LTK_MISSING

#define BLE_SEC_ERR_LTK_MISSING 0x6F

Indicate the LTK of peer devices missing.

Definition at line 203 of file ble_error.h.

## ◆ BLE_SEC_ERR_NUM_CMP_FAIL

#define BLE_SEC_ERR_NUM_CMP_FAIL 0x6C

Indicate that the confirm values in the numeric comparison protocol do not match.

Definition at line 200 of file ble_error.h.

## ◆ BLE_SEC_ERR_OOB_NOT_AVAILBL

#define BLE_SEC_ERR_OOB_NOT_AVAILBL 0x62

The OOB data is not available.

Definition at line 190 of file ble_error.h.

## ◆ BLE_SEC_ERR_PAIRING_NOT_SUPPORT

#define BLE_SEC_ERR_PAIRING_NOT_SUPPORT 0x65

Pairing is not supported by the device.

Definition at line 193 of file ble_error.h.

## ◆ BLE_SEC_ERR_PASSKEY_ENTRY_FAIL

#define BLE_SEC_ERR_PASSKEY_ENTRY_FAIL 0x61

SEC Specific Error.

The user input of passkey failed.

Definition at line 189 of file ble_error.h.

## ◆ BLE_SEC_ERR_REPEAT_ATTEMPT

#define BLE_SEC_ERR_REPEAT_ATTEMPT 0x69

Pairing or authentication procedure is disallowed because too little time has elapsed since last pairing request or security request.

Definition at line 197 of file ble_error.h.

## ◆ BLE_SEC_ERR_UNSPECIFIED

#define BLE_SEC_ERR_UNSPECIFIED 0x68

Pairing failed due to an unspecified reason.

Definition at line 196 of file ble_error.h.

## ◆ BLE_SUCCESS

#define BLE_SUCCESS 0x00

Operation is Successful.

Definition at line 116 of file ble_error.h.