Status definitions

C

#define GAP_STATUS_SUCCESS                                   0x00
#define GAP_STATUS_UNKNOWN_HCI_COMMAND                       0x01
#define GAP_STATUS_UNKNOWN_CONNECTION_IDENTIFIER             0x02
#define GAP_STATUS_HARDWARE_FAILURE                          0x03
#define GAP_STATUS_PAGE_TIMEOUT                              0x04
#define GAP_STATUS_AUTHENTICATION_FAILURE                    0x05
#define GAP_STATUS_PIN_KEY_MISSING                           0x06
#define GAP_STATUS_MEMORY_CAPACITY_EXCEEDED                  0x07
#define GAP_STATUS_CONNECTION_TIMEOUT                        0x08
#define GAP_STATUS_CONNECTION_LIMIT_EXCEEDED                 0x09
#define GAP_STATUS_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED     0x0A
#define GAP_STATUS_CONNECTION_ALREADY_EXISTS                 0x0B
#define GAP_STATUS_COMMAND_DISALLOWED                        0x0C
#define GAP_STATUS_REJECTED_DUE_TO_LIMITED_RESOURCES         0x0D
#define GAP_STATUS_REJECTED_DUE_TO_SECURITY_REASONS          0x0E
#define GAP_STATUS_REJECTED_DUE_TO_UNACCEPTABLE_BDADDR       0x0F
#define GAP_STATUS_CONNECTION_ACCEPT_TIMEOUT                 0x10
#define GAP_STATUS_UNSUPPORTED_FEATURE                       0x11
#define GAP_STATUS_INVALID_HCI_COMMAND_PARAMETERS            0x12
#define GAP_STATUS_REMOTE_TML_CONN                           0x13
#define GAP_STATUS_REMOTE_TML_CONN_LOW_RESOURCE              0x14
#define GAP_STATUS_REMOTE_TML_CONN_POWEROFF                  0x15
#define GAP_STATUS_LOCAL_HOST_TERMINATE_CONNECTION           0x16
#define GAP_STATUS_REPEATED_ATTEMPTS                         0x17
#define GAP_STATUS_PAIRING_NOT_ALLOWED                       0x18
#define GAP_STATUS_UNKNOWN_LMP_PDU                           0x19
#define GAP_STATUS_UNSUPPORTED_REMOTE_FEATURE                0x1A
#define GAP_STATUS_SCO_OFFSET_REJECT                         0x1B
#define GAP_STATUS_SCO_INTEVAL_REJECT                        0x1C
#define GAP_STATUS_SCO_AIR_MODE_REJECT                       0x1D
#define GAP_STATUS_INVALID_LMP_PARAMETERS                    0x1E
#define GAP_STATUS_UNSPECIFIED_ERROR                         0x1F
#define GAP_STATUS_UNSUPPORTED_LMP_PARAMETERS                0x20
#define GAP_STATUS_ROLE_CHANGE_NOT_ALLOW                     0x21
#define GAP_STATUS_LMP_RESPONSE_TIMEOUT                      0x22
#define GAP_STATUS_LMP_ERROR_TRANSACTION_COLLISION           0x23
#define GAP_STATUS_LMP_PDU_NOT_ALLOW                         0x24
#define GAP_STATUS_ENCRYPTION_MODE_NOT_ACCEPTABLE            0x25
#define GAP_STATUS_LINK_KEY_CANNOT_BE_CHANGED                0x26
#define GAP_STATUS_REQUESTED_QOS_NOT_SUPPORT                 0x27
#define GAP_STATUS_INSTANT_PASSED                            0x28
#define GAP_STATUS_PAIRING_WITH_UNIT_KEY_NOT_SUPPORT         0x29
#define GAP_STATUS_DIFFERENT_TRANSACTION_COLLISION           0x2A
#define GAP_STATUS_QOS_UNACCEPTABLE_PARAMETER                0x2C
#define GAP_STATUS_QOS_REJECTED                              0x2D
#define GAP_STATUS_CHANNEL_CLASSIFICATION_NOT_SUPPORT        0x2E
#define GAP_STATUS_INSUFFICIENT_SECURITY                     0x2F
#define GAP_STATUS_PARAMETER_OUT_OF_MANDATORY_RANGE          0x30
#define GAP_STATUS_ROLE_SWITCH_PENDING                       0x32
#define GAP_STATUS_RESERVED_SLOT_VIOLATION                   0x34
#define GAP_STATUS_ROLE_SWITCH_FAILED                        0x35
#define GAP_STATUS_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE       0x36
#define GAP_STATUS_SECURE_SIMPLE_PAIRING_NOT_SUPPORT         0x37
#define GAP_STATUS_HOST_BUSY_PAIRING                         0x38
#define GAP_STATUS_CONNECTION_REJECT_NON_SUITABLE_CHANNEL    0x39
#define GAP_STATUS_CONTROLLER_BUSY                           0x3A
#define GAP_STATUS_UNACCEPTABLE_CONNECTION_PARAMETERS        0x3B
#define GAP_STATUS_ADVERTISING_TIMEOUT                       0x3C
#define GAP_STATUS_CONNECTION_TERMINATE_MIC_FAILURE          0x3D
#define GAP_STATUS_CONNECTION_FAILED_TO_BE_ESTABLISHED       0x3E
#define GAP_STATUS_MAC_CONNECTION_FAILED                     0x3F
#define GAP_STATUS_COARSE_CLOCK_ADJUSTMENT_REJECTED          0x40
#define GAP_STATUS_TYPE0_SUBMAP_NOT_DEFINED                  0x41
#define GAP_STATUS_UNKNOWN_ADVERTISING_IDENTIFIER            0x42
#define GAP_STATUS_LIMIT_REACHED                             0x43
#define GAP_STATUS_OPERATION_CANCELLED_BY_HOST               0x44

Description

Defines the various possible status.

Macro Definition

MacroDescription
GAP_STATUS_SUCCESSSuccessful status.
GAP_STATUS_UNKNOWN_HCI_COMMANDUnknown HCI Command.
GAP_STATUS_UNKNOWN_CONNECTION_IDENTIFIERUnknown Connection Identifier.
GAP_STATUS_HARDWARE_FAILUREHardware Failure.
GAP_STATUS_PAGE_TIMEOUTPage Timeout.
GAP_STATUS_AUTHENTICATION_FAILUREAuthentication Failure.
GAP_STATUS_PIN_KEY_MISSINGPIN or Key Missing.
GAP_STATUS_MEMORY_CAPACITY_EXCEEDEDMemory Capacity Exceeded.
GAP_STATUS_CONNECTION_TIMEOUTConnection Timeout.
GAP_STATUS_CONNECTION_LIMIT_EXCEEDEDConnection Limit Exceeded.
GAP_STATUS_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDEDSynchronous Connection Limit To A Device Exceeded.
GAP_STATUS_CONNECTION_ALREADY_EXISTSConnection Already Exists.
GAP_STATUS_COMMAND_DISALLOWEDCommand Disallowed.
GAP_STATUS_REJECTED_DUE_TO_LIMITED_RESOURCESConnection Rejected due to Limited Resources.
GAP_STATUS_REJECTED_DUE_TO_SECURITY_REASONSConnection Rejected due To Security Reasons.
GAP_STATUS_REJECTED_DUE_TO_UNACCEPTABLE_BDADDRConnection Rejected due to Unacceptable BD_ADDR.
GAP_STATUS_CONNECTION_ACCEPT_TIMEOUTConnection Accept Timeout Exceeded.
GAP_STATUS_UNSUPPORTED_FEATUREUnsupported Feature or Parameter Value.
GAP_STATUS_INVALID_HCI_COMMAND_PARAMETERSInvalid HCI Command Parameters.
GAP_STATUS_REMOTE_TML_CONNRemote User Terminated Connection.
GAP_STATUS_REMOTE_TML_CONN_LOW_RESOURCERemote Device Terminated Connection due to Low Resources.
GAP_STATUS_REMOTE_TML_CONN_POWEROFFRemote Device Terminated Connection due to Power Off.
GAP_STATUS_LOCAL_HOST_TERMINATE_CONNECTIONConnection Terminated By Local Host.
GAP_STATUS_REPEATED_ATTEMPTSRepeated Attempts.
GAP_STATUS_PAIRING_NOT_ALLOWEDPairing Not Allowed.
GAP_STATUS_UNKNOWN_LMP_PDUUnknown LMP PDU.
GAP_STATUS_UNSUPPORTED_REMOTE_FEATUREUnsupported Remote Feature / Unsupported LMP Feature.
GAP_STATUS_SCO_OFFSET_REJECTSCO Offset Rejected.
GAP_STATUS_SCO_INTEVAL_REJECTSCO Interval Rejected.
GAP_STATUS_SCO_AIR_MODE_REJECTSCO Air Mode Rejected.
GAP_STATUS_INVALID_LMP_PARAMETERSInvalid LMP Parameters / Invalid LL Parameters.
GAP_STATUS_UNSPECIFIED_ERRORUnspecified Error.
GAP_STATUS_UNSUPPORTED_LMP_PARAMETERSUnsupported LMP Parameter Value / Unsupported LL Parameter Value.
GAP_STATUS_ROLE_CHANGE_NOT_ALLOWRole Change Not Allowed.
GAP_STATUS_LMP_RESPONSE_TIMEOUTLMP Response Timeout / LL Response Timeout.
GAP_STATUS_LMP_ERROR_TRANSACTION_COLLISIONLMP Error Transaction Collision / LL Procedure Collision.
GAP_STATUS_LMP_PDU_NOT_ALLOWLMP PDU Not Allowed.
GAP_STATUS_ENCRYPTION_MODE_NOT_ACCEPTABLEEncryption Mode Not Acceptable.
GAP_STATUS_LINK_KEY_CANNOT_BE_CHANGEDLink Key cannot be Changed.
GAP_STATUS_REQUESTED_QOS_NOT_SUPPORTRequested QoS Not Supported.
GAP_STATUS_INSTANT_PASSEDInstant Passed.
GAP_STATUS_PAIRING_WITH_UNIT_KEY_NOT_SUPPORTPairing With Unit Key Not Supported.
GAP_STATUS_DIFFERENT_TRANSACTION_COLLISIONDifferent Transaction Collision.
GAP_STATUS_QOS_UNACCEPTABLE_PARAMETERQoS Unacceptable Parameter.
GAP_STATUS_QOS_REJECTEDQoS Rejected.
GAP_STATUS_CHANNEL_CLASSIFICATION_NOT_SUPPORTChannel Classification Not Supported.
GAP_STATUS_INSUFFICIENT_SECURITYInsufficient Security.
GAP_STATUS_PARAMETER_OUT_OF_MANDATORY_RANGEParameter Out Of Mandatory Range.
GAP_STATUS_ROLE_SWITCH_PENDINGRole Switch Pending.
GAP_STATUS_RESERVED_SLOT_VIOLATIONReserved Slot Violation.
GAP_STATUS_ROLE_SWITCH_FAILEDRole Switch Failed.
GAP_STATUS_EXTENDED_INQUIRY_RESPONSE_TOO_LARGEExtended Inquiry Response Too Large.
GAP_STATUS_SECURE_SIMPLE_PAIRING_NOT_SUPPORTSecure Simple Pairing Not Supported By Host.
GAP_STATUS_HOST_BUSY_PAIRINGHost Busy - Pairing.
GAP_STATUS_CONNECTION_REJECT_NON_SUITABLE_CHANNELConnection Rejected due to No Suitable Channel Found.
GAP_STATUS_CONTROLLER_BUSYController Busy.
GAP_STATUS_UNACCEPTABLE_CONNECTION_PARAMETERSUnacceptable Connection Parameters.
GAP_STATUS_ADVERTISING_TIMEOUTAdvertising Timeout.
GAP_STATUS_CONNECTION_TERMINATE_MIC_FAILUREConnection Terminated due to MIC Failure.
GAP_STATUS_CONNECTION_FAILED_TO_BE_ESTABLISHEDConnection Failed to be Established.
GAP_STATUS_MAC_CONNECTION_FAILEDMAC Connection Failed.
GAP_STATUS_COARSE_CLOCK_ADJUSTMENT_REJECTEDCoarse Clock Adjustment Rejected but Will Try to Adjust Using Clock Dragging.
GAP_STATUS_TYPE0_SUBMAP_NOT_DEFINEDType0 Submap Not Defined.
GAP_STATUS_UNKNOWN_ADVERTISING_IDENTIFIERUnknown Advertising Identifier.
GAP_STATUS_LIMIT_REACHEDLimit Reached.
GAP_STATUS_OPERATION_CANCELLED_BY_HOSTOperation Cancelled by Host.