Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60

General Description

Contains definitions for all the spec defined error code in Core Spec 5.0, Vol2, Part D.

Related Document: BLE Standard Spec - CoreV5.0

Macros

#define CY_BLE_HCI_SUCCESS   (0x00u)
 Success.
 
#define CY_BLE_HCI_ERROR_UNKNOWN_HCI_COMMAND   (0x01u)
 Unknown HCI Command.
 
#define CY_BLE_HCI_ERROR_NO_CONNECTION   (0x02u)
 Unknown Connection Identifier.
 
#define CY_BLE_HCI_ERROR_HARDWARE_FAILURE   (0x03u)
 Hardware Failure.
 
#define CY_BLE_HCI_ERROR_MEMORY_FULL   (0x07u)
 Memory Capacity Exceeded.
 
#define CY_BLE_HCI_ERROR_CONNECTION_TIMEOUT   (0x08u)
 Connection Timeout.
 
#define CY_BLE_HCI_ERROR_MAX_NUMBER_OF_CONNECTIONS   (0x09u)
 Connection Limit Exceeded.
 
#define CY_BLE_HCI_ERROR_ACL_CONNECTION_ALREADY_EXISTS   (0x0Bu)
 ACL Connection Already Exists.
 
#define CY_BLE_HCI_ERROR_COMMAND_DISALLOWED   (0x0Cu)
 Command Disallowed.
 
#define CY_BLE_HCI_ERROR_INVALID_HCI_COMMAND_PARAMETERS   (0x12u)
 Invalid HCI Command Parameters.
 
#define CY_BLE_HCI_ERROR_OTHER_END_TERMINATED_USER   (0x13u)
 Remote User Terminated Connection.
 
#define CY_BLE_HCI_ERROR_OTHER_END_TERMINATED_LOW_RESOURCES   (0x14u)
 Remote Device Terminated Connection due to Low Resources.
 
#define CY_BLE_HCI_ERROR_OTHER_END_TERMINATED_POWER_OFF   (0x15u)
 Remote Device Terminated Connection due to Power Off.
 
#define CY_BLE_HCI_ERROR_CONNECTION_TERMINATED_BY_LOCAL_HOST   (0x16u)
 Connection Terminated By Local Host.
 
#define CY_BLE_HCI_ERROR_REPEATED_ATTEMPTS   (0x17u)
 Repeated Attempts.
 
#define CY_BLE_HCI_ERROR_CONTROLLER_BUSY   (0x3Au)
 Controller Busy.
 
#define CY_BLE_HCI_ERROR_UNACCEPTEBALE_CONNECTION_INTERVAL   (0x3Bu)
 Unacceptable Connection Parameters.
 
#define CY_BLE_HCI_ERROR_DIRECTED_ADVERTISING_TIMEOUT   (0x3Cu)
 Directed Advertising Timeout.
 
#define CY_BLE_HCI_ERROR_CONNECTION_TREMINATED_DUE_TO_MIC_FAILURE   (0x3Du)
 Connection Terminated due to MIC Failure.
 
#define CY_BLE_HCI_ERROR_CONNECTION_FAILED_TO_BE_ESTABLISHED   (0x3Eu)
 Connection Failed to be Established.
 
#define CY_BLE_HCI_ERROR_MAC_CONNECTION_FAILED   (0x3Fu)
 MAC Connection Failed.
 
#define CY_BLE_HCI_ERROR_COARSE_CLK_ADJUSTMENT   (0x40u)
 Coarse Clock Adjustment Rejected but Will Try to Adjust Using Clock Dragging.
 
#define CY_BLE_HCI_ERROR_TYPE0_SUBMAP_NOT_DEFINED   (0x41u)
 Type0 Submap Not Defined.
 
#define CY_BLE_HCI_ERROR_UNKNOWN_ADV_IDENTIFIER   (0x42u)
 Unknown Advertising Identifier.
 
#define CY_BLE_HCI_ERROR_LIMIT_REACHED   (0x43u)
 Limit Reached.
 
#define CY_BLE_HCI_ERROR_OPERATION_CANCELLED_BY_HOST   (0x44u)
 Operation Cancelled by Host.
 
#define CY_BLE_HW_ERR_SYNC_LOST   0x01
 HCI transport sync lost error.
 
#define CY_BLE_HW_ERR_UNKNOWN_PKT   0x02
 HCI transport unknown pkt.
 
#define CY_BLE_HW_ERR_LEN_EXCEEDED   0x03
 HCI transport pkt length exceeded.
 
#define CY_BLE_HW_ERR_CMD_NO_BUFFER   0X04
 HCI transport no cmd pkt buffer available.
 
#define CY_BLE_HW_ERR_ACL_NO_BUFFER   0X05
 HCI transport no acl pkt buffer available.
 
#define CY_BLE_HW_ERR_SYNC_NO_BUFFER   0X06
 HCI transport no sync pkt buffer available.
 
#define CY_BLE_HW_ERR_CMD_LEN_EXCEEDED   0X07
 HCI transport cmd pkt length exceeded.
 
#define CY_BLE_HW_ERR_ACL_LEN_EXCEEDED   0X08
 HCI transport acl pkt length exceeded.
 
#define CY_BLE_HW_ERR_SYNC_LEN_EXCEEDED   0X09
 HCI transport sync pkt length exceeded.
 
#define CY_BLE_HW_ERR_WRNG_ACL_DATA_PARAM   0x0A
 HCI transport wrong parameter for acl pkt.
 
#define CY_BLE_HW_ERR_WRNG_SYNC_DATA_PARAM   0X0B
 HCI transport wrong parameter for sync pkt.
 
#define CY_BLE_HW_ERR_HW_INIT_FAILURE   0x0C
 HW init failure.
 
#define CY_BLE_HW_ERR_PILO_CALIB_FAILURE   0x0D
 HCI_ERR_HW_PILO_CALIB_FAILURE PILO(LFCLK) Calibration failed.