TI BLE5-Stack API Documentation  3.02.01.00
Macros
HCI Error Codes

Macros

#define HCI_ERROR_CODE_ACL_CONN_ALREADY_EXISTS   0x0B
 ACL Connection Already Exists.
 
#define HCI_ERROR_CODE_AUTH_FAILURE   0x05
 Authentication Fialure.
 
#define HCI_ERROR_CODE_CHAN_ASSESSMENT_NOT_SUPPORTED   0x2E
 Channel Assessment Not Supported.
 
#define HCI_ERROR_CODE_CMD_DISALLOWED   0x0C
 Command Disallowed.
 
#define HCI_ERROR_CODE_COARSE_CLOCK_ADJUST_REJECTED   0x40
 Coarse Clock Adjust Rejected.
 
#define HCI_ERROR_CODE_CONN_ACCEPT_TIMEOUT_EXCEEDED   0x10
 Connection Acceptance Timeout Exceeded.
 
#define HCI_ERROR_CODE_CONN_FAILED_TO_ESTABLISH   0x3E
 Connection Failed to Establish.
 
#define HCI_ERROR_CODE_CONN_LIMIT_EXCEEDED   0x09
 Connection Limit Exceeded.
 
#define HCI_ERROR_CODE_CONN_REJ_LIMITED_RESOURCES   0x0D
 Connection Rejected due to Limited Resources.
 
#define HCI_ERROR_CODE_CONN_REJ_NO_SUITABLE_CHAN_FOUND   0x39
 Connection Rejected No Suitable Channel Found.
 
#define HCI_ERROR_CODE_CONN_REJECTED_SECURITY_REASONS   0x0E
 Connection Rejected for Security Reasons.
 
#define HCI_ERROR_CODE_CONN_REJECTED_UNACCEPTABLE_BDADDR   0x0F
 Connection Rejected due to Unacceptable BDADDR.
 
#define HCI_ERROR_CODE_CONN_TERM_BY_LOCAL_HOST   0x16
 Connection Terminated by Local Host.
 
#define HCI_ERROR_CODE_CONN_TERM_MIC_FAILURE   0x3D
 Connection Terminated due to MIC Failure.
 
#define HCI_ERROR_CODE_CONN_TIMEOUT   0x08
 Connection Timeout.
 
#define HCI_ERROR_CODE_CONTROLLER_BUSY   0x3A
 Controller Busy.
 
#define HCI_ERROR_CODE_DIFFERENT_TRANSACTION_COLLISION   0x2A
 Different Transaction Collision.
 
#define HCI_ERROR_CODE_DIRECTED_ADV_TIMEOUT   0x3C
 Directed Advertising Timeout.
 
#define HCI_ERROR_CODE_ENCRYPT_MODE_NOT_ACCEPTABLE   0x25
 Encrypt Mode not Acceptable.
 
#define HCI_ERROR_CODE_EXTENDED_INQUIRY_RESP_TOO_LARGE   0x36
 Extended Inquiry Response too Large.
 
#define HCI_ERROR_CODE_HOST_BUSY_PAIRING   0x38
 Host Busy Pairing.
 
#define HCI_ERROR_CODE_HW_FAILURE   0x03
 Hardware Failure.
 
#define HCI_ERROR_CODE_INSTANT_PASSED   0x28
 Instant Passed.
 
#define HCI_ERROR_CODE_INSUFFICIENT_SECURITY   0x2F
 Insufficient Security.
 
#define HCI_ERROR_CODE_INVALID_HCI_CMD_PARAMS   0x12
 Invalid HCI Command Parameters.
 
#define HCI_ERROR_CODE_INVALID_LMP_PARAMS   0x1E
 Invalid LMP Paramaters.
 
#define HCI_ERROR_CODE_LIMIT_REACHED   0x43
 Limit Reached.
 
#define HCI_ERROR_CODE_LINK_KEY_CAN_NOT_BE_CHANGED   0x26
 Link Key Can Not Be Changed.
 
#define HCI_ERROR_CODE_LMP_ERR_TRANSACTION_COLLISION   0x23
 LMP Error Transaction Collision.
 
#define HCI_ERROR_CODE_LMP_LL_RESP_TIMEOUT   0x22
 LMP LL Response Timeout.
 
#define HCI_ERROR_CODE_LMP_PDU_NOT_ALLOWED   0x24
 LMP DU Not Allowed.
 
#define HCI_ERROR_CODE_MAC_CONN_FAILED   0x3F
 MAC Connection Failed.
 
#define HCI_ERROR_CODE_MEM_CAP_EXCEEDED   0x07
 Memory Capability Exceeded.
 
#define HCI_ERROR_CODE_OPERATION_CANCELLED_BY_HOST   0x44
 Operation Canceled by Host.
 
#define HCI_ERROR_CODE_PAGE_TIMEOUT   0x04
 Page Timeout.
 
#define HCI_ERROR_CODE_PAIRING_NOT_ALLOWED   0x18
 Pairing Not Allowed.
 
#define HCI_ERROR_CODE_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTED   0x29
 Pairing with Unit Key Not Supported.
 
#define HCI_ERROR_CODE_PARAM_OUT_OF_MANDATORY_RANGE   0x30
 Parameter out of Mandatory Range.
 
#define HCI_ERROR_CODE_PIN_KEY_MISSING   0x06
 Pin Key Missing.
 
#define HCI_ERROR_CODE_QOS_REJ   0x2D
 QOS Reject.
 
#define HCI_ERROR_CODE_QOS_UNACCEPTABLE_PARAM   0x2C
 QOS Unacceptable Parameter.
 
#define HCI_ERROR_CODE_REMOTE_DEVICE_TERM_CONN_LOW_RESOURCES   0x14
 Remote Device Terminated Connection due to Low Resources.
 
#define HCI_ERROR_CODE_REMOTE_DEVICE_TERM_CONN_POWER_OFF   0x15
 Remote Device Terminated Connection due to Power Off.
 
#define HCI_ERROR_CODE_REMOTE_USER_TERM_CONN   0x13
 Remote User Terminated Connection.
 
#define HCI_ERROR_CODE_REPEATED_ATTEMPTS   0x17
 Repeated Attempts.
 
#define HCI_ERROR_CODE_REQ_QOS_NOT_SUPPORTED   0x27
 Request QOS Not Supported.
 
#define HCI_ERROR_CODE_RESERVED1   0x2B
 Reserved.
 
#define HCI_ERROR_CODE_RESERVED2   0x31
 Reserved.
 
#define HCI_ERROR_CODE_RESERVED3   0x33
 Reserved.
 
#define HCI_ERROR_CODE_RESERVED_SLOT_VIOLATION   0x34
 Reserved Slot Violation.
 
#define HCI_ERROR_CODE_ROLE_CHANGE_NOT_ALLOWED   0x21
 Role Change Not Allowed.
 
#define HCI_ERROR_CODE_ROLE_SWITCH_FAILED   0x35
 Role Switch Failed.
 
#define HCI_ERROR_CODE_ROLE_SWITCH_PENDING   0x32
 Role Switch Pending.
 
#define HCI_ERROR_CODE_SCO_AIR_MODE_REJ   0x1D
 SCO Air Mode Rejected.
 
#define HCI_ERROR_CODE_SCO_INTERVAL_REJ   0x1C
 SCO Interval Rejected.
 
#define HCI_ERROR_CODE_SCO_OFFSET_REJ   0x1B
 SCO Offset Rejected.
 
#define HCI_ERROR_CODE_SIMPLE_PAIRING_NOT_SUPPORTED_BY_HOST   0x37
 Simple Pairing Not Supported by Host.
 
#define HCI_ERROR_CODE_SYNCH_CONN_LIMIT_EXCEEDED   0x0A
 Synchonous Connection Limit Exceeded.
 
#define HCI_ERROR_CODE_TYPE0_SUBMAP_NOT_DEFINED   0x41
 Type0 Submap Not Defined.
 
#define HCI_ERROR_CODE_UNACCEPTABLE_CONN_PARAMETERS   0x3B
 Unacceptable Connection Parameters.
 
#define HCI_ERROR_CODE_UNKNOWN_ADVERTISING_IDENTIFIER   0x42
 Unknown Advertising Identifier.
 
#define HCI_ERROR_CODE_UNKNOWN_CONN_ID   0x02
 Unknown Connection ID.
 
#define HCI_ERROR_CODE_UNKNOWN_HCI_CMD   0x01
 Unknown HCI Command.
 
#define HCI_ERROR_CODE_UNKNOWN_LMP_PDU   0x19
 Unknown LMP PDU.
 
#define HCI_ERROR_CODE_UNSPECIFIED_ERROR   0x1F
 Unspecified Error.
 
#define HCI_ERROR_CODE_UNSUPPORTED_FEATURE_PARAM_VALUE   0x11
 Unsupported Paramter.
 
#define HCI_ERROR_CODE_UNSUPPORTED_LMP_PARAM_VAL   0x20
 Unsupported LMP Parameter Value.
 
#define HCI_ERROR_CODE_UNSUPPORTED_REMOTE_FEATURE   0x1A
 Unsupported Remote Feature.
 
#define HCI_SUCCESS   0x00
 Success.
 

Detailed Description

Per the Bluetooth Core Specification, V4.0.0, Vol. 2, Part D.

© Copyright 1995-2023, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale