Inplay BLE error defines.
Enumerator |
---|
IN_BLE_ERR_NO_ERROR | No error.
|
IN_BLE_ATT_ERR_NO_ERROR | No error.
|
IN_BLE_ATT_ERR_INVALID_HANDLE | 0x01: Handle is invalid
|
IN_BLE_ATT_ERR_READ_NOT_PERMITTED | 0x02: Read permission disabled
|
IN_BLE_ATT_ERR_WRITE_NOT_PERMITTED | 0x03: Write permission disabled
|
IN_BLE_ATT_ERR_INVALID_PDU | 0x04: Incorrect PDU
|
IN_BLE_ATT_ERR_INSUFF_AUTHEN | 0x05: Authentication privilege not enough
|
IN_BLE_ATT_ERR_REQUEST_NOT_SUPPORTED | 0x06: Request not supported or not understood
|
IN_BLE_ATT_ERR_INVALID_OFFSET | 0x07: Incorrect offset value
|
IN_BLE_ATT_ERR_INSUFF_AUTHOR | 0x08: Authorization privilege not enough
|
IN_BLE_ATT_ERR_PREPARE_QUEUE_FULL | 0x09: Capacity queue for reliable write reached
|
IN_BLE_ATT_ERR_ATTRIBUTE_NOT_FOUND | 0x0A: Attribute requested not existing
|
IN_BLE_ATT_ERR_ATTRIBUTE_NOT_LONG | 0x0B: Attribute requested not long
|
IN_BLE_ATT_ERR_INSUFF_ENC_KEY_SIZE | 0x0C: Encryption size not sufficient
|
IN_BLE_ATT_ERR_INVALID_ATTRIBUTE_VAL_LEN | 0x0D: Invalid length of the attribute value
|
IN_BLE_ATT_ERR_UNLIKELY_ERR | 0x0E: Operation not fit to condition
|
IN_BLE_ATT_ERR_INSUFF_ENC | 0x0F: Attribute requires encryption before operation
|
IN_BLE_ATT_ERR_UNSUPP_GRP_TYPE | 0x10: Attribute grouping not supported
|
IN_BLE_ATT_ERR_INSUFF_RESOURCE | 0x11: Resources not sufficient to complete the request
|
IN_BLE_ATT_ERR_APP_ERROR | 0x80: Application error (also used in PRF Errors)
|
IN_BLE_L2C_ERR_CONNECTION_LOST | Message cannot be sent because connection lost. (disconnected)
|
IN_BLE_L2C_ERR_INVALID_MTU_EXCEED | Invalid PDU length exceed MTU.
|
IN_BLE_L2C_ERR_INVALID_MPS_EXCEED | Invalid PDU length exceed MPS.
|
IN_BLE_L2C_ERR_INVALID_CID | Invalid Channel ID.
|
IN_BLE_L2C_ERR_INVALID_PDU | Invalid PDU.
|
IN_BLE_L2C_ERR_NO_RES_AVAIL | Connection refused - no resources available.
|
IN_BLE_L2C_ERR_INSUFF_AUTHEN | Connection refused - insufficient authentication.
|
IN_BLE_L2C_ERR_INSUFF_AUTHOR | Connection refused - insufficient authorization.
|
IN_BLE_L2C_ERR_INSUFF_ENC_KEY_SIZE | Connection refused - insufficient encryption key size.
|
IN_BLE_L2C_ERR_INSUFF_ENC | Connection Refused - insufficient encryption.
|
IN_BLE_L2C_ERR_LEPSM_NOT_SUPP | Connection refused - LE_PSM not supported.
|
IN_BLE_L2C_ERR_INSUFF_CREDIT | No more credit.
|
IN_BLE_L2C_ERR_NOT_UNDERSTOOD | Command not understood by peer device.
|
IN_BLE_L2C_ERR_CREDIT_ERROR | Credit error, invalid number of credit received.
|
IN_BLE_L2C_ERR_CID_ALREADY_ALLOC | Channel identifier already allocated.
|
IN_BLE_GAP_ERR_INVALID_PARAM | Invalid parameters set.
|
IN_BLE_GAP_ERR_PROTOCOL_PROBLEM | Problem with protocol exchange, get unexpected response.
|
IN_BLE_GAP_ERR_NOT_SUPPORTED | Request not supported by software configuration.
|
IN_BLE_GAP_ERR_COMMAND_DISALLOWED | Request not allowed in current state.
|
IN_BLE_GAP_ERR_CANCELED | Requested operation canceled.
|
IN_BLE_GAP_ERR_TIMEOUT | Requested operation timeout.
|
IN_BLE_GAP_ERR_DISCONNECTED | Link connection lost during operation.
|
IN_BLE_GAP_ERR_NOT_FOUND | Search algorithm finished, but no result found.
|
IN_BLE_GAP_ERR_REJECTED | Request rejected by peer device.
|
IN_BLE_GAP_ERR_PRIVACY_CFG_PB | Problem with privacy configuration.
|
IN_BLE_GAP_ERR_ADV_DATA_INVALID | Duplicate or invalid advertising data.
|
IN_BLE_GAP_ERR_INSUFF_RESOURCES | Insufficient resources.
|
IN_BLE_GAP_ERR_UNEXPECTED | Unexpected Error.
|
IN_BLE_GAP_ERR_MISMATCH | Feature mismatch.
|
IN_BLE_GATT_ERR_INVALID_ATT_LEN | Problem with ATTC protocol response.
|
IN_BLE_GATT_ERR_INVALID_TYPE_IN_SVC_SEARCH | Error in service search.
|
IN_BLE_GATT_ERR_WRITE | Invalid write data.
|
IN_BLE_GATT_ERR_SIGNED_WRITE | Signed write error.
|
IN_BLE_GATT_ERR_ATTRIBUTE_CLIENT_MISSING | No attribute client defined.
|
IN_BLE_GATT_ERR_ATTRIBUTE_SERVER_MISSING | No attribute server defined.
|
IN_BLE_GATT_ERR_INVALID_PERM | Permission set in service/attribute are invalid.
|
IN_BLE_SMP_ERROR_LOC_PASSKEY_ENTRY_FAILED | The user input of pass key failed, for example, the user canceled the operation.
|
IN_BLE_SMP_ERROR_LOC_OOB_NOT_AVAILABLE | The OOB Data is not available.
|
IN_BLE_SMP_ERROR_LOC_AUTH_REQ | The pairing procedure cannot be performed as authentication requirements cannot be met due to IO capabilities of one or both devices.
|
IN_BLE_SMP_ERROR_LOC_CONF_VAL_FAILED | The confirm value does not match the calculated confirm value.
|
IN_BLE_SMP_ERROR_LOC_PAIRING_NOT_SUPP | Pairing is not supported by the device.
|
IN_BLE_SMP_ERROR_LOC_ENC_KEY_SIZE | The resultant encryption key size is insufficient for the security requirements of this device.
|
IN_BLE_SMP_ERROR_LOC_CMD_NOT_SUPPORTED | The SMP command received is not supported on this device.
|
IN_BLE_SMP_ERROR_LOC_UNSPECIFIED_REASON | Pairing failed due to an unspecified reason.
|
IN_BLE_SMP_ERROR_LOC_REPEATED_ATTEMPTS | Pairing or Authentication procedure is disallowed because too little time has elapsed since last pairing request or security request.
|
IN_BLE_SMP_ERROR_LOC_INVALID_PARAM | The command length is invalid or a parameter is outside of the specified range.
|
IN_BLE_SMP_ERROR_LOC_DHKEY_CHECK_FAILED | Indicates to the remote device that the DHKey Check value received doesn't match the one calculated by the local device.
|
IN_BLE_SMP_ERROR_LOC_NUMERIC_COMPARISON_FAILED | Indicates that the confirm values in the numeric comparison protocol do not match.
|
IN_BLE_SMP_ERROR_LOC_BREDR_PAIRING_IN_PROGRESS | Indicates that the pairing over the LE transport failed due to a Pairing Request sent over the BR/EDR transport in process.
|
IN_BLE_SMP_ERROR_LOC_CROSS_TRANSPORT_KEY_GENERATION_NOT_ALLOWED | Indicates that the BR/EDR Link Key generated on the BR/EDR transport cannot be used to derive and distribute keys for the LE transport.
|
IN_BLE_SMP_ERROR_REM_PASSKEY_ENTRY_FAILED | The user input of passkey failed, for example, the user canceled the operation.
|
IN_BLE_SMP_ERROR_REM_OOB_NOT_AVAILABLE | The OOB Data is not available.
|
IN_BLE_SMP_ERROR_REM_AUTH_REQ | The pairing procedure cannot be performed as authentication requirements cannot be met due to IO capabilities of one or both devices.
|
IN_BLE_SMP_ERROR_REM_CONF_VAL_FAILED | The confirm value does not match the calculated confirm value.
|
IN_BLE_SMP_ERROR_REM_PAIRING_NOT_SUPP | Pairing is not supported by the device.
|
IN_BLE_SMP_ERROR_REM_ENC_KEY_SIZE | The resultant encryption key size is insufficient for the security requirements of this device.
|
IN_BLE_SMP_ERROR_REM_CMD_NOT_SUPPORTED | The SMP command received is not supported on this device.
|
IN_BLE_SMP_ERROR_REM_UNSPECIFIED_REASON | Pairing failed due to an unspecified reason.
|
IN_BLE_SMP_ERROR_REM_REPEATED_ATTEMPTS | Pairing or Authentication procedure is disallowed because too little time has elapsed since last pairing request or security request.
|
IN_BLE_SMP_ERROR_REM_INVALID_PARAM | The command length is invalid or a parameter is outside of the specified range.
|
IN_BLE_SMP_ERROR_REM_DHKEY_CHECK_FAILED | Indicates to the remote device that the DHKey Check value received doesn't match the one calculated by the local device.
|
IN_BLE_SMP_ERROR_REM_NUMERIC_COMPARISON_FAILED | Indicates that the confirm values in the numeric comparison protocol do not match.
|
IN_BLE_SMP_ERROR_REM_BREDR_PAIRING_IN_PROGRESS | Indicates that the pairing over the LE transport failed due to a Pairing Request sent over the BR/EDR transport in process.
|
IN_BLE_SMP_ERROR_REM_CROSS_TRANSPORT_KEY_GENERATION_NOT_ALLOWED | Indicates that the BR/EDR Link Key generated on the BR/EDR transport cannot be used to derive and distribute keys for the LE transport.
|
IN_BLE_SMP_ERROR_ADDR_RESOLV_FAIL | The provided resolvable address has not been resolved.
|
IN_BLE_SMP_ERROR_SIGN_VERIF_FAIL | The Signature Verification Failed.
|
IN_BLE_SMP_ERROR_ENC_KEY_MISSING | The encryption procedure failed because the slave device didn't find the LTK needed to start an encryption session.
|
IN_BLE_SMP_ERROR_ENC_NOT_SUPPORTED | The encryption procedure failed because the slave device doesn't support the encryption feature.
|
IN_BLE_SMP_ERROR_ENC_TIMEOUT | A timeout has occurred during the start encryption session.
|
IN_BLE_PRF_APP_ERROR | Application Error.
|
IN_BLE_PRF_ERR_INVALID_PARAM | Invalid parameter in request.
|
IN_BLE_PRF_ERR_INEXISTENT_HDL | Inexistent handle for sending a read/write characteristic request.
|
IN_BLE_PRF_ERR_STOP_DISC_CHAR_MISSING | Discovery stopped due to missing attribute according to specification.
|
IN_BLE_PRF_ERR_MULTIPLE_SVC | Too many SVC instances found -> protocol violation.
|
IN_BLE_PRF_ERR_STOP_DISC_WRONG_CHAR_PROP | Discovery stopped due to found attribute with incorrect properties.
|
IN_BLE_PRF_ERR_MULTIPLE_CHAR | Too many Char. instances found-> protocol violation.
|
IN_BLE_PRF_ERR_NOT_WRITABLE | Attribute write not allowed.
|
IN_BLE_PRF_ERR_NOT_READABLE | Attribute read not allowed.
|
IN_BLE_PRF_ERR_REQ_DISALLOWED | Request not allowed.
|
IN_BLE_PRF_ERR_NTF_DISABLED | Notification Not Enabled.
|
IN_BLE_PRF_ERR_IND_DISABLED | Indication Not Enabled.
|
IN_BLE_PRF_ERR_FEATURE_NOT_SUPPORTED | Feature not supported by profile.
|
IN_BLE_PRF_ERR_UNEXPECTED_LEN | Read value has an unexpected length.
|
IN_BLE_PRF_ERR_DISCONNECTED | Disconnection occurs.
|
IN_BLE_PRF_ERR_PROC_TIMEOUT | Procedure Timeout.
|
IN_BLE_PRF_CCCD_IMPR_CONFIGURED | Client characteristic configuration improperly configured.
|
IN_BLE_PRF_PROC_IN_PROGRESS | Procedure already in progress.
|
IN_BLE_PRF_OUT_OF_RANGE | Out of Range.
|
IN_BLE_LL_ERR_UNKNOWN_HCI_COMMAND | Unknown HCI Command.
|
IN_BLE_LL_ERR_UNKNOWN_CONNECTION_ID | Unknown Connection Identifier.
|
IN_BLE_LL_ERR_HARDWARE_FAILURE | Hardware Failure.
|
IN_BLE_LL_ERR_PAGE_TIMEOUT | BT Page Timeout.
|
IN_BLE_LL_ERR_AUTH_FAILURE | Authentication failure.
|
IN_BLE_LL_ERR_PIN_MISSING | Pin code missing.
|
IN_BLE_LL_ERR_MEMORY_CAPA_EXCEED | Memory capacity exceed.
|
IN_BLE_LL_ERR_CON_TIMEOUT | Connection Timeout.
|
IN_BLE_LL_ERR_CON_LIMIT_EXCEED | Connection limit Exceed.
|
IN_BLE_LL_ERR_SYNC_CON_LIMIT_DEV_EXCEED | Synchronous Connection limit exceed.
|
IN_BLE_LL_ERR_ACL_CON_EXISTS | ACL Connection exits.
|
IN_BLE_LL_ERR_COMMAND_DISALLOWED | Command Disallowed.
|
IN_BLE_LL_ERR_CONN_REJ_LIMITED_RESOURCES | Connection rejected due to limited resources.
|
IN_BLE_LL_ERR_CONN_REJ_SECURITY_REASONS | Connection rejected due to security reason.
|
IN_BLE_LL_ERR_CONN_REJ_UNACCEPTABLE_BDADDR | Connection rejected due to unacceptable BD Addr.
|
IN_BLE_LL_ERR_CONN_ACCEPT_TIMEOUT_EXCEED | Connection rejected due to Accept connection timeout.
|
IN_BLE_LL_ERR_UNSUPPORTED | Not Supported.
|
IN_BLE_LL_ERR_INVALID_HCI_PARAM | invalid parameters
|
IN_BLE_LL_ERR_REMOTE_USER_TERM_CON | Remote user terminate connection.
|
IN_BLE_LL_ERR_REMOTE_DEV_TERM_LOW_RESOURCES | Remote device terminate connection due to low resources.
|
IN_BLE_LL_ERR_REMOTE_DEV_POWER_OFF | Remote device terminate connection due to power off.
|
IN_BLE_LL_ERR_CON_TERM_BY_LOCAL_HOST | Connection terminated by local host.
|
IN_BLE_LL_ERR_REPEATED_ATTEMPTS | Repeated attempts.
|
IN_BLE_LL_ERR_PAIRING_NOT_ALLOWED | Pairing not Allowed.
|
IN_BLE_LL_ERR_UNKNOWN_LMP_PDU | Unknown PDU Error.
|
IN_BLE_LL_ERR_UNSUPPORTED_REMOTE_FEATURE | Unsupported remote feature.
|
IN_BLE_LL_ERR_SCO_OFFSET_REJECTED | Sco Offset rejected.
|
IN_BLE_LL_ERR_SCO_INTERVAL_REJECTED | SCO Interval Rejected.
|
IN_BLE_LL_ERR_SCO_AIR_MODE_REJECTED | SCO air mode Rejected.
|
IN_BLE_LL_ERR_INVALID_LMP_PARAM | Invalid LMP parameters.
|
IN_BLE_LL_ERR_UNSPECIFIED_ERROR | Unspecified error.
|
IN_BLE_LL_ERR_UNSUPPORTED_LMP_PARAM_VALUE | Unsupported LMP Parameter value.
|
IN_BLE_LL_ERR_ROLE_CHANGE_NOT_ALLOWED | Role Change Not allowed.
|
IN_BLE_LL_ERR_LMP_RSP_TIMEOUT | LMP Response timeout.
|
IN_BLE_LL_ERR_LMP_COLLISION | LMP Collision.
|
IN_BLE_LL_ERR_LMP_PDU_NOT_ALLOWED | LMP Pdu not allowed.
|
IN_BLE_LL_ERR_ENC_MODE_NOT_ACCEPT | Encryption mode not accepted.
|
IN_BLE_LL_ERR_LINK_KEY_CANT_CHANGE | Link Key Cannot be changed.
|
IN_BLE_LL_ERR_QOS_NOT_SUPPORTED | Quality of Service not supported.
|
IN_BLE_LL_ERR_INSTANT_PASSED | Error, instant passed.
|
IN_BLE_LL_ERR_PAIRING_WITH_UNIT_KEY_NOT_SUP | Pairing with unit key not supported.
|
IN_BLE_LL_ERR_DIFF_TRANSACTION_COLLISION | Transaction collision.
|
IN_BLE_LL_ERR_QOS_UNACCEPTABLE_PARAM | Unacceptable parameters.
|
IN_BLE_LL_ERR_QOS_REJECTED | Quality of Service rejected.
|
IN_BLE_LL_ERR_CHANNEL_CLASS_NOT_SUP | Channel class not supported.
|
IN_BLE_LL_ERR_INSUFFICIENT_SECURITY | Insufficient security.
|
IN_BLE_LL_ERR_PARAM_OUT_OF_MAND_RANGE | Parameters out of mandatory range.
|
IN_BLE_LL_ERR_ROLE_SWITCH_PEND | Role switch pending.
|
IN_BLE_LL_ERR_RESERVED_SLOT_VIOLATION | Reserved slot violation.
|
IN_BLE_LL_ERR_ROLE_SWITCH_FAIL | Role Switch fail.
|
IN_BLE_LL_ERR_EIR_TOO_LARGE | Error, EIR too large.
|
IN_BLE_LL_ERR_SP_NOT_SUPPORTED_HOST | Simple pairing not supported by host.
|
IN_BLE_LL_ERR_HOST_BUSY_PAIRING | Host pairing is busy.
|
IN_BLE_LL_ERR_CONTROLLER_BUSY | Controller is busy.
|
IN_BLE_LL_ERR_UNACCEPTABLE_CONN_INT | Unacceptable connection initialization.
|
IN_BLE_LL_ERR_DIRECT_ADV_TO | Direct Advertising Timeout.
|
IN_BLE_LL_ERR_TERMINATED_MIC_FAILURE | Connection Terminated due to a MIC failure.
|
IN_BLE_LL_ERR_CONN_FAILED_TO_BE_EST | Connection failed to be established.
|
IN_BLE_PLT_ERR_NO_MEM | Can't allocate memory error.
|
IN_BLE_PLT_ERR_OS_SEMAPHORE | Can't allocate semaphore error.
|
IN_BLE_PLT_ERR_OS_MUTEX | Can't allocate mutex error.
|
IN_BLE_PLT_ERR_OS_TASK | Can't allocate task error.
|
IN_BLE_PLT_ERR_OS_QUE | Can't allocate message queue.
|
IN_BLE_PLT_ERR_OS_WAIT | OS wait function failed.
|
IN_BLE_PLT_ERR_OS_TMR_CREATE | OS timer create failed.
|
IN_BLE_PLT_ERR_INVALID_PARAM | Invalid parameters.
|
IN_BLE_PLT_ERR_NOT_READY | platform not ready
|
IN_BLE_PLT_ERR_INVALID_CONFIG | Invalid EM configuration.
|
IN_BLE_PLT_ERR_NOT_ENOUGH_MEM | Invalid BLE memory configuration.
|