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