Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
All Data Structures Functions Variables Typedefs Enumerations Enumerator Modules Pages

General Description

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

Data Structures

struct  cy_stc_ble_gaps_t
 Structure with Generic Access Profile Service (GAPS) attribute handles. More...
 
struct  cy_stc_ble_gapc_t
 GAP Service Characteristics server's GATT DB handles structure type. More...
 
struct  cy_stc_ble_gaps_config_t
 GAP Service configuration structure (server) More...
 
struct  cy_stc_ble_gapc_config_t
 GAP Service Configuration structure (client) More...
 
struct  cy_stc_ble_gapp_adv_params_t
 GAPP advertising configuration parameters structure. More...
 
struct  cy_stc_ble_gapc_scan_params_t
 GAPC advertising configuration parameters structure. More...
 
struct  cy_stc_ble_app_flash_param_t
 Store BLE Application Data parameter into flash. More...
 
struct  cy_stc_ble_gap_oob_info_t
 Out of Band Parameters Information. More...
 
struct  cy_stc_ble_gap_sec_req_t
 Security requirement of local device used in strict pairing. More...
 
struct  cy_stc_ble_gap_disconnect_info_t
 Disconnect command information. More...
 
struct  cy_stc_ble_gap_peer_addr_info_t
 Peer Bluetooth Device Address information. More...
 
struct  cy_stc_ble_gap_sec_key_param_t
 Security keys information. More...
 
struct  cy_stc_ble_gap_sec_key_info_t
 Security information. More...
 
struct  cy_stc_ble_gap_bd_addr_info_t
 Bluetooth Device Address information. More...
 
struct  cy_stc_ble_gap_auth_info_t
 Authentication Parameters Information. More...
 
struct  cy_stc_ble_gap_auth_pk_info_t
 Authentication Passkey Information. More...
 
struct  cy_stc_ble_gap_auth_fix_pk_info_t
 Fixed Passkey Parameters Information. More...
 
struct  cy_stc_ble_gap_conn_update_param_info_t
 GAP Connection Update parameters. More...
 
struct  cy_stc_ble_gap_sc_mode_info_t
 Secure connection only mode parameters. More...
 
struct  cy_stc_ble_gap_sc_kp_notif_info_t
 Secure connection key press notification parameters. More...
 
struct  cy_stc_ble_gap_sc_oob_info_t
 Secure connection key press notification parameters. More...
 
struct  cy_stc_ble_gap_bonded_device_list_info_t
 Bluetooth Bonded Device Address list. More...
 
struct  cy_stc_ble_gap_smp_local_p256_keys_t
 SMP P-256 public-private key pair. More...
 
struct  cy_stc_ble_gap_ce_length_param_info_t
 GAP Connection Update parameters. More...
 
struct  cy_stc_ble_gap_set_conn_priority_param_t
 GAP Connection Update parameters. More...
 
struct  cy_stc_ble_gap_conn_param_updated_in_controller_t
 Current Connection Parameters used by controller. More...
 
struct  cy_stc_ble_gap_connected_param_t
 Gap Connected Parameters. More...
 
struct  cy_stc_ble_gap_oob_data_param_t
 OOB data. More...
 
struct  cy_stc_ble_gap_enhance_conn_complete_param_t
 Current Connection Parameters used by controller. More...
 
struct  cy_stc_ble_gap_disconnect_param_t
 Disconnection Parameters. More...
 
struct  cy_stc_ble_gap_encrypt_change_param_t
 Encryption Change Parameters. More...
 
struct  cy_stc_ble_gapc_disc_info_t
 Discovery (scan) parameter. More...
 
struct  cy_stc_ble_gapc_conn_info_t
 Connection parameter. More...
 
struct  cy_stc_ble_gapc_resolve_peer_info_t
 Resolve peer device parameter. More...
 
struct  cy_stc_ble_gapc_peer_bd_addr_info_t
 Set peer BD Address parameter. More...
 
struct  cy_stc_ble_gapc_adv_report_param_t
 Advertisement report parameter. More...
 
struct  cy_stc_ble_gapc_direct_adv_report_param_t
 Direct Advertising Report received by GAP Central. More...
 
struct  cy_stc_ble_gapp_disc_param_t
 Advertising parameters. More...
 
struct  cy_stc_ble_gapp_disc_data_t
 Advertising data. More...
 
struct  cy_stc_ble_gapp_scan_rsp_data_t
 Scan response data. More...
 
struct  cy_stc_ble_gapp_disc_mode_info_t
 Advertising information. More...
 

Typedefs

typedef void(* cy_ble_callback_t) (uint32_t eventCode, void *eventParam)
 The event callback function prototype to receive events from the PSoC 6 BLE Middleware.
 
typedef void(* cy_ble_app_notify_callback_t) (void)
 Application Notify Callback.
 
typedef cy_stc_ble_bd_addr_t cy_stc_ble_gap_bd_addr_t
 BD Address of device.
 

Enumerations

enum  cy_en_ble_state_t {
  CY_BLE_STATE_STOPPED,
  CY_BLE_STATE_INITIALIZING,
  CY_BLE_STATE_ON,
  CY_BLE_STATE_CONNECTING
}
 BLE state machine type. More...
 
enum  cy_en_ble_scan_state_t {
  CY_BLE_SCAN_STATE_STOPPED,
  CY_BLE_SCAN_STATE_SCAN_INITIATED,
  CY_BLE_SCAN_STATE_SCANNING,
  CY_BLE_SCAN_STATE_STOP_INITIATED
}
 Scanning state machine type. More...
 
enum  cy_en_ble_adv_state_t {
  CY_BLE_ADV_STATE_STOPPED,
  CY_BLE_ADV_STATE_ADV_INITIATED,
  CY_BLE_ADV_STATE_ADVERTISING,
  CY_BLE_ADV_STATE_STOP_INITIATED
}
 Advertising state machine type. More...
 
enum  cy_en_ble_conn_state_t {
  CY_BLE_CONN_STATE_DISCONNECTED,
  CY_BLE_CONN_STATE_CLIENT_DISCONNECTED_DISCOVERED,
  CY_BLE_CONN_STATE_CONNECTED,
  CY_BLE_CONN_STATE_CLIENT_SRVC_DISCOVERING,
  CY_BLE_CONN_STATE_CLIENT_INCL_DISCOVERING,
  CY_BLE_CONN_STATE_CLIENT_CHAR_DISCOVERING,
  CY_BLE_CONN_STATE_CLIENT_DESCR_DISCOVERING,
  CY_BLE_CONN_STATE_CLIENT_DISCOVERED
}
 Connection state machine type. More...
 
enum  cy_en_ble_gap_adv_assign_numbers_t {
  CY_BLE_GAP_ADV_FLAGS = 0x01u,
  CY_BLE_GAP_ADV_INCOMPL_16UUID,
  CY_BLE_GAP_ADV_COMPL_16UUID,
  CY_BLE_GAP_ADV_INCOMPL_32_UUID,
  CY_BLE_GAP_ADV_COMPL_32_UUID,
  CY_BLE_GAP_ADV_INCOMPL_128_UUID,
  CY_BLE_GAP_ADV_COMPL_128_UUID,
  CY_BLE_GAP_ADV_SHORT_NAME,
  CY_BLE_GAP_ADV_COMPL_NAME,
  CY_BLE_GAP_ADV_TX_PWR_LVL,
  CY_BLE_GAP_ADV_CLASS_OF_DEVICE = 0x0Du,
  CY_BLE_GAP_ADV_SMPL_PAIR_HASH_C,
  CY_BLE_GAP_ADV_SMPL_PAIR_RANDOM_R,
  CY_BLE_GAP_ADV_DEVICE_ID,
  CY_BLE_GAP_ADV_SCRT_MNGR_TK_VAL = 0x10u,
  CY_BLE_GAP_ADV_SCRT_MNGR_OOB_FLAGS,
  CY_BLE_GAP_ADV_SLAVE_CONN_INTRV_RANGE,
  CY_BLE_GAP_ADV_SOLICIT_16UUID = 0x14u,
  CY_BLE_GAP_ADV_SOLICIT_128UUID,
  CY_BLE_GAP_ADV_SRVC_DATA_16UUID,
  CY_BLE_GAP_ADV_PUBLIC_TARGET_ADDR,
  CY_BLE_GAP_ADV_RANDOM_TARGET_ADDR,
  CY_BLE_GAP_ADV_APPEARANCE,
  CY_BLE_GAP_ADV_ADVERT_INTERVAL,
  CY_BLE_GAP_ADV_LE_BT_DEVICE_ADDR,
  CY_BLE_GAP_ADV_LE_ROLE,
  CY_BLE_GAP_ADV_SMPL_PAIR_HASH_C256,
  CY_BLE_GAP_ADV_SMPL_PAIR_RANDOM_R256,
  CY_BLE_GAP_ADV_SOLICIT_32UUID,
  CY_BLE_GAP_ADV_SRVC_DATA_32UUID,
  CY_BLE_GAP_ADV_SRVC_DATA_128UUID,
  CY_BLE_GAP_ADV_3D_INFO_DATA = 0x3D,
  CY_BLE_GAP_ADV_MANUFACTURER_SPECIFIC_DATA = 0xFF
}
 Advertisement SIG assigned numbers. More...
 
enum  cy_en_ble_gap_sec_level_t {
  CY_BLE_GAP_SEC_LEVEL_1 = 0x00u,
  CY_BLE_GAP_SEC_LEVEL_2,
  CY_BLE_GAP_SEC_LEVEL_3,
  CY_BLE_GAP_SEC_LEVEL_4,
  CY_BLE_GAP_SEC_LEVEL_MASK = 0x0Fu
}
 Security Levels. More...
 
enum  cy_en_ble_gap_iocap_t {
  CY_BLE_GAP_IOCAP_DISPLAY_ONLY = 0x00u,
  CY_BLE_GAP_IOCAP_DISPLAY_YESNO,
  CY_BLE_GAP_IOCAP_KEYBOARD_ONLY,
  CY_BLE_GAP_IOCAP_NOINPUT_NOOUTPUT,
  CY_BLE_GAP_IOCAP_KEYBOARD_DISPLAY
}
 IO capability. More...
 
enum  cy_en_ble_gap_auth_failed_reason_t {
  CY_BLE_GAP_AUTH_ERROR_NONE = 0x00u,
  CY_BLE_GAP_AUTH_ERROR_PASSKEY_ENTRY_FAILED,
  CY_BLE_GAP_AUTH_ERROR_OOB_DATA_NOT_AVAILABLE,
  CY_BLE_GAP_AUTH_ERROR_AUTHENTICATION_REQ_NOT_MET,
  CY_BLE_GAP_AUTH_ERROR_CONFIRM_VALUE_NOT_MATCH,
  CY_BLE_GAP_AUTH_ERROR_PAIRING_NOT_SUPPORTED,
  CY_BLE_GAP_AUTH_ERROR_INSUFFICIENT_ENCRYPTION_KEY_SIZE,
  CY_BLE_GAP_AUTH_ERROR_COMMAND_NOT_SUPPORTED,
  CY_BLE_GAP_AUTH_ERROR_UNSPECIFIED_REASON,
  CY_BLE_GAP_AUTH_ERROR_REPEATED_ATTEMPTS,
  CY_BLE_GAP_AUTH_ERROR_INVALID_PARAMETERS,
  CY_BLE_GAP_AUTH_ERROR_DHKEY_CHECK_FAILED,
  CY_BLE_GAP_AUTH_ERROR_NUMERIC_COMPARISON_FAILED,
  CY_BLE_GAP_AUTH_ERROR_BR_EDR_PAIRING_IN_PROGRESS,
  CY_BLE_GAP_AUTH_ERROR_CROSS_TRANSPORT_KEY_GEN_DER_NOT_ALLOWED,
  CY_BLE_GAP_AUTH_ERROR_AUTHENTICATION_TIMEOUT = 0x15u,
  CY_BLE_GAP_AUTH_ERROR_LINK_DISCONNECTED = 0x18u
}
 Authentication Failed Error Codes. More...
 
enum  cy_en_ble_gap_addr_type_t {
  CY_BLE_GAP_RANDOM_PRIV_NON_RESOLVABLE_ADDR = 0x00u,
  CY_BLE_GAP_RANDOM_PRIV_RESOLVABLE_ADDR = 0x01u,
  CY_BLE_GAP_PUBLIC_ADDR = 0x02u,
  CY_BLE_GAP_RANDOM_STATIC_ADDR = 0x03u
}
 GAP address type. More...
 
enum  cy_en_ble_gap_keypress_notify_type_t {
  CY_BLE_GAP_PASSKEY_ENTRY_STARTED = 0x00u,
  CY_BLE_GAP_PASSKEY_DIGIT_ENTERED = 0x01u,
  CY_BLE_GAP_PASSKEY_DIGIT_ERASED = 0x02u,
  CY_BLE_GAP_PASSKEY_CLEARED = 0x03u,
  CY_BLE_GAP_PASSKEY_ENTRY_COMPLETED = 0x04u
}
 Passkey entry notification types. More...
 
enum  cy_en_ble_gap_adv_addr_type_t {
  CY_BLE_GAP_PUBLIC_ADDR_TYPE,
  CY_BLE_GAP_RANDOM_RESOLVABLE_ADDR_TYPE,
  CY_BLE_GAP_PUBLIC_IDENTITY_ADDR_TYPE,
  CY_BLE_GAP_RANDOM_IDENTITY_ADDR_TYPE
}
 GAP Direct advertiser address type. More...
 
enum  cy_en_ble_gapc_adv_event_t {
  CY_BLE_GAPC_CONN_UNDIRECTED_ADV = 0x00u,
  CY_BLE_GAPC_CONN_DIRECTED_ADV,
  CY_BLE_GAPC_SCAN_UNDIRECTED_ADV,
  CY_BLE_GAPC_NON_CONN_UNDIRECTED_ADV,
  CY_BLE_GAPC_SCAN_RSP
}
 Advertisement event type. More...
 
enum  cy_en_ble_gapp_adv_t {
  CY_BLE_GAPP_CONNECTABLE_UNDIRECTED_ADV = 0x00u,
  CY_BLE_GAPP_CONNECTABLE_HIGH_DC_DIRECTED_ADV,
  CY_BLE_GAPP_SCANNABLE_UNDIRECTED_ADV,
  CY_BLE_GAPP_NON_CONNECTABLE_UNDIRECTED_ADV,
  CY_BLE_GAPP_CONNECTABLE_LOW_DC_DIRECTED_ADV
}
 Advertisement type. More...
 

Enumeration Type Documentation

◆ cy_en_ble_state_t

BLE state machine type.

Enumerator
CY_BLE_STATE_STOPPED 

BLE is turned off.

CY_BLE_STATE_INITIALIZING 

Initializing state.

CY_BLE_STATE_ON 

BLE is turned on.

CY_BLE_STATE_CONNECTING 

Connecting.

◆ cy_en_ble_scan_state_t

Scanning state machine type.

Enumerator
CY_BLE_SCAN_STATE_STOPPED 

Scanning is stopped.

CY_BLE_SCAN_STATE_SCAN_INITIATED 

Scanning is initiated.

CY_BLE_SCAN_STATE_SCANNING 

Scanning process.

CY_BLE_SCAN_STATE_STOP_INITIATED 

Stop scanning is initiated.

◆ cy_en_ble_adv_state_t

Advertising state machine type.

Enumerator
CY_BLE_ADV_STATE_STOPPED 

Advertising is stopped.

CY_BLE_ADV_STATE_ADV_INITIATED 

Advertising is initiated.

CY_BLE_ADV_STATE_ADVERTISING 

Advertising process.

CY_BLE_ADV_STATE_STOP_INITIATED 

Stop advertising is initiated.

◆ cy_en_ble_conn_state_t

Connection state machine type.

Enumerator
CY_BLE_CONN_STATE_DISCONNECTED 

Essentially idle state.

CY_BLE_CONN_STATE_CLIENT_DISCONNECTED_DISCOVERED 

Server is disconnected but discovered.

CY_BLE_CONN_STATE_CONNECTED 

Peer device is connected for this and following states.

CY_BLE_CONN_STATE_CLIENT_SRVC_DISCOVERING 

Server services are being discovered.

CY_BLE_CONN_STATE_CLIENT_INCL_DISCOVERING 

Server included services are being discovered.

CY_BLE_CONN_STATE_CLIENT_CHAR_DISCOVERING 

Server Characteristics are being discovered.

CY_BLE_CONN_STATE_CLIENT_DESCR_DISCOVERING 

Server char.

descriptors are being discovered

CY_BLE_CONN_STATE_CLIENT_DISCOVERED 

Server is discovered.

◆ cy_en_ble_gap_adv_assign_numbers_t

Advertisement SIG assigned numbers.

Enumerator
CY_BLE_GAP_ADV_FLAGS 

Flags.

CY_BLE_GAP_ADV_INCOMPL_16UUID 

Incomplete List of 16-bit Service Class UUIDs.

CY_BLE_GAP_ADV_COMPL_16UUID 

Complete List of 16-bit Service Class UUIDs.

CY_BLE_GAP_ADV_INCOMPL_32_UUID 

Incomplete List of 32-bit Service Class UUIDs.

CY_BLE_GAP_ADV_COMPL_32_UUID 

Complete List of 32-bit Service Class UUIDs.

CY_BLE_GAP_ADV_INCOMPL_128_UUID 

Incomplete List of 128-bit Service Class UUIDs.

CY_BLE_GAP_ADV_COMPL_128_UUID 

Complete List of 128-bit Service Class UUIDs.

CY_BLE_GAP_ADV_SHORT_NAME 

Shortened Local Name.

CY_BLE_GAP_ADV_COMPL_NAME 

Complete Local Name.

CY_BLE_GAP_ADV_TX_PWR_LVL 

Tx Power Level.

CY_BLE_GAP_ADV_CLASS_OF_DEVICE 

Class of Device.

CY_BLE_GAP_ADV_SMPL_PAIR_HASH_C 

Simple Pairing Hash C.

CY_BLE_GAP_ADV_SMPL_PAIR_RANDOM_R 

Simple Pairing Randomizer R.

CY_BLE_GAP_ADV_DEVICE_ID 

Device ID.

CY_BLE_GAP_ADV_SCRT_MNGR_TK_VAL 

Security Manager TK Value.

CY_BLE_GAP_ADV_SCRT_MNGR_OOB_FLAGS 

Security Manager Out of Band Flags.

CY_BLE_GAP_ADV_SLAVE_CONN_INTRV_RANGE 

Slave Connection Interval Range.

CY_BLE_GAP_ADV_SOLICIT_16UUID 

List of 16-bit Service Solicitation UUIDs.

CY_BLE_GAP_ADV_SOLICIT_128UUID 

List of 128-bit Service Solicitation UUIDs.

CY_BLE_GAP_ADV_SRVC_DATA_16UUID 

Service Data - 16-bit UUID.

CY_BLE_GAP_ADV_PUBLIC_TARGET_ADDR 

Public Target Address.

CY_BLE_GAP_ADV_RANDOM_TARGET_ADDR 

Random Target Address.

CY_BLE_GAP_ADV_APPEARANCE 

Appearance.

CY_BLE_GAP_ADV_ADVERT_INTERVAL 

Advertising Interval.

CY_BLE_GAP_ADV_LE_BT_DEVICE_ADDR 

LE Bluetooth Device Address.

CY_BLE_GAP_ADV_LE_ROLE 

LE Role.

CY_BLE_GAP_ADV_SMPL_PAIR_HASH_C256 

Simple Pairing Hash C-256.

CY_BLE_GAP_ADV_SMPL_PAIR_RANDOM_R256 

Simple Pairing Randomizer R-256.

CY_BLE_GAP_ADV_SOLICIT_32UUID 

List of 32-bit Service Solicitation UUIDs.

CY_BLE_GAP_ADV_SRVC_DATA_32UUID 

Service Data - 32-bit UUID.

CY_BLE_GAP_ADV_SRVC_DATA_128UUID 

Service Data - 128-bit UUID.

CY_BLE_GAP_ADV_3D_INFO_DATA 

3D Information Data

CY_BLE_GAP_ADV_MANUFACTURER_SPECIFIC_DATA 

Manufacturer Specific Data.

◆ cy_en_ble_gap_sec_level_t

Security Levels.

Enumerator
CY_BLE_GAP_SEC_LEVEL_1 

Level 1 Mode 1 - No security (No authentication and no encryption)

CY_BLE_GAP_SEC_LEVEL_2 

Level 2 Mode 1 - Unauthenticated pairing with encryption (No MITM) Mode 2 - Unauthenticated pairing with data signing (No MITM)

CY_BLE_GAP_SEC_LEVEL_3 

Level 3 Mode 1 - Authenticated pairing with encryption (With MITM) Mode 2 - Authenticated pairing with data signing (With MITM)

CY_BLE_GAP_SEC_LEVEL_4 

Level 4 Secured Connection.

CY_BLE_GAP_SEC_LEVEL_MASK 

LE Security Level Mask.

◆ cy_en_ble_gap_iocap_t

IO capability.

Enumerator
CY_BLE_GAP_IOCAP_DISPLAY_ONLY 

Platform supports only a mechanism to display or convey only a 6-digit number to the user.

CY_BLE_GAP_IOCAP_DISPLAY_YESNO 

The device has a mechanism whereby the user can indicate 'yes' or 'no'.

CY_BLE_GAP_IOCAP_KEYBOARD_ONLY 

Platform supports a numeric keyboard that can input the numbers '0' through '9' and a confirmation key(s) for 'yes' and 'no'.

CY_BLE_GAP_IOCAP_NOINPUT_NOOUTPUT 

Platform does not have the ability to display or communicate a 6 digit decimal number.

CY_BLE_GAP_IOCAP_KEYBOARD_DISPLAY 

Platform supports a mechanism through which 6 digit numeric value can be displayed and numeric keyboard that can input the numbers '0' through '9'.

◆ cy_en_ble_gap_auth_failed_reason_t

Authentication Failed Error Codes.

Enumerator
CY_BLE_GAP_AUTH_ERROR_NONE 

No Error.

CY_BLE_GAP_AUTH_ERROR_PASSKEY_ENTRY_FAILED 

User input of passkey failed.

For example, the user cancelled the operation.

CY_BLE_GAP_AUTH_ERROR_OOB_DATA_NOT_AVAILABLE 

Out Of Band data is not available.

Applicable if NFC is supported.

CY_BLE_GAP_AUTH_ERROR_AUTHENTICATION_REQ_NOT_MET 

Pairing procedure cannot be performed as authentication requirements cannot be met due to IO capabilities of one or both devices.

CY_BLE_GAP_AUTH_ERROR_CONFIRM_VALUE_NOT_MATCH 

Confirm value does not match the calculated compare value.

CY_BLE_GAP_AUTH_ERROR_PAIRING_NOT_SUPPORTED 

Pairing is not supported by the device.

CY_BLE_GAP_AUTH_ERROR_INSUFFICIENT_ENCRYPTION_KEY_SIZE 

Insufficient key size for the security requirements of this device, or if LTK is lost.

CY_BLE_GAP_AUTH_ERROR_COMMAND_NOT_SUPPORTED 

Command received is not supported.

CY_BLE_GAP_AUTH_ERROR_UNSPECIFIED_REASON 

Pairing failed due to an unspecified reason.

CY_BLE_GAP_AUTH_ERROR_REPEATED_ATTEMPTS 

Pairing or authentication procedure is disallowed because too little time has elapsed since the last pairing request or security request.

CY_BLE_GAP_AUTH_ERROR_INVALID_PARAMETERS 

Invalid Parameters in Request - Invalid Command length and Parameter value outside range.

CY_BLE_GAP_AUTH_ERROR_DHKEY_CHECK_FAILED 

Indicates to the remote device that the DHKey Check value received does not match the one calculated by the local device.

CY_BLE_GAP_AUTH_ERROR_NUMERIC_COMPARISON_FAILED 

Indicates that the confirm values in the numeric comparison protocol do not match.

CY_BLE_GAP_AUTH_ERROR_BR_EDR_PAIRING_IN_PROGRESS 

Indicates that the pairing over the LE transport failed due to a Pairing Request sent over the BR/EDR transport is in process.

CY_BLE_GAP_AUTH_ERROR_CROSS_TRANSPORT_KEY_GEN_DER_NOT_ALLOWED 

Indicates that the BR/EDR Link Key generated on the BR/EDR transport cannot be used to derive and distribute keys for LE transport.

CY_BLE_GAP_AUTH_ERROR_AUTHENTICATION_TIMEOUT 

Authentication process timeout - if pairing timeout happens for the first time, the application can choose to re-initiate the pairing procedure.

If timeout occurs again, the application may choose to disconnect the peer device.

CY_BLE_GAP_AUTH_ERROR_LINK_DISCONNECTED 

Link disconnected.

◆ cy_en_ble_gap_addr_type_t

GAP address type.

Enumerator
CY_BLE_GAP_RANDOM_PRIV_NON_RESOLVABLE_ADDR 

Random private non-resolvable address.

CY_BLE_GAP_RANDOM_PRIV_RESOLVABLE_ADDR 

Random private resolvable address.

CY_BLE_GAP_PUBLIC_ADDR 

Public address.

CY_BLE_GAP_RANDOM_STATIC_ADDR 

Random static address.

◆ cy_en_ble_gap_keypress_notify_type_t

Passkey entry notification types.

These are sent to application with the CY_BLE_EVT_GAP_KEYPRESS_NOTIFICATION event parameter.

Enumerator
CY_BLE_GAP_PASSKEY_ENTRY_STARTED 

Passkey entry started.

CY_BLE_GAP_PASSKEY_DIGIT_ENTERED 

One digit entered.

CY_BLE_GAP_PASSKEY_DIGIT_ERASED 

One digit erased.

CY_BLE_GAP_PASSKEY_CLEARED 

All digits cleared.

CY_BLE_GAP_PASSKEY_ENTRY_COMPLETED 

Passkey entry completed.

◆ cy_en_ble_gap_adv_addr_type_t

GAP Direct advertiser address type.

Enumerator
CY_BLE_GAP_PUBLIC_ADDR_TYPE 

Public device address type.

CY_BLE_GAP_RANDOM_RESOLVABLE_ADDR_TYPE 

Random private resolvable address type.

CY_BLE_GAP_PUBLIC_IDENTITY_ADDR_TYPE 

Public Identity address type.

CY_BLE_GAP_RANDOM_IDENTITY_ADDR_TYPE 

Random static Identity Address.

◆ cy_en_ble_gapc_adv_event_t

Advertisement event type.

Enumerator
CY_BLE_GAPC_CONN_UNDIRECTED_ADV 

Connectable undirected advertising.

CY_BLE_GAPC_CONN_DIRECTED_ADV 

Connectable directed advertising.

CY_BLE_GAPC_SCAN_UNDIRECTED_ADV 

Scannable undirected advertising.

CY_BLE_GAPC_NON_CONN_UNDIRECTED_ADV 

Non connectable undirected advertising.

CY_BLE_GAPC_SCAN_RSP 

Scan Response.

◆ cy_en_ble_gapp_adv_t

Advertisement type.

Enumerator
CY_BLE_GAPP_CONNECTABLE_UNDIRECTED_ADV 

Connectable undirected advertising.

CY_BLE_GAPP_CONNECTABLE_HIGH_DC_DIRECTED_ADV 

Connectable high duty cycle directed advertising.

CY_BLE_GAPP_SCANNABLE_UNDIRECTED_ADV 

Scannable undirected advertising.

CY_BLE_GAPP_NON_CONNECTABLE_UNDIRECTED_ADV 

Non connectable undirected advertising.

CY_BLE_GAPP_CONNECTABLE_LOW_DC_DIRECTED_ADV 

Connectable low duty cycle directed advertising.