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

## Macros
#define | BLE_SUCCESS 0x00
| Operation is Successful. More...
#define | BLE_ATT_ERR_INVALID_HANDLE 0x01
| ATT Specific Error. More...
#define | BLE_ATT_ERR_READ_NOT_PERMITTED 0x02
| The attribute cannot be read. More...
#define | BLE_ATT_ERR_WRITE_NOT_PERMITTED 0x03
| The attribute cannot be written. More...
#define | BLE_ATT_ERR_INVALID_PDU 0x04
| The attribute PDU was invalid. More...
#define | BLE_ATT_ERR_INSUFF_AUTHEN 0x05
| The attribute requires authentication before it can be read or written. More...
#define | BLE_ATT_ERR_REQUEST_NOT_SUPPORTED 0x06
| Attribute server does not support the request received from the client. More...
#define | BLE_ATT_ERR_INVALID_OFFSET 0x07
| Offset specified was past the end of the attribute. More...
#define | BLE_ATT_ERR_INSUFF_AUTHOR 0x08
| The attribute requires authorization before it can be read or written. More...
#define | BLE_ATT_ERR_PREPARE_QUEUE_FULL 0x09
| Too many prepare writes have been queued. More...
#define | BLE_ATT_ERR_ATTRIBUTE_NOT_FOUND 0x0A
| No attribute found within the given attribute handle range. More...
#define | BLE_ATT_ERR_ATTRIBUTE_NOT_LONG 0x0B
| The attribute cannot be read using the Read Blob Request. More...
#define | BLE_ATT_ERR_INSUFF_ENC_KEY_SIZE 0x0C
| The Encryption Key Size used for encrypting this link is insufficient. More...
#define | BLE_ATT_ERR_INVALID_ATTRIBUTE_VAL_LEN 0x0D
| The attribute value length is invalid for the operation. More...
#define | BLE_ATT_ERR_UNLIKELY_ERR 0x0E
| The attribute request has encountered an unlikely error, so the request could not be completed as requested. More...
#define | BLE_ATT_ERR_INSUFF_ENC 0x0F
| The attribute requires encryption before it can be read or written. More...
#define | BLE_ATT_ERR_UNSUPP_GRP_TYPE 0x10
| The attribute type is not a supported grouping attribute as defined by a higher layer specification. More...
#define | BLE_ATT_ERR_INSUFF_RESOURCE 0x11
| Insufficient resources to complete the request. More...
#define | BLE_L2C_ERR_CONNECTION_LOST 0x30
| L2CAP Specific Error. More...
#define | BLE_L2C_ERR_INVALID_MTU_EXCEED 0x31
| Invalid PDU length exceeds MTU. More...
#define | BLE_L2C_ERR_INVALID_MPS_EXCEED 0x32
| Invalid PDU length exceeds MPS. More...
#define | BLE_L2C_ERR_INVALID_CID 0x33
| Invalid Channel ID. More...
#define | BLE_L2C_ERR_INVALID_PDU 0x34
| Invalid PDU. More...
#define | BLE_L2C_ERR_NO_RES_AVAIL 0x35
| Connection refused because no resources are available. More...
#define | BLE_L2C_ERR_INSUFF_AUTHEN 0x36
| Connection refused because of insufficient authentication. More...
#define | BLE_L2C_ERR_INSUFF_AUTHOR 0x37
| Connection refused because of insufficient authorization. More...
#define | BLE_L2C_ERR_INSUFF_ENC_KEY_SIZE 0x38
| Connection refused because of insufficient encryption key size. More...
#define | BLE_L2C_ERR_INSUFF_ENC 0x39
| Connection refused because of insufficient encryption. More...
#define | BLE_L2C_ERR_LEPSM_NOT_SUPP 0x3A
| Connection refused because LE_PSM is not supported. More...
#define | BLE_L2C_ERR_INSUFF_CREDIT 0x3B
| No more credit. More...
#define | BLE_L2C_ERR_NOT_UNDERSTOOD 0x3C
| Command not understood by peer device. More...
#define | BLE_L2C_ERR_CREDIT_ERROR 0x3D
| Credit error: invalid number of credit received. More...
#define | BLE_L2C_ERR_CID_ALREADY_ALLOC 0x3E
| Channel identifier already allocated. More...
#define | BLE_GAP_ERR_INVALID_PARAM 0x40
| GAP Specific Error. More...
#define | BLE_GAP_ERR_PROTOCOL_PROBLEM 0x41
| Problem with protocol exchange, resulting in unexpected responses. More...
#define | BLE_GAP_ERR_NOT_SUPPORTED 0x42
| Request not supported by software configuration. More...
#define | BLE_GAP_ERR_COMMAND_DISALLOWED 0x43
| Request not allowed in current state. More...
#define | BLE_GAP_ERR_CANCELED 0x44
| Requested operation canceled. More...
#define | BLE_GAP_ERR_TIMEOUT 0x45
| Requested operation timeout. More...
#define | BLE_GAP_ERR_DISCONNECTED 0x46
| Link connection is lost during operation. More...
#define | BLE_GAP_ERR_NOT_FOUND 0x47
| Search algorithm finished, but no result found. More...
#define | BLE_GAP_ERR_REJECTED 0x48
| Request rejected by peer device. More...
#define | BLE_GAP_ERR_PRIVACY_CFG_PB 0x49
| Problem with privacy configuration. More...
#define | BLE_GAP_ERR_ADV_DATA_INVALID 0x4A
| Duplicate or invalid advertising data. More...
#define | BLE_GAP_ERR_INSUFF_RESOURCES 0x4B
| Insufficient resources. More...
#define | BLE_GAP_ERR_UNEXPECTED 0x4C
| Unexpected error. More...
#define | BLE_GAP_ERR_MISMATCH 0x4D
| Feature mismatch. More...
#define | BLE_GATT_ERR_INVALID_ATT_LEN 0x50
| GATT Specific Error. More...
#define | BLE_GATT_ERR_INVALID_TYPE_IN_SVC_SEARCH 0x51
| Error in service search. More...
#define | BLE_GATT_ERR_WRITE 0x52
| Invalid write data. More...
#define | BLE_GATT_ERR_SIGNED_WRITE 0x53
| Signed write error. More...
#define | BLE_GATT_ERR_ATTRIBUTE_CLIENT_MISSING 0x54
| No attribute client defined. More...
#define | BLE_GATT_ERR_ATTRIBUTE_SERVER_MISSING 0x55
| No attribute server defined. More...
#define | BLE_GATT_ERR_INVALID_PERM 0x56
| Permission set in service/attribute is invalid. More...
#define | BLE_GATT_ERR_BROWSE_NO_ANY_MORE 0x57
| GATT browses no any more contents. More...
#define | BLE_LL_ERR_UNKNOWN_HCI_COMMAND 0x91
| LL Specific Error. More...
#define | BLE_LL_ERR_UNKNOWN_CONNECTION_ID 0x92
| Unknown Connection Identifier. More...
#define | BLE_LL_ERR_HARDWARE_FAILURE 0x93
| Hardware Failure. More...
#define | BLE_LL_ERR_PAGE_TIMEOUT 0x94
| BT Page Timeout. More...
#define | BLE_LL_ERR_AUTH_FAILURE 0x95
| Authentication failure. More...
#define | BLE_LL_ERR_PIN_MISSING 0x96
| Pin code missing. More...
#define | BLE_LL_ERR_MEMORY_CAPA_EXCEED 0x97
| Memory capacity exceeded. More...
#define | BLE_LL_ERR_CON_TIMEOUT 0x98
| Connection Timeout. More...
#define | BLE_LL_ERR_CON_LIMIT_EXCEED 0x99
| Connection limit Exceed. More...
#define | BLE_LL_ERR_SYNC_CON_LIMIT_DEV_EXCEED 0x9A
| Synchronous Connection limit exceeded. More...
#define | BLE_LL_ERR_ACL_CON_EXISTS 0x9B
| ACL Connection exits. More...
#define | BLE_LL_ERR_COMMAND_DISALLOWED 0x9C
| Command Disallowed. More...
#define | BLE_LL_ERR_CONN_REJ_LIMITED_RESOURCES 0x9D
| Connection rejected due to limited resources. More...
#define | BLE_LL_ERR_CONN_REJ_SECURITY_REASONS 0x9E
| Connection rejected due to insecurity issues. More...
#define | BLE_LL_ERR_CONN_REJ_UNACCEPTABLE_BDADDR 0x9F
| Connection rejected due to unacceptable BD Addr. More...
#define | BLE_LL_ERR_CONN_ACCEPT_TIMEOUT_EXCEED 0xA0
| Connection rejected due to Accept connection timeout. More...
#define | BLE_LL_ERR_UNSUPPORTED 0xA1
| Not Supported. More...
#define | BLE_LL_ERR_INVALID_HCI_PARAM 0xA2
| Invalid parameters. More...
#define | BLE_LL_ERR_REMOTE_USER_TERM_CON 0xA3
| Remote user terminates connection. More...
#define | BLE_LL_ERR_REMOTE_DEV_TERM_LOW_RESOURCES 0xA4
| Remote device loses connection due to low resources. More...
#define | BLE_LL_ERR_REMOTE_DEV_POWER_OFF 0xA5
| Remote device loses connection due to power failure. More...
#define | BLE_LL_ERR_CON_TERM_BY_LOCAL_HOST 0xA6
| Connection terminated by local host. More...
#define | BLE_LL_ERR_REPEATED_ATTEMPTS 0xA7
| Repeated attempts. More...
#define | BLE_LL_ERR_PAIRING_NOT_ALLOWED 0xA8
| Pairing not allowed. More...
#define | BLE_LL_ERR_UNKNOWN_LMP_PDU 0xA9
| Unknown PDU Error. More...
#define | BLE_LL_ERR_UNSUPPORTED_REMOTE_FEATURE 0xAA
| Unsupported remote feature. More...
#define | BLE_LL_ERR_SCO_OFFSET_REJECTED 0xAB
| SCO Offset rejected. More...
#define | BLE_LL_ERR_SCO_INTERVAL_REJECTED 0xAC
| SCO Interval Rejected. More...
#define | BLE_LL_ERR_SCO_AIR_MODE_REJECTED 0xAD
| SCO air mode Rejected. More...
#define | BLE_LL_ERR_INVALID_LMP_PARAM 0xAE
| Invalid LMP parameters. More...
#define | BLE_LL_ERR_UNSPECIFIED_ERROR 0xAF
| Unspecified error. More...
#define | BLE_LL_ERR_UNSUPPORTED_LMP_PARAM_VALUE 0xB0
| Unsupported LMP Parameter value. More...
#define | BLE_LL_ERR_ROLE_CHANGE_NOT_ALLOWED 0xB1
| Role Change not allowed. More...
#define | BLE_LL_ERR_LMP_RSP_TIMEOUT 0xB2
| LMP Response timeout. More...
#define | BLE_LL_ERR_LMP_COLLISION 0xB3
| LMP Collision. More...
#define | BLE_LL_ERR_LMP_PDU_NOT_ALLOWED 0xB4
| LMP PDU not allowed. More...
#define | BLE_LL_ERR_ENC_MODE_NOT_ACCEPT 0xB5
| Encryption mode not accepted. More...
#define | BLE_LL_ERR_LINK_KEY_CANT_CHANGE 0xB6
| Link Key cannot be changed. More...
#define | BLE_LL_ERR_QOS_NOT_SUPPORTED 0xB7
| Quality of Service not supported. More...
#define | BLE_LL_ERR_INSTANT_PASSED 0xB8
| Error, instant passed. More...
#define | BLE_LL_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUP 0xB9
| Pairing with unit key not supported. More...
#define | BLE_LL_ERR_DIFF_TRANSACTION_COLLISION 0xBA
| Transaction collision. More...
#define | BLE_LL_ERR_QOS_UNACCEPTABLE_PARAM 0xBC
| Quality of Service not supported. More...
#define | BLE_LL_ERR_QOS_REJECTED 0xBD
| Quality of Service rejected. More...
#define | BLE_LL_ERR_CHANNEL_CLASS_NOT_SUP 0xBE
| Channel class not supported. More...
#define | BLE_LL_ERR_INSUFFICIENT_SECURITY 0xBF
| Insufficient security. More...
#define | BLE_LL_ERR_PARAM_OUT_OF_MAND_RANGE 0xC0
| Parameters out of mandatory range. More...
#define | BLE_LL_ERR_ROLE_SWITCH_PEND 0xC2
| Role switch pending. More...
#define | BLE_LL_ERR_RESERVED_SLOT_VIOLATION 0xC4
| Reserved slot violation. More...
#define | BLE_LL_ERR_ROLE_SWITCH_FAIL 0xC5
| Role Switch failed. More...
#define | BLE_LL_ERR_EIR_TOO_LARGE 0xC6
| Error: EIR too large. More...
#define | BLE_LL_ERR_SP_NOT_SUPPORTED_HOST 0xC7
| Simple pairing not supported by host. More...
#define | BLE_LL_ERR_HOST_BUSY_PAIRING 0xC8
| Host pairing is busy. More...
#define | BLE_LL_ERR_CONTROLLER_BUSY 0xCA
| Controller is busy. More...
#define | BLE_LL_ERR_UNACCEPTABLE_CONN_INT 0xCB
| Unacceptable connection initialization. More...
#define | BLE_LL_ERR_ADV_TO 0xCC
| Advertising Timeout. More...
#define | BLE_LL_ERR_TERMINATED_MIC_FAILURE 0xCD
| Connection Terminated due to a MIC failure. More...
#define | BLE_LL_ERR_CONN_FAILED_TO_BE_EST 0xCE
| Connection failed to be established. More...

## 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 122 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 123 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 117 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 120 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 127 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 124 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 129 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 125 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 113 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 119 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 116 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 121 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 114 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 118 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 126 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 128 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 115 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 159 of file ble_error.h.

## ◆ BLE_GAP_ERR_CANCELED

#define BLE_GAP_ERR_CANCELED 0x44

Requested operation canceled.

Definition at line 153 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 152 of file ble_error.h.

## ◆ BLE_GAP_ERR_DISCONNECTED

#define BLE_GAP_ERR_DISCONNECTED 0x46

Link connection is lost during operation.

Definition at line 155 of file ble_error.h.

## ◆ BLE_GAP_ERR_INSUFF_RESOURCES

#define BLE_GAP_ERR_INSUFF_RESOURCES 0x4B

Insufficient resources.

Definition at line 160 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 149 of file ble_error.h.

## ◆ BLE_GAP_ERR_MISMATCH

#define BLE_GAP_ERR_MISMATCH 0x4D

Feature mismatch.

Definition at line 162 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 156 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 151 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 158 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 150 of file ble_error.h.

## ◆ BLE_GAP_ERR_REJECTED

#define BLE_GAP_ERR_REJECTED 0x48

Request rejected by peer device.

Definition at line 157 of file ble_error.h.

## ◆ BLE_GAP_ERR_TIMEOUT

#define BLE_GAP_ERR_TIMEOUT 0x45

Requested operation timeout.

Definition at line 154 of file ble_error.h.

## ◆ BLE_GAP_ERR_UNEXPECTED

#define BLE_GAP_ERR_UNEXPECTED 0x4C

Unexpected error.

Definition at line 161 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 169 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 170 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 172 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 165 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 171 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 166 of file ble_error.h.

## ◆ BLE_GATT_ERR_SIGNED_WRITE

#define BLE_GATT_ERR_SIGNED_WRITE 0x53

Signed write error.

Definition at line 168 of file ble_error.h.

## ◆ BLE_GATT_ERR_WRITE

#define BLE_GATT_ERR_WRITE 0x52

Invalid write data.

Definition at line 167 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 146 of file ble_error.h.

## ◆ BLE_L2C_ERR_CONNECTION_LOST

#define BLE_L2C_ERR_CONNECTION_LOST 0x30

L2CAP Specific Error.

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

Definition at line 132 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 145 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 138 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 139 of file ble_error.h.

## ◆ BLE_L2C_ERR_INSUFF_CREDIT

#define BLE_L2C_ERR_INSUFF_CREDIT 0x3B

No more credit.

Definition at line 143 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 141 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 140 of file ble_error.h.

## ◆ BLE_L2C_ERR_INVALID_CID

#define BLE_L2C_ERR_INVALID_CID 0x33

Invalid Channel ID.

Definition at line 135 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 134 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 133 of file ble_error.h.

## ◆ BLE_L2C_ERR_INVALID_PDU

#define BLE_L2C_ERR_INVALID_PDU 0x34

Invalid PDU.

Definition at line 136 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 142 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 137 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 144 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 186 of file ble_error.h.

## ◆ BLE_LL_ERR_ADV_TO

#define BLE_LL_ERR_ADV_TO 0xCC

Advertising Timeout.

Definition at line 231 of file ble_error.h.

## ◆ BLE_LL_ERR_AUTH_FAILURE

#define BLE_LL_ERR_AUTH_FAILURE 0x95

Authentication failure.

Definition at line 180 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 220 of file ble_error.h.

## ◆ BLE_LL_ERR_COMMAND_DISALLOWED

#define BLE_LL_ERR_COMMAND_DISALLOWED 0x9C

Command Disallowed.

Definition at line 187 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 184 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 197 of file ble_error.h.

## ◆ BLE_LL_ERR_CON_TIMEOUT

#define BLE_LL_ERR_CON_TIMEOUT 0x98

Connection Timeout.

Definition at line 183 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 191 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 233 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 188 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 189 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 190 of file ble_error.h.

## ◆ BLE_LL_ERR_CONTROLLER_BUSY

#define BLE_LL_ERR_CONTROLLER_BUSY 0xCA

Controller is busy.

Definition at line 229 of file ble_error.h.

## ◆ BLE_LL_ERR_DIFF_TRANSACTION_COLLISION

#define BLE_LL_ERR_DIFF_TRANSACTION_COLLISION 0xBA

Transaction collision.

Definition at line 217 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 226 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 212 of file ble_error.h.

## ◆ BLE_LL_ERR_HARDWARE_FAILURE

#define BLE_LL_ERR_HARDWARE_FAILURE 0x93

Hardware Failure.

Definition at line 178 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 228 of file ble_error.h.

## ◆ BLE_LL_ERR_INSTANT_PASSED

#define BLE_LL_ERR_INSTANT_PASSED 0xB8

Error, instant passed.

Definition at line 215 of file ble_error.h.

## ◆ BLE_LL_ERR_INSUFFICIENT_SECURITY

#define BLE_LL_ERR_INSUFFICIENT_SECURITY 0xBF

Insufficient security.

Definition at line 221 of file ble_error.h.

## ◆ BLE_LL_ERR_INVALID_HCI_PARAM

#define BLE_LL_ERR_INVALID_HCI_PARAM 0xA2

Invalid parameters.

Definition at line 193 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 205 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 213 of file ble_error.h.

## ◆ BLE_LL_ERR_LMP_COLLISION

#define BLE_LL_ERR_LMP_COLLISION 0xB3

LMP Collision.

Definition at line 210 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 211 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 209 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 182 of file ble_error.h.

## ◆ BLE_LL_ERR_PAGE_TIMEOUT

#define BLE_LL_ERR_PAGE_TIMEOUT 0x94

BT Page Timeout.

Definition at line 179 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 199 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 216 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 222 of file ble_error.h.

## ◆ BLE_LL_ERR_PIN_MISSING

#define BLE_LL_ERR_PIN_MISSING 0x96

Pin code missing.

Definition at line 181 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 214 of file ble_error.h.

## ◆ BLE_LL_ERR_QOS_REJECTED

#define BLE_LL_ERR_QOS_REJECTED 0xBD

Quality of Service rejected.

Definition at line 219 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 218 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 196 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 195 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 194 of file ble_error.h.

## ◆ BLE_LL_ERR_REPEATED_ATTEMPTS

#define BLE_LL_ERR_REPEATED_ATTEMPTS 0xA7

Repeated attempts.

Definition at line 198 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 224 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 208 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 225 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 223 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 204 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 203 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 202 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 227 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 185 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 232 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 230 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 177 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 176 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 200 of file ble_error.h.

## ◆ BLE_LL_ERR_UNSPECIFIED_ERROR

#define BLE_LL_ERR_UNSPECIFIED_ERROR 0xAF

Unspecified error.

Definition at line 206 of file ble_error.h.

## ◆ BLE_LL_ERR_UNSUPPORTED

#define BLE_LL_ERR_UNSUPPORTED 0xA1

Not Supported.

Definition at line 192 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 207 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 201 of file ble_error.h.

## ◆ BLE_SUCCESS

#define BLE_SUCCESS 0x00

Operation is Successful.

Definition at line 111 of file ble_error.h.