1.2.2.1.4.3.1 BLE_SMP_Config_T

C

typedef struct BLE_SMP_Config_T
{
    uint8_t ioCapability;
    uint8_t authReqFlag;
    bool    oobDataFlag;
    bool    scOnly;
    bool    authPairingRequired;
}BLE_SMP_Config_T;

Description

Pairing parameters.

Field Documentation

FieldDescription
ioCapabilityInput and output capabilities of a device handle. See IO capability.
authReqFlagAuthentication Requirement Flag. See Pairing options.
oobDataFlagOOB data flag. - In LE legacy pairing, set true to indicate device has OOB authentication data. If both devices have OOB authentication data, then OOB pairing method shall be used. - In LE Secure Connections pairing, set true to indicate device has the OOB authentication data from remote device. If one or both devices have the OOB authentication data from remote device, then OOB pairing method shall be used.
scOnlySecure Connections only mode. Set true to enable secure connection only mode.
authPairingRequiredSet true if authenticated pairing method is required. If local device plays as peripheral role in the connection and the final mapping method in pairing is unauthenticated. Then pairing fail packet will be issued automatically after receiving pairing request packet.