Cypress PSoC 6 Bluetooth Low Energy Middleware Library 3.60
cy_stc_ble_gap_auth_info_t Struct Reference

Description

Authentication Parameters Information.

Data Fields

uint8_t security
 Security Mode setting will be value of enum cy_en_ble_gap_sec_level_t as follows: (CY_BLE_GAP_SEC_MODE_1 | CY_BLE_GAP_SEC_LEVEL_2) (CY_BLE_GAP_SEC_MODE_1 | CY_BLE_GAP_SEC_LEVEL_3) (CY_BLE_GAP_SEC_MODE_1 | CY_BLE_GAP_SEC_LEVEL_4) (CY_BLE_GAP_SEC_MODE_2 | CY_BLE_GAP_SEC_LEVEL_2) (CY_BLE_GAP_SEC_MODE_2 | CY_BLE_GAP_SEC_LEVEL_3)
 
uint8_t bonding
 Bonding type setting: CY_BLE_GAP_BONDING_NONE CY_BLE_GAP_BONDING.
 
uint8_t ekeySize
 Encryption Key Size (octets) Minimum = 7 maximum = 16 For a slave initiated security request, this parameter must be ignored.
 
cy_en_ble_gap_auth_failed_reason_t authErr
 Parameter to say whether authentication is accepted or rejected with a reason. More...
 
uint8_t pairingProperties
 Bit 0: MITM (Applicable only if Secure connections) Use CY_BLE_GAP_SMP_SC_PAIR_PROP_MITM_MASK Bit 1: Key press (sets Key press bit in authentication requirements flags of pairing request/response. More...
 
uint8_t bdHandle
 Peer bdHandle.
 

Field Documentation

◆ authErr

cy_en_ble_gap_auth_failed_reason_t cy_stc_ble_gap_auth_info_t::authErr

Parameter to say whether authentication is accepted or rejected with a reason.

accepted = CY_BLE_GAP_AUTH_ERROR_NONE or error code cy_en_ble_gap_auth_failed_reason_t.

◆ pairingProperties

uint8_t cy_stc_ble_gap_auth_info_t::pairingProperties

Bit 0: MITM (Applicable only if Secure connections) Use CY_BLE_GAP_SMP_SC_PAIR_PROP_MITM_MASK Bit 1: Key press (sets Key press bit in authentication requirements flags of pairing request/response.

Applicable only for secure connections) Use CY_BLE_GAP_SMP_SC_PAIR_PROP_KP_MASK Bit [2-7]: RFU