Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60

General Description

Contains the GATT specific definitions and data structures used in the GATT APIs.

Data Structures

struct  cy_stc_ble_disc_srvc_info_t
 Service data received with read by group type response during discovery process. More...
 
struct  cy_stc_ble_disc_srvc128_info_t
 Service data received with read by group type response during discovery process including 128 bit UUID. More...
 
struct  cy_stc_ble_disc_srv_info_t
 Service data that includes data received with read by group type response and connHandle. More...
 
struct  cy_stc_ble_disc_incl_info_t
 Included service data received with read by type response during discovery process. More...
 
struct  cy_stc_ble_disc_char_info_t
 Characteristic data received with read by type response during discovery process. More...
 
struct  cy_stc_ble_srvr_char_info_t
 Characteristic Attribute handle + properties structure. More...
 
struct  cy_stc_ble_disc_descr_info_t
 Characteristic descriptor data received with find info response during discovery process. More...
 
struct  cy_stc_ble_gatts_t
 Structure with Generic Attribute Service (GATTS) attribute handles. More...
 
struct  cy_stc_ble_disc_range_info_t
 Structure for return a possible range of the current Characteristic descriptor. More...
 
struct  cy_stc_ble_gattc_t
 Structure with Discovered Attributes Information of Generic Attribute Service (GATTS) More...
 
struct  cy_stc_ble_uuid128_t
 GATT 128 Bit UUID type. More...
 
union  cy_ble_uuid_t
 GATT UUID type. More...
 
struct  cy_stc_ble_gatt_value_t
 Abstracts Variable Length Values for GATT. More...
 
struct  cy_stc_ble_gatt_handle_value_pair_t
 GATT handle - value pair type. More...
 
struct  cy_stc_ble_gatt_attr_handle_range_t
 GATT Attribute Handle Range type. More...
 
struct  cy_stc_ble_gatt_xchg_mtu_param_t
 GATT MTU exchange parameter type. More...
 
struct  cy_stc_ble_gatt_handle_value_offset_param_t
 GATT Handle Value Pair along with offset type. More...
 
struct  cy_stc_ble_gatt_write_param_t
 Write parameter. More...
 
struct  cy_stc_ble_gatt_err_info_t
 Error information. More...
 
struct  cy_stc_ble_gatt_err_param_t
 Error parameter. More...
 
struct  cy_stc_ble_gatt_prep_write_param_t
 Prepare Write parameter. More...
 
struct  cy_stc_ble_prepare_write_request_memory_t
 memory request parameters for prepare write request More...
 
struct  cy_stc_ble_gattc_stop_cmd_param_t
 Stop command parameter. More...
 
struct  cy_stc_ble_gattc_read_by_group_req_t
 GATT Discover primary service request parameter. More...
 
struct  cy_stc_ble_gattc_find_by_type_value_req_t
 GATT Discover primary service by UUID request parameter. More...
 
struct  cy_stc_ble_gattc_read_by_type_req_t
 GATT read by type request parameter. More...
 
struct  cy_stc_ble_gattc_read_req_t
 Read request parameter. More...
 
struct  cy_stc_ble_gattc_handle_offset_pair_t
 Handle-offset pair parameter. More...
 
struct  cy_stc_ble_gattc_read_blob_req_t
 Read blob request parameter. More...
 
struct  cy_stc_ble_gattc_handle_list_t
 GATT handle list type. More...
 
struct  cy_stc_ble_gattc_read_mult_req_t
 Read multiple request parameter. More...
 
struct  cy_stc_ble_gattc_reliable_write_req_t
 Prepare Write request parameter for reliable write request. More...
 
struct  cy_stc_ble_gattc_exec_write_req_t
 Execute Write request parameter. More...
 
struct  cy_stc_ble_gattc_read_rsp_param_t
 Read response parameter type received from server. More...
 
struct  cy_stc_ble_gattc_grp_attr_data_list_t
 Data Element for Group Response. More...
 
struct  cy_stc_ble_gattc_read_by_grp_rsp_param_t
 Read By Group Response received from Server. More...
 
struct  cy_stc_ble_gattc_find_by_type_rsp_param_t
 GATT find by type value response received from server. More...
 
struct  cy_stc_ble_gattc_handle_uuid_list_param_t
 GATT list of Handle UUID pair parameter type. More...
 
struct  cy_stc_ble_gattc_find_info_rsp_param_t
 GATT find info response received from Server. More...
 
struct  cy_stc_ble_gattc_exec_write_rsp_param_t
 Execute Write result. More...
 
struct  cy_stc_ble_gattc_long_procedure_end_param_t
 Long procedure end indication event parameter. More...
 
struct  cy_stc_ble_gatts_att_gen_val_len_t
 Attribute value type used in GATT database. More...
 
struct  cy_stc_ble_gatts_att_pack_val_len_t
 Attribute value type used in the GATT database. More...
 
union  cy_stc_ble_gatts_att_value_t
 Attribute value type used in GATT database. More...
 
struct  cy_stc_ble_gatts_db_t
 GATT database structure used in the GATT Server. More...
 
struct  cy_stc_ble_gatts_db_info_t
 GATT database information parameters. More...
 
struct  cy_stc_ble_gatts_db_attr_val_info_t
 GATT database attribute value parameters. More...
 
struct  cy_stc_ble_gatts_db_attr_enable_info_t
 GATT database attribute enable parameters. More...
 
struct  cy_stc_ble_gatts_db_authorize_info_t
 GATT database authorize parameters. More...
 
struct  cy_stc_ble_gatts_prep_write_req_param_t
 Prepare write request parameter received from Client. More...
 
struct  cy_stc_ble_gatts_exec_write_req_t
 Execute Write result. More...
 
struct  cy_stc_ble_gatts_char_val_read_req_t
 Event parameters for characteristic read value access event generated by the BLE Stack upon an access of Characteristic value read for the characteristic definition that CY_BLE_GATT_DB_ATTR_CHAR_VAL_RD_EVENT property set. More...
 

Typedefs

typedef uint16_t cy_ble_uuid16_t
 GATT 16 Bit UUID.
 
typedef uint16_t cy_ble_gatt_db_attr_handle_t
 GATT BD Attribute Handle Type.
 
typedef cy_stc_ble_gattc_read_by_group_req_t cy_stc_ble_gattc_find_info_req_t
 GATT find info request parameter.
 
typedef cy_stc_ble_gatt_write_param_t cy_stc_ble_gattc_write_req_t
 Write request parameter.
 
typedef cy_stc_ble_gatt_prep_write_param_t cy_stc_ble_gattc_prep_write_req_t
 Prepare Write request parameter.
 
typedef cy_stc_ble_gattc_write_req_t cy_stc_ble_gattc_write_cmd_req_t
 Write command request to be sent to Server.
 
typedef cy_stc_ble_gattc_write_req_t cy_stc_ble_gattc_signed_write_cmd_req_t
 Signed Write command request to be sent to Server.
 
typedef cy_stc_ble_gattc_stop_cmd_param_t cy_stc_ble_gattc_confirmation_req_t
 Signed Write command request to be sent to Server.
 
typedef cy_stc_ble_gattc_write_req_t cy_stc_ble_gattc_handle_value_ntf_param_t
 Handle value notification data received from server.
 
typedef cy_stc_ble_gattc_write_req_t cy_stc_ble_gattc_handle_value_ind_param_t
 GATT handle value indication parameter received from server type.
 
typedef cy_stc_ble_gattc_read_by_grp_rsp_param_t cy_stc_ble_gattc_read_by_type_rsp_param_t
 GATT read by type response received from server.
 
typedef cy_stc_ble_gattc_exec_write_req_t cy_stc_ble_gattc_exec_write_rsp_t
 Execute Write response parameter.
 
typedef cy_stc_ble_gatts_db_attr_enable_info_t cy_stc_ble_gatts_db_attr_disable_info_t
 GATT database attribute disable parameters.
 
typedef cy_stc_ble_gatts_att_value_t cy_stc_ble_char_ext_property_t
 All descriptors following a characteristic value definition must be in following order: More...
 
typedef cy_stc_ble_gatts_att_value_t cy_stc_ble_char_user_description_t
 Characteristic User Description.
 
typedef cy_stc_ble_gatts_att_value_t cy_stc_ble_client_char_config_t
 Client Characteristic Configuration.
 
typedef cy_stc_ble_gatts_att_value_t cy_stc_ble_server_char_config_t
 Server Characteristic Configuration.
 
typedef cy_stc_ble_gatts_att_value_t cy_stc_ble_char_present_fmt_t
 Characteristic Presentation Format.
 
typedef cy_stc_ble_gatts_att_value_t cy_stc_ble_char_aggregate_fmt_t
 Characteristic Aggregate Format.
 
typedef cy_stc_ble_gatt_write_param_t cy_stc_ble_gatts_handle_value_ntf_t
 Notification parameter.
 
typedef cy_stc_ble_gatt_write_param_t cy_stc_ble_gatts_handle_value_ind_t
 Indication parameter.
 
typedef cy_stc_ble_gatt_write_param_t cy_stc_ble_gatts_write_cmd_req_param_t
 Write command request parameter received from Client.
 
typedef cy_stc_ble_gatt_write_param_t cy_stc_ble_gatts_signed_write_cmd_req_param_t
 Signed Write command request parameter received from Client.
 

Enumerations

enum  cy_en_ble_gatt_pdu_t {
  CY_BLE_GATT_ERROR_RSP = 0x01u,
  CY_BLE_GATT_XCNHG_MTU_REQ,
  CY_BLE_GATT_XCHNG_MTU_RSP,
  CY_BLE_GATT_FIND_INFO_REQ,
  CY_BLE_GATT_FIND_INFO_RSP,
  CY_BLE_GATT_FIND_BY_TYPE_VALUE_REQ,
  CY_BLE_GATT_FIND_BY_TYPE_VALUE_RSP,
  CY_BLE_GATT_READ_BY_TYPE_REQ,
  CY_BLE_GATT_READ_BY_TYPE_RSP,
  CY_BLE_GATT_READ_REQ,
  CY_BLE_GATT_READ_RSP,
  CY_BLE_GATT_READ_BLOB_REQ,
  CY_BLE_GATT_READ_BLOB_RSP,
  CY_BLE_GATT_READ_MULTIPLE_REQ,
  CY_BLE_GATT_READ_MULTIPLE_RSP,
  CY_BLE_GATT_READ_BY_GROUP_REQ,
  CY_BLE_GATT_READ_BY_GROUP_RSP,
  CY_BLE_GATT_WRITE_REQ,
  CY_BLE_GATT_WRITE_RSP,
  CY_BLE_GATT_WRITE_CMD = 0x52u,
  CY_BLE_GATT_PREPARE_WRITE_REQ = 0x16u,
  CY_BLE_GATT_PREPARE_WRITE_RSP,
  CY_BLE_GATT_EXECUTE_WRITE_REQ,
  CY_BLE_GATT_EXECUTE_WRITE_RSP,
  CY_BLE_GATT_HANDLE_VALUE_NTF = 0x1Bu,
  CY_BLE_GATT_HANDLE_VALUE_IND = 0x1Du,
  CY_BLE_GATT_HANDLE_VALUE_CNF = 0x1Eu,
  CY_BLE_GATT_SIGNED_WRITE_CMD = 0xD2u,
  CY_BLE_GATT_UNKNOWN_PDU_IND = 0xFFu
}
 ATT Opcode that has resulted in the error. More...
 
enum  cy_en_ble_gatt_err_code_t {
  CY_BLE_GATT_ERR_NONE,
  CY_BLE_GATT_ERR_INVALID_HANDLE = 0x0001u,
  CY_BLE_GATT_ERR_READ_NOT_PERMITTED,
  CY_BLE_GATT_ERR_WRITE_NOT_PERMITTED,
  CY_BLE_GATT_ERR_INVALID_PDU,
  CY_BLE_GATT_ERR_INSUFFICIENT_AUTHENTICATION,
  CY_BLE_GATT_ERR_REQUEST_NOT_SUPPORTED,
  CY_BLE_GATT_ERR_INVALID_OFFSET,
  CY_BLE_GATT_ERR_INSUFFICIENT_AUTHORIZATION,
  CY_BLE_GATT_ERR_PREPARE_WRITE_QUEUE_FULL,
  CY_BLE_GATT_ERR_ATTRIBUTE_NOT_FOUND,
  CY_BLE_GATT_ERR_ATTRIBUTE_NOT_LONG,
  CY_BLE_GATT_ERR_INSUFFICIENT_ENC_KEY_SIZE,
  CY_BLE_GATT_ERR_INVALID_ATTRIBUTE_LEN,
  CY_BLE_GATT_ERR_UNLIKELY_ERROR,
  CY_BLE_GATT_ERR_INSUFFICIENT_ENCRYPTION,
  CY_BLE_GATT_ERR_UNSUPPORTED_GROUP_TYPE,
  CY_BLE_GATT_ERR_INSUFFICIENT_RESOURCE = 0x11u,
  CY_BLE_GATT_ERR_HEART_RATE_CONTROL_POINT_NOT_SUPPORTED = 0x80u,
  CY_BLE_GATT_ERR_USER_DATA_ACCESS_NOT_PERMITTED = 0x80u,
  CY_BLE_GATT_ERR_CPS_INAPPROPRIATE_CONNECTION_PARAMETERS = 0x80u,
  CY_BLE_GATT_ERR_HTS_OUT_OF_RANGE = 0x80u,
  CY_BLE_GATTS_ERR_PROCEDURE_ALREADY_IN_PROGRESS = 0x80u,
  CY_BLE_GATT_ERR_OP_CODE_NOT_SUPPORTED = 0x80u,
  CY_BLE_GATT_ERR_MISSING_CRC = 0x80u,
  CY_BLE_GATTS_ERR_CCCD_IMPROPERLY_CONFIGURED = 0x81u,
  CY_BLE_GATTS_ERR_OPERATION_FAILED = 0x81u,
  CY_BLE_GATT_ERR_INVALID_CRC = 0x81u,
  CY_BLE_GATTS_ERR_HPS_INVALID_REQUEST = 0x81u,
  CY_BLE_GATTS_ERR_NETWORK_NOT_AVAILABLE = 0x82u,
  CY_BLE_GATT_ERR_ANS_COMMAND_NOT_SUPPORTED = 0xA0u,
  CY_BLE_GATT_ERR_ANCS_UNKNOWN_COMMAND = 0xA0u,
  CY_BLE_GATT_ERR_ANCS_INVALID_COMMAND = 0xA1u,
  CY_BLE_GATT_ERR_ANCS_INVALID_PARAMETER = 0xA2u,
  CY_BLE_GATT_ERR_ANCS_ACTION_FAILED = 0xA3u,
  CY_BLE_GATT_ERR_CCCD_IMPROPERLY_CONFIGURED = 0xFDu,
  CY_BLE_GATT_ERR_PROCEDURE_ALREADY_IN_PROGRESS = 0xFEu,
  CY_BLE_GATT_ERR_OUT_OF_RANGE = 0xFFu
}
 GATT error codes. More...
 

Typedef Documentation

◆ cy_stc_ble_char_ext_property_t

All descriptors following a characteristic value definition must be in following order:

  1. Characteristic Extended Property (If any)
  2. Characteristic User Description (If any)
  3. Client Characteristic Configuration (If any)
  4. Server Characteristic Configuration (If any)
  5. Characteristic Presentation Format (If any)
  6. Characteristic Aggregate Format (If any)Characteristic Extended Property

Enumeration Type Documentation

◆ cy_en_ble_gatt_pdu_t

ATT Opcode that has resulted in the error.

Enumerator
CY_BLE_GATT_ERROR_RSP 

Error Response PDU.

CY_BLE_GATT_XCNHG_MTU_REQ 

Exchange GATT MTU Request PDU.

CY_BLE_GATT_XCHNG_MTU_RSP 

Exchange GATT MTU Response PDU.

CY_BLE_GATT_FIND_INFO_REQ 

Find Information Request PDU.

CY_BLE_GATT_FIND_INFO_RSP 

Find Information Response PDU.

CY_BLE_GATT_FIND_BY_TYPE_VALUE_REQ 

Find By Type Value Request PDU.

CY_BLE_GATT_FIND_BY_TYPE_VALUE_RSP 

Find By Type Value Response PDU.

CY_BLE_GATT_READ_BY_TYPE_REQ 

Read By Type Request PDU.

CY_BLE_GATT_READ_BY_TYPE_RSP 

Read By Type Response PDU.

CY_BLE_GATT_READ_REQ 

Read Request PDU.

CY_BLE_GATT_READ_RSP 

Read Response PDU.

CY_BLE_GATT_READ_BLOB_REQ 

Read Blob Request PDU.

CY_BLE_GATT_READ_BLOB_RSP 

Read Blob Response PDU.

CY_BLE_GATT_READ_MULTIPLE_REQ 

Read Multiple Request PDU.

CY_BLE_GATT_READ_MULTIPLE_RSP 

Read Multiple Response PDU.

CY_BLE_GATT_READ_BY_GROUP_REQ 

Read Group Type Request PDU.

CY_BLE_GATT_READ_BY_GROUP_RSP 

Read Group Type Response PDU.

CY_BLE_GATT_WRITE_REQ 

Write Request PDU.

CY_BLE_GATT_WRITE_RSP 

Write Response PDU.

CY_BLE_GATT_WRITE_CMD 

Write Command PDU.

CY_BLE_GATT_PREPARE_WRITE_REQ 

Prepare Write Request PDU.

CY_BLE_GATT_PREPARE_WRITE_RSP 

Prepare Write Response PDU.

CY_BLE_GATT_EXECUTE_WRITE_REQ 

Execute Write Request PDU.

CY_BLE_GATT_EXECUTE_WRITE_RSP 

Execute Write Response PDU.

CY_BLE_GATT_HANDLE_VALUE_NTF 

Handle Value Notification PDU.

CY_BLE_GATT_HANDLE_VALUE_IND 

Handle Value Indication PDU.

CY_BLE_GATT_HANDLE_VALUE_CNF 

Handle Value Confirmation PDU.

CY_BLE_GATT_SIGNED_WRITE_CMD 

Signed Write Command PDU.

CY_BLE_GATT_UNKNOWN_PDU_IND 

Unknown or Unhandled PDU.

◆ cy_en_ble_gatt_err_code_t

GATT error codes.

Enumerator
CY_BLE_GATT_ERR_NONE 

No Error.

CY_BLE_GATT_ERR_INVALID_HANDLE 

Invalid Handle error code is used when the ATT handle in the ATT request PDU is invalid.

CY_BLE_GATT_ERR_READ_NOT_PERMITTED 

Read Not Permitted error code is used when reading the value of an ATT handle is not permitted on the ATT server.

CY_BLE_GATT_ERR_WRITE_NOT_PERMITTED 

Write Not Permitted error code is used when writing the value of an ATT handle is not permitted on the ATT Server.

CY_BLE_GATT_ERR_INVALID_PDU 

Invalid PDU error code is used when the format of the PDU sent from the ATT Client is incorrect.

CY_BLE_GATT_ERR_INSUFFICIENT_AUTHENTICATION 

Insufficient Authentication error code is used when an access to a handle is attempted on a unauthenticated link but the attribute requires that the link be authenticated before a client can access it.

CY_BLE_GATT_ERR_REQUEST_NOT_SUPPORTED 

Request not supported error code is used when the server does not support the processing of an ATT request sent from the client.

CY_BLE_GATT_ERR_INVALID_OFFSET 

Invalid Offset error code is used when the offset sent by the client in the Read blob/Prepare Write Request is invalid with respect to the length of the value in the server.

CY_BLE_GATT_ERR_INSUFFICIENT_AUTHORIZATION 

Insufficient Authorization error code is used when the ATT server does not authorize the client and hence prohibits the client from reading the handle value.

CY_BLE_GATT_ERR_PREPARE_WRITE_QUEUE_FULL 

Write queue full error code is used when there is no more space left in the prepare write queue on the server to entertain any more prepare writes from a client.

CY_BLE_GATT_ERR_ATTRIBUTE_NOT_FOUND 

Attribute not found error is used when the ATT server cannot find any handle that belongs to the Attribute type in the given range of handles that the client specified in its request.

This error code can be sent to the client in response to the following request PDUs - Find Information, Find by Type Value, Read by Type, and Read by Group Type requests.

CY_BLE_GATT_ERR_ATTRIBUTE_NOT_LONG 

Attribute Not Long error code is used when the client tries to read or write an attribute handle's value that cannot be read or written through Read Blob or multiple prepare write requests.

CY_BLE_GATT_ERR_INSUFFICIENT_ENC_KEY_SIZE 

Insufficient encryption key size error code is used when the client tries to access an Attribute Handle's Value for which the link must be encrypted with a key of certain minimum key size and the current link is encrypted with a key of smaller size than the minimum required.

CY_BLE_GATT_ERR_INVALID_ATTRIBUTE_LEN 

Invalid Attribute length error code is used when the attribute value's length is not correct to process the request containing the value.

CY_BLE_GATT_ERR_UNLIKELY_ERROR 

Unlikely error is used when the processing of the attribute request has encountered an error that is not covered by any other error code.

CY_BLE_GATT_ERR_INSUFFICIENT_ENCRYPTION 

Insufficient encryption error code is used when the client tries to read or write an attribute handle that requires the link to be encrypted and the link is currently not encrypted.

CY_BLE_GATT_ERR_UNSUPPORTED_GROUP_TYPE 

Unsupported Group Type error code is used when the attribute type requested in the Read by Group Type request is not a valid grouping attribute on the server.

CY_BLE_GATT_ERR_INSUFFICIENT_RESOURCE 

Insufficient Resources error code is used when the ATT server does not have enough resources such as memory, etc., to process the request from the client.

CY_BLE_GATT_ERR_HEART_RATE_CONTROL_POINT_NOT_SUPPORTED 

Other ATT Error Codes - Reserved: 0x12 to 0x7F are reserved for future use.

Application Specific Error Code Range: 0x80 to 0x9F Reserved: 0xA0 to 0xDF Common Profile & Service Error Code : 0xE0 to 0xFF Heart Rate Control Point Not Supported error code is used when a unsupported code is written into Heart Rate service Control Point characteristic.

CY_BLE_GATT_ERR_USER_DATA_ACCESS_NOT_PERMITTED 

The user data access is not permitted (i.e., the user has not given consent to access the data).

CY_BLE_GATT_ERR_CPS_INAPPROPRIATE_CONNECTION_PARAMETERS 

The notifications of the Cycling Power Vector characteristic cannot be sent due to inappropriate connection parameters.

CY_BLE_GATT_ERR_HTS_OUT_OF_RANGE 

The value is considered invalid and outside of the range allowed by the characteristic.

CY_BLE_GATTS_ERR_PROCEDURE_ALREADY_IN_PROGRESS 

Procedure Already in Progress error code is used when a profile or service request cannot be serviced because an operation that has been previously triggered is still in progress.

CY_BLE_GATT_ERR_OP_CODE_NOT_SUPPORTED 

The Op Code Not Supported error code is used when an unsupported Op Code is written into the Control Point characteristic.

CY_BLE_GATT_ERR_MISSING_CRC 

The Missing CRC error code is used when the CRC is missing in the incoming characteristic value.

CY_BLE_GATTS_ERR_CCCD_IMPROPERLY_CONFIGURED 

Client Characteristic Configuration Descriptor Improperly Configured error code is used when a Client Characteristic Configuration descriptor is not configured according to the requirements of the profile or service.

CY_BLE_GATTS_ERR_OPERATION_FAILED 

The Operation Failed error code is used when the device is unable to complete a procedure for any reason.

CY_BLE_GATT_ERR_INVALID_CRC 

The Invalid CRC error code is used when the CRC is invalid in the incoming characteristic value.

CY_BLE_GATTS_ERR_HPS_INVALID_REQUEST 

An HTTP Control Point request cannot be serviced because content of the URI, the HTTP Headers, or the HTTP Entity Body characteristics are not set correctly.

CY_BLE_GATTS_ERR_NETWORK_NOT_AVAILABLE 

Network connection not available.

CY_BLE_GATT_ERR_ANS_COMMAND_NOT_SUPPORTED 

Command Not Supported is returned by the Alert Notification Server when the Client sends an incorrect value of the Command ID or Category ID of to the Alert Notification Control Point Characteristic.

CY_BLE_GATT_ERR_ANCS_UNKNOWN_COMMAND 

Unknown command error code is returned by the Apple Notification Center Server when the Client sends unknown command value of the Apple Notification Center Service Control Point Characteristic.

CY_BLE_GATT_ERR_ANCS_INVALID_COMMAND 

Invalid command error code is returned by the Apple Notification Center Server when the Client sends an invalid command value of the Apple Notification Center Service Control Point Characteristic.

CY_BLE_GATT_ERR_ANCS_INVALID_PARAMETER 

Invalid parameter error code is returned by the Apple Notification Center Server when the Client sends an invalid parameter value of the Apple Notification Center Service Control Point Characteristic.

CY_BLE_GATT_ERR_ANCS_ACTION_FAILED 

Action failed error code is returned by the Apple Notification Center Server when some Apple Notification Center Service Control Point Characteristic command processing goes wrong.

CY_BLE_GATT_ERR_CCCD_IMPROPERLY_CONFIGURED 

Client Characteristic Configuration Descriptor Improperly Configured error code is used when a Client Characteristic Configuration descriptor is not configured according to the requirements of the profile or service.

CY_BLE_GATT_ERR_PROCEDURE_ALREADY_IN_PROGRESS 

The Procedure Already in Progress error code is used when a profile or service request cannot be serviced because an operation that has been previously triggered is still in progress.

CY_BLE_GATT_ERR_OUT_OF_RANGE 

Out of Range error code is used when an attribute value is out of range as defined by a profile or service specification.