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
Field | Description |
---|---|
ioCapability | I/O capability of the device. Defines how the device can or cannot display or input passkeys. Refer to IO capability for possible values. |
authReqFlag | Authentication requirement flag. Specifies the authentication requirements for pairing. Refer to Pairing options for possible values. |
oobDataFlag | Out-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. |
scOnly | Secure Connections Only mode flag. Set to true to enforce pairing using LE Secure Connections only. |
authPairingRequired | Authenticated 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. |