Security Manager configuration flagsSecurity Manager#
Macros#
#define | SL_BT_SM_CONFIGURATION_MITM_REQUIRED 0x1
#define | SL_BT_SM_CONFIGURATION_BONDING_REQUIRED 0x2
#define | SL_BT_SM_CONFIGURATION_SC_ONLY 0x4
#define | SL_BT_SM_CONFIGURATION_BONDING_REQUEST_REQUIRED 0x8
#define | SL_BT_SM_CONFIGURATION_CONNECTIONS_FROM_BONDED_DEVICES_ONLY 0x10
#define | SL_BT_SM_CONFIGURATION_PREFER_MITM 0x20
#define | SL_BT_SM_CONFIGURATION_OOB_FROM_BOTH_DEVICES_REQUIRED 0x40
Detailed Description#
These values are used to configure security requirements.
Macro Definition Documentation#
◆ SL_BT_SM_CONFIGURATION_MITM_REQUIRED#
#define SL_BT_SM_CONFIGURATION_MITM_REQUIRED 0x1#
Bonding requires authentication (Man-in-the-Middle protection).
◆ SL_BT_SM_CONFIGURATION_BONDING_REQUIRED#
#define SL_BT_SM_CONFIGURATION_BONDING_REQUIRED 0x2#
Encryption requires bonding. Note that this setting will also enable bonding.
◆ SL_BT_SM_CONFIGURATION_SC_ONLY#
#define SL_BT_SM_CONFIGURATION_SC_ONLY 0x4#
Require secure connections pairing.
◆ SL_BT_SM_CONFIGURATION_BONDING_REQUEST_REQUIRED#
#define SL_BT_SM_CONFIGURATION_BONDING_REQUEST_REQUIRED 0x8#
Bonding requests need to be confirmed. Received bonding requests are notified by sl_bt_evt_sm_confirm_bonding.
◆ SL_BT_SM_CONFIGURATION_CONNECTIONS_FROM_BONDED_DEVICES_ONLY#
#define SL_BT_SM_CONFIGURATION_CONNECTIONS_FROM_BONDED_DEVICES_ONLY 0x10#
Allow connections only from bonded devices.
◆ SL_BT_SM_CONFIGURATION_PREFER_MITM#
#define SL_BT_SM_CONFIGURATION_PREFER_MITM 0x20#
Prefer authenticated pairing when both options are possible based on the settings. Otherwise just works pairing is preferred.
◆ SL_BT_SM_CONFIGURATION_OOB_FROM_BOTH_DEVICES_REQUIRED#
#define SL_BT_SM_CONFIGURATION_OOB_FROM_BOTH_DEVICES_REQUIRED 0x40#
Require secure connections OOB data from both devices.