Security Manager configuration flags#
These values are used to configure security requirements.
Macro Definition Documentation#
SL_BT_SM_CONFIGURATION_MITM_REQUIRED#
#define SL_BT_SM_CONFIGURATION_MITM_REQUIREDValue:
0x1
Bonding requires authentication (Man-in-the-Middle protection).
Definition at line
10572
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_BONDING_REQUIRED#
#define SL_BT_SM_CONFIGURATION_BONDING_REQUIREDValue:
0x2
Encryption requires bonding. Note that this setting will also enable bonding.
Definition at line
10576
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_SC_ONLY#
#define SL_BT_SM_CONFIGURATION_SC_ONLYValue:
0x4
Require secure connections pairing.
Definition at line
10579
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_BONDING_REQUEST_REQUIRED#
#define SL_BT_SM_CONFIGURATION_BONDING_REQUEST_REQUIREDValue:
0x8
Bonding requests need to be confirmed. Received bonding requests are notified by sl_bt_evt_sm_confirm_bonding.
Definition at line
10583
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_CONNECTIONS_FROM_BONDED_DEVICES_ONLY#
#define SL_BT_SM_CONFIGURATION_CONNECTIONS_FROM_BONDED_DEVICES_ONLYValue:
0x10
Allow connections only from bonded devices. This option is ignored when the application includes the bluetooth_feature_external_bonding_database feature.
Definition at line
10588
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_PREFER_MITM#
#define SL_BT_SM_CONFIGURATION_PREFER_MITMValue:
0x20
Prefer authenticated pairing when both options are possible based on the settings. Otherwise just works pairing is preferred.
Definition at line
10592
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_OOB_FROM_BOTH_DEVICES_REQUIRED#
#define SL_BT_SM_CONFIGURATION_OOB_FROM_BOTH_DEVICES_REQUIREDValue:
0x40
Require secure connections OOB data from both devices.
Definition at line
10595
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h
SL_BT_SM_CONFIGURATION_REJECT_DEBUG_KEYS#
#define SL_BT_SM_CONFIGURATION_REJECT_DEBUG_KEYSValue:
0x80
Reject pairing if remote device uses debug keys.
Definition at line
10598
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h