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
Macro | Description |
---|---|
GAP_STATUS_SUCCESS | Successful status. |
GAP_STATUS_UNKNOWN_HCI_COMMAND | Unknown HCI Command. |
GAP_STATUS_UNKNOWN_CONNECTION_IDENTIFIER | Unknown Connection Identifier. |
GAP_STATUS_HARDWARE_FAILURE | Hardware Failure. |
GAP_STATUS_PAGE_TIMEOUT | Page Timeout. |
GAP_STATUS_AUTHENTICATION_FAILURE | Authentication Failure. |
GAP_STATUS_PIN_KEY_MISSING | PIN or Key Missing. |
GAP_STATUS_MEMORY_CAPACITY_EXCEEDED | Memory Capacity Exceeded. |
GAP_STATUS_CONNECTION_TIMEOUT | Connection Timeout. |
GAP_STATUS_CONNECTION_LIMIT_EXCEEDED | Connection Limit Exceeded. |
GAP_STATUS_SYNCHRONOUS_CONNECTION_LIMIT_EXCEEDED | Synchronous Connection Limit To A Device Exceeded. |
GAP_STATUS_CONNECTION_ALREADY_EXISTS | Connection Already Exists. |
GAP_STATUS_COMMAND_DISALLOWED | Command Disallowed. |
GAP_STATUS_REJECTED_DUE_TO_LIMITED_RESOURCES | Connection Rejected due to Limited Resources. |
GAP_STATUS_REJECTED_DUE_TO_SECURITY_REASONS | Connection Rejected due To Security Reasons. |
GAP_STATUS_REJECTED_DUE_TO_UNACCEPTABLE_BDADDR | Connection Rejected due to Unacceptable BD_ADDR. |
GAP_STATUS_CONNECTION_ACCEPT_TIMEOUT | Connection Accept Timeout Exceeded. |
GAP_STATUS_UNSUPPORTED_FEATURE | Unsupported Feature or Parameter Value. |
GAP_STATUS_INVALID_HCI_COMMAND_PARAMETERS | Invalid HCI Command Parameters. |
GAP_STATUS_REMOTE_TML_CONN | Remote User Terminated Connection. |
GAP_STATUS_REMOTE_TML_CONN_LOW_RESOURCE | Remote Device Terminated Connection due to Low Resources. |
GAP_STATUS_REMOTE_TML_CONN_POWEROFF | Remote Device Terminated Connection due to Power Off. |
GAP_STATUS_LOCAL_HOST_TERMINATE_CONNECTION | Connection Terminated By Local Host. |
GAP_STATUS_REPEATED_ATTEMPTS | Repeated Attempts. |
GAP_STATUS_PAIRING_NOT_ALLOWED | Pairing Not Allowed. |
GAP_STATUS_UNKNOWN_LMP_PDU | Unknown LMP PDU. |
GAP_STATUS_UNSUPPORTED_REMOTE_FEATURE | Unsupported Remote Feature / Unsupported LMP Feature. |
GAP_STATUS_SCO_OFFSET_REJECT | SCO Offset Rejected. |
GAP_STATUS_SCO_INTEVAL_REJECT | SCO Interval Rejected. |
GAP_STATUS_SCO_AIR_MODE_REJECT | SCO Air Mode Rejected. |
GAP_STATUS_INVALID_LMP_PARAMETERS | Invalid LMP Parameters / Invalid LL Parameters. |
GAP_STATUS_UNSPECIFIED_ERROR | Unspecified Error. |
GAP_STATUS_UNSUPPORTED_LMP_PARAMETERS | Unsupported LMP Parameter Value / Unsupported LL Parameter Value. |
GAP_STATUS_ROLE_CHANGE_NOT_ALLOW | Role Change Not Allowed. |
GAP_STATUS_LMP_RESPONSE_TIMEOUT | LMP Response Timeout / LL Response Timeout. |
GAP_STATUS_LMP_ERROR_TRANSACTION_COLLISION | LMP Error Transaction Collision / LL Procedure Collision. |
GAP_STATUS_LMP_PDU_NOT_ALLOW | LMP PDU Not Allowed. |
GAP_STATUS_ENCRYPTION_MODE_NOT_ACCEPTABLE | Encryption Mode Not Acceptable. |
GAP_STATUS_LINK_KEY_CANNOT_BE_CHANGED | Link Key cannot be Changed. |
GAP_STATUS_REQUESTED_QOS_NOT_SUPPORT | Requested QoS Not Supported. |
GAP_STATUS_INSTANT_PASSED | Instant Passed. |
GAP_STATUS_PAIRING_WITH_UNIT_KEY_NOT_SUPPORT | Pairing With Unit Key Not Supported. |
GAP_STATUS_DIFFERENT_TRANSACTION_COLLISION | Different Transaction Collision. |
GAP_STATUS_QOS_UNACCEPTABLE_PARAMETER | QoS Unacceptable Parameter. |
GAP_STATUS_QOS_REJECTED | QoS Rejected. |
GAP_STATUS_CHANNEL_CLASSIFICATION_NOT_SUPPORT | Channel Classification Not Supported. |
GAP_STATUS_INSUFFICIENT_SECURITY | Insufficient Security. |
GAP_STATUS_PARAMETER_OUT_OF_MANDATORY_RANGE | Parameter Out Of Mandatory Range. |
GAP_STATUS_ROLE_SWITCH_PENDING | Role Switch Pending. |
GAP_STATUS_RESERVED_SLOT_VIOLATION | Reserved Slot Violation. |
GAP_STATUS_ROLE_SWITCH_FAILED | Role Switch Failed. |
GAP_STATUS_EXTENDED_INQUIRY_RESPONSE_TOO_LARGE | Extended Inquiry Response Too Large. |
GAP_STATUS_SECURE_SIMPLE_PAIRING_NOT_SUPPORT | Secure Simple Pairing Not Supported By Host. |
GAP_STATUS_HOST_BUSY_PAIRING | Host Busy - Pairing. |
GAP_STATUS_CONNECTION_REJECT_NON_SUITABLE_CHANNEL | Connection Rejected due to No Suitable Channel Found. |
GAP_STATUS_CONTROLLER_BUSY | Controller Busy. |
GAP_STATUS_UNACCEPTABLE_CONNECTION_PARAMETERS | Unacceptable Connection Parameters. |
GAP_STATUS_ADVERTISING_TIMEOUT | Advertising Timeout. |
GAP_STATUS_CONNECTION_TERMINATE_MIC_FAILURE | Connection Terminated due to MIC Failure. |
GAP_STATUS_CONNECTION_FAILED_TO_BE_ESTABLISHED | Connection Failed to be Established. |
GAP_STATUS_MAC_CONNECTION_FAILED | MAC Connection Failed. |
GAP_STATUS_COARSE_CLOCK_ADJUSTMENT_REJECTED | Coarse Clock Adjustment Rejected but Will Try to Adjust Using Clock Dragging. |
GAP_STATUS_TYPE0_SUBMAP_NOT_DEFINED | Type0 Submap Not Defined. |
GAP_STATUS_UNKNOWN_ADVERTISING_IDENTIFIER | Unknown Advertising Identifier. |
GAP_STATUS_LIMIT_REACHED | Limit Reached. |
GAP_STATUS_OPERATION_CANCELLED_BY_HOST | Operation Cancelled by Host. |