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

Structure for configuring pairing parameters in BLE Security Manager Protocol (SMP).

Field Documentation

FieldDescription
ioCapabilityI/O capability of the device. Defines how the device can or cannot display or input passkeys. Refer to IO capability for possible values.
authReqFlagAuthentication requirement flag. Specifies the authentication requirements for pairing. Refer to Pairing options for possible values.
oobDataFlagOut-of-Band (OOB) data flag.- For LE legacy pairing, set to true if the device has OOB data available for authentication.- For LE Secure Connections pairing, set to true if the device has received OOB data from the remote device. OOB pairing is used if at least one device has OOB data.
scOnlySecure Connections Only mode flag. Set to true to enforce pairing using LE Secure Connections only.
authPairingRequiredAuthenticated Pairing Requirement flag. Set to true to require an authenticated pairing method. If set and the device is in the peripheral role with an unauthenticated pairing method, a pairing failure will be triggered.