Skip to content

Commit 5770da1

Browse files
samples: bluetooth: Set CONFIG_BT_SMP_SC_PAIR_ONLY=n when needed
LE legacy pairing is no longer enabled by default. A few more samples that use it, need to disable the BT_SMP_SC_PAIR_ONLY Kconfig option. See Zephyr PR 73217.
1 parent 4eb29ff commit 5770da1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

samples/bluetooth/central_hids/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ CONFIG_NCS_SAMPLES_DEFAULTS=y
88
CONFIG_BT=y
99
CONFIG_BT_CENTRAL=y
1010
CONFIG_BT_SMP=y
11+
CONFIG_BT_SMP_SC_PAIR_ONLY=n
1112
CONFIG_BT_ATT_TX_COUNT=5
1213
CONFIG_BT_GATT_CLIENT=y
1314
CONFIG_BT_GATT_DM=y

samples/bluetooth/central_uart/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ CONFIG_UART_CONSOLE=y
1515
CONFIG_BT=y
1616
CONFIG_BT_CENTRAL=y
1717
CONFIG_BT_SMP=y
18+
CONFIG_BT_SMP_SC_PAIR_ONLY=n
1819
CONFIG_BT_GATT_CLIENT=y
1920

2021
# Enable the BLE modules from NCS

0 commit comments

Comments
 (0)