This group includes all error codes which was handled by Atmel APIs through different levels.
enum at_ble_err_status_t |
Enumeration for BLE Error Codes.
Enumerator | |
---|---|
AT_BLE_SUCCESS |
Generic errors Success. |
AT_BLE_ATT_INVALID_HANDLE |
ATT Error Codes Handle is invalid. |
AT_BLE_ATT_READ_NOT_PERMITTED |
Read permission disabled. |
AT_BLE_ATT_WRITE_NOT_PERMITTED |
Write permission disabled. |
AT_BLE_ATT_INVALID_PDU |
Incorrect PDU. |
AT_BLE_ATT_INSUFF_AUTHEN |
Authentication privilege not enough. |
AT_BLE_ATT_REQUEST_NOT_SUPPORTED |
Request not supported or not understood. |
AT_BLE_ATT_INVALID_OFFSET |
Incorrect offset value. |
AT_BLE_ATT_INSUFF_AUTHOR |
Authorization privilege not enough. |
AT_BLE_ATT_PREPARE_QUEUE_FULL |
Capacity queue for reliable write reached. |
AT_BLE_ATT_ATTRIBUTE_NOT_FOUND |
Attribute requested not existing. |
AT_BLE_ATT_ATTRIBUTE_NOT_LONG |
Attribute requested not long. |
AT_BLE_ATT_INSUFF_ENC_KEY_SIZE |
Encryption size not sufficient. |
AT_BLE_ATT_INVALID_ATTRIBUTE_VAL_LEN |
Invalid length of the attribute value. |
AT_BLE_ATT_UNLIKELY_ERR |
Operation not fit to condition. |
AT_BLE_ATT_INSUFF_ENC |
Attribute requires encryption before operation. |
AT_BLE_ATT_UNSUPP_GRP_TYPE |
Attribute grouping not supported. |
AT_BLE_ATT_INSUFF_RESOURCE |
Resources not sufficient to complete the request. |
AT_BLE_L2C_CONNECTION_LOST |
L2C Specific Error Message cannot be sent because connection lost. (disconnected) |
AT_BLE_L2C_INVALID_MTU_EXCEED |
Invalid PDU length exceed MTU. |
AT_BLE_L2C_ERR_INVALID_MPS_EXCEED |
Invalid PDU length exceed MPS. |
AT_BLE_L2C_INVALID_CID |
Invalid Channel ID. |
AT_BLE_L2C_INVALID_PDU |
Invalid PDU. |
AT_BLE_L2C_ERR_NO_RES_AVAIL |
Connection refused - no resources available. |
AT_BLE_L2C_ERR_INSUFF_AUTHEN |
Connection refused - insufficient authentication. |
AT_BLE_L2C_ERR_INSUFF_AUTHOR |
Connection refused - insufficient authorization. |
AT_BLE_L2C_ERR_INSUFF_ENC_KEY_SIZE |
Connection refused - insufficient encryption key size. |
AT_BLE_L2C_ERR_INSUFF_ENC |
Connection Refused - insufficient encryption. |
AT_BLE_L2C_ERR_LEPSM_NOT_SUPP |
Connection refused - LE_PSM not supported. |
AT_BLE_L2C_ERR_INSUFF_CREDIT |
No more credit. |
AT_BLE_L2C_ERR_NOT_UNDERSTOOD |
Command not understood by peer device. |
AT_BLE_GAP_INVALID_PARAM |
GAP Error Codes Invalid parameters set. |
AT_BLE_GAP_PROTOCOL_PROBLEM |
Problem with protocol exchange, get unexpected response. |
AT_BLE_GAP_NOT_SUPPORTED |
Request not supported by software configuration. |
AT_BLE_GAP_COMMAND_DISALLOWED |
Request not allowed in current state. |
AT_BLE_GAP_CANCELED |
Requested operation canceled. |
AT_BLE_GAP_TIMEOUT |
Requested operation timeout. |
AT_BLE_GAP_DISCONNECTED |
Link connection lost during operation. |
AT_BLE_GAP_NOT_FOUND |
Search algorithm finished, but no result found. |
AT_BLE_GAP_REJECTED |
Request rejected by peer device. |
AT_BLE_GAP_PRIVACY_CFG_PB |
Problem with privacy configuration. |
AT_BLE_GAP_ADV_DATA_INVALID |
Duplicate or invalid advertising data. |
AT_BLE_GAP_INSUFF_RESOURCES |
Insufficient resources. |
AT_BLE_GAP_UNEXPECTED |
Unexpected Error. |
AT_BLE_GATT_INVALID_ATT_LEN |
GATT Error Codes Problem with ATTC protocol response. |
AT_BLE_GATT_INVALID_TYPE_IN_SVC_SEARCH |
Error in service search. |
AT_BLE_GATT_WRITE |
Invalid write data. |
AT_BLE_GATT_SIGNED_WRITE |
Signed write error. |
AT_BLE_GATT_ATT_CLIENT_MISSING |
No attribute client defined. |
AT_BLE_GATT_ATT_SERVER_MISSING |
No attribute server defined. |
AT_BLE_GATT_INVALID_PERM |
Permission set in service/attribute are invalid. |
AT_BLE_SMP_LOC_PASSKEY_ENTRY_FAILED |
SMP Errors detected on local device The user input of passkey failed, for example, the user cancelled the operation. |
AT_BLE_SMP_LOC_OOB_NOT_AVAILABLE |
The OOB Data is not available. |
AT_BLE_SMP_LOC_AUTH_REQ |
The pairing procedure cannot be performed as authentication requirements cannot be met due to IO capabilities of one or both devices. |
AT_BLE_SMP_LOC_CONF_VAL_FAILED |
The confirm value does not match the calculated confirm value. |
AT_BLE_SMP_LOC_PAIRING_NOT_SUPP |
Pairing is not supported by the device. |
AT_BLE_SMP_LOC_ENC_KEY_SIZE |
The resultant encryption key size is insufficient for the security requirements of this device. |
AT_BLE_SMP_LOC_CMD_NOT_SUPPORTED |
The SMP command received is not supported on this device. |
AT_BLE_SMP_LOC_UNSPECIFIED_REASON |
Pairing failed due to an unspecified reason. |
AT_BLE_SMP_LOC_REPEATED_ATTEMPTS |
Pairing or Authentication procedure is disallowed because too little time has elapsed since last pairing request or security request. |
AT_BLE_SMP_LOC_INVALID_PARAM |
The command length is invalid or a parameter is outside of the specified range. |
AT_BLE_SMP_LOC_REQ_DISALLOWED |
The request sent by the HL cannot be handled for some reasons (unauthorized source task, role, ...) |
AT_BLE_SMP_LOC_LL_ERROR |
An error has been received from the controller upon an encryption request. |
AT_BLE_SMP_LOC_ADDR_RESOLV_FAIL |
The provided resolvable address has not been resolved. |
AT_BLE_SMP_LOC_SIGN_VERIF_FAIL |
The Signature Verification Failed. |
AT_BLE_SMP_LOC_TIMEOUT |
The command cannot be executed because a SMP timeout has been raised during the connection. |
AT_BLE_SMP_REM_PASSKEY_ENTRY_FAILED |
SMP Errors detected by remote device The user input of passkey failed, for example, the user cancelled the operation. |
AT_BLE_SMP_REM_OOB_NOT_AVAILABLE |
The OOB Data is not available. |
AT_BLE_SMP_REM_AUTH_REQ |
The pairing procedure cannot be performed as authentication requirements cannot be met due to IO capabilities of one or both. |
AT_BLE_SMP_REM_CONF_VAL_FAILED |
The confirm value does not match the calculated confirm value. |
AT_BLE_SMP_REM_PAIRING_NOT_SUPP |
Pairing is not supported by the device. |
AT_BLE_SMP_REM_ENC_KEY_SIZE |
The resultant encryption key size is insufficient for the security requirements of this device. |
AT_BLE_SMP_REM_CMD_NOT_SUPPORTED |
The SMP command received is not supported on this device. |
AT_BLE_SMP_REM_UNSPECIFIED_REASON |
Pairing failed due to an unspecified reason. |
AT_BLE_SMP_REM_REPEATED_ATTEMPTS |
Pairing or Authentication procedure is disallowed because too little time has elapsed since last pairing request or security request. |
AT_BLE_SMP_REM_INVALID_PARAM |
The command length is invalid or a parameter is outside of the specified range. |
AT_BLE_SMP_REM_ENC_KEY_MISSING |
The encryption procedure failed because the slave device didn't find the LTK needed to start an encryption session. |
AT_BLE_SMP_REM_ENC_NOT_SUPPORTED |
The encryption procedure failed because the slave device doesn't support the encryption feature. |
AT_BLE_SMP_REM_ENC_TIMEOUT |
A timeout has occurred during the start encryption session. |
AT_BLE_ATT_APP_ERROR |
Profile error codes Application Error. |
AT_BLE_PRF_APP_ERROR |
Application Error. |
AT_BLE_PRF_INVALID_PARAM |
Invalid parameter in request. |
AT_BLE_PRF_INEXISTENT_HDL |
Nonexistent handle for sending a read/write characteristic request. |
AT_BLE_PRF_STOP_DISC_CHAR_MISSING |
Discovery stopped due to missing attribute according to specification. |
AT_BLE_PRF_MULTIPLE_SVC |
Too many SVC instances found -> protocol violation. |
AT_BLE_PRF_STOP_DISC_WRONG_CHAR_PROP |
Discovery stopped due to found attribute with incorrect properties. |
AT_BLE_PRF_MULTIPLE_CHAR |
Too many Char. instances found-> protocol violation. |
AT_BLE_PRF_NOT_WRITABLE |
Attribute write not allowed. |
AT_BLE_PRF_NOT_READABLE |
Attribute read not allowed. |
AT_BLE_PRF_REQ_DISALLOWED |
Request not allowed. |
AT_BLE_PRF_NTF_DISABLED |
Notification Not Enabled. |
AT_BLE_PRF_IND_DISABLED |
Indication Not Enabled. |
AT_BLE_PRF_FEATURE_NOT_SUPPORTED |
Feature not supported by profile. |
AT_BLE_PRF_UNEXPECTED_LEN |
Read value has an unexpected length. |
AT_BLE_PRF_DISCONNECTED |
Disconnection occurs. |
AT_BLE_PRF_PROC_TIMEOUT |
Procedure Timeout. |
AT_BLE_LL_UNKNOWN_HCI_COMMAND |
LL Error codes conveyed to upper layer Unknown HCI Command. |
AT_BLE_LL_UNKNOWN_CONNECTION_ID |
Unknown Connection Identifier. |
AT_BLE_LL_HARDWARE_FAILURE |
Hardware Failure. |
AT_BLE_LL_PAGE_TIMEOUT |
BT Page Timeout. |
AT_BLE_LL_AUTH_FAILURE |
Authentication failure. |
AT_BLE_LL_PIN_MISSING |
Pin code missing. |
AT_BLE_LL_MEMORY_CAPA_EXCEED |
Memory capacity exceed. |
AT_BLE_LL_CON_TIMEOUT |
Connection Timeout. |
AT_BLE_LL_CON_LIMIT_EXCEED |
Connection limit Exceed. |
AT_BLE_LL_SYNC_CON_LIMIT_DEV_EXCEED |
Synchronous Connection limit exceed. |
AT_BLE_LL_ACL_CON_EXISTS |
ACL Connection exits. |
AT_BLE_LL_COMMAND_DISALLOWED |
Command Disallowed. |
AT_BLE_LL_CONN_REJ_LIMITED_RESOURCES |
Connection rejected due to limited resources. |
AT_BLE_LL_CONN_REJ_SECURITY_REASONS |
Connection rejected due to security reason. |
AT_BLE_LL_CONN_REJ_UNACCEPTABLE_BDADDR |
Connection rejected due to unacceptable BD Addr. |
AT_BLE_LL_CONN_ACCEPT_TIMEOUT_EXCEED |
Connection rejected due to Accept connection timeout. |
AT_BLE_LL_UNSUPPORTED |
Not Supported. |
AT_BLE_LL_INVALID_HCI_PARAM |
invalid parameters |
AT_BLE_LL_REMOTE_USER_TERM_CON |
Remote user terminate connection. |
AT_BLE_LL_REMOTE_DEV_TERM_LOW_RESOURCES |
Remote device terminate connection due to low resources. |
AT_BLE_LL_REMOTE_DEV_POWER_OFF |
Remote device terminate connection due to power off. |
AT_BLE_LL_CON_TERM_BY_LOCAL_HOST |
Connection terminated by local host. |
AT_BLE_LL_REPEATED_ATTEMPTS |
Repeated attempts. |
AT_BLE_LL_PAIRING_NOT_ALLOWED |
Pairing not Allowed. |
AT_BLE_LL_UNKNOWN_LMP_PDU |
Unknown PDU Error. |
AT_BLE_LL_UNSUPPORTED_REMOTE_FEATURE |
Unsupported remote feature. |
AT_BLE_LL_SCO_OFFSET_REJECTED |
Sco Offset rejected. |
AT_BLE_LL_SCO_INTERVAL_REJECTED |
SCO Interval Rejected. |
AT_BLE_LL_SCO_AIR_MODE_REJECTED |
SCO air mode Rejected. |
AT_BLE_LL_INVALID_LMP_PARAM |
Invalid LMP parameters. |
AT_BLE_LL_UNSPECIFIED_ERROR |
Unspecified error. |
AT_BLE_LL_UNSUPPORTED_LMP_PARAM_VALUE |
Unsupported LMP Parameter value. |
AT_BLE_LL_ROLE_CHANGE_NOT_ALLOWED |
Role Change Not allowed. |
AT_BLE_LL_LMP_RSP_TIMEOUT |
LMP Response timeout. |
AT_BLE_LL_LMP_COLLISION |
LMP Collision. |
AT_BLE_LL_LMP_PDU_NOT_ALLOWED |
LMP Pdu not allowed. |
AT_BLE_LL_ENC_MODE_NOT_ACCEPT |
Encryption mode not accepted. |
AT_BLE_LL_LINK_KEY_CANT_CHANGE |
Link Key Cannot be changed. |
AT_BLE_LL_QOS_NOT_SUPPORTED |
Quality of Service not supported. |
AT_BLE_LL_INSTANT_PASSED |
Error, instant passed. |
AT_BLE_LL_PAIRING_WITH_UNIT_KEY_NOT_SUP |
Pairing with unit key not supported. |
AT_BLE_LL_DIFF_TRANSACTION_COLLISION |
Transaction collision. |
AT_BLE_LL_QOS_UNACCEPTABLE_PARAM |
Unacceptable parameters. |
AT_BLE_LL_QOS_REJECTED |
Quality of Service rejected. |
AT_BLE_LL_CHANNEL_CLASS_NOT_SUP |
Channel class not supported. |
AT_BLE_LL_INSUFFICIENT_SECURITY |
Insufficient security. |
AT_BLE_LL_PARAM_OUT_OF_MAND_RANGE |
Parameters out of mandatory range. |
AT_BLE_LL_ROLE_SWITCH_PEND |
Role switch pending. |
AT_BLE_LL_RESERVED_SLOT_VIOLATION |
Reserved slot violation. |
AT_BLE_LL_ROLE_SWITCH_FAIL |
Role Switch fail. |
AT_BLE_LL_EIR_TOO_LARGE |
Error, EIR too large. |
AT_BLE_LL_SP_NOT_SUPPORTED_HOST |
Simple pairing not supported by host. |
AT_BLE_LL_HOST_BUSY_PAIRING |
Host pairing is busy. |
AT_BLE_LL_CONTROLLER_BUSY |
Controller is busy. |
AT_BLE_LL_UNACCEPTABLE_CONN_INT |
Unacceptable connection initialization. |
AT_BLE_LL_DIRECT_ADV_TO |
Direct Advertising Timeout. |
AT_BLE_LL_TERMINATED_MIC_FAILURE |
Connection Terminated due to a MIC failure. |
AT_BLE_LL_CONN_FAILED_TO_BE_EST |
Connection failed to be established. |
AT_BLE_INVALID_PARAM |
Invalid input argument to function. |
AT_BLE_TIMEOUT |
Timeout has been occurred while waiting for a specific event. |
AT_BLE_BUS_TIMEOUT |
Invalid bus initialization. |
AT_BLE_BUSY |
This operation can't be handled now, wait for its event first. |
AT_BLE_DB_MEMORY_NOT_SETTED |
Data base memory hasn't been assigned, it is a must to call at_ble_init with proper parameter at_ble_init_config_t. |
AT_BLE_INVALID_STATE |
Operation disallowed in this state. |
AT_BLE_BUS_FAILURE |
Error On bus or undefined state. |
AT_BLE_FAILURE |
Generic Failure. |
AT_BLE_PRF_CCCD_IMPR_CONFIGURED |
Client characteristic configuration improperly configured. |
AT_BLE_PRF_PROC_IN_PROGRESS |
Procedure already in progress. |
AT_BLE_PRF_OUT_OF_RANGE |
Out of Range. |