Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions samples/bluetooth/ble_bms/prj.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y
CONFIG_NRF_SDH=y

# Enable RNG
CONFIG_NRF_SECURITY=y
Expand All @@ -19,6 +20,7 @@ CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_BMS"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
Expand All @@ -34,9 +36,11 @@ CONFIG_BLE_DIS_HW_REVISION="hw 54.15.0"
CONFIG_BLE_DIS_FW_REVISION="fw 17.2.0"
CONFIG_BLE_DIS_SW_REVISION="sw 1.0.0"

# Nordic LED button service
# Queued writes
CONFIG_BLE_QWR=y
CONFIG_BLE_QWR_MAX_ATTR=1

# Bond management service
CONFIG_BLE_BMS=y

# Buttons and timer
Expand Down
25 changes: 17 additions & 8 deletions samples/bluetooth/ble_cgms/prj.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

Comment on lines +1 to +6
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Leftover from earlier. Should be removed.

Suggested change
#
# Copyright (c) 2025 Nordic Semiconductor ASA
#
# SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
#

# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y

# Enable RNG
Expand All @@ -18,30 +26,31 @@ CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_CGMS"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
CONFIG_BLE_ADV_DIRECTED_ADVERTISING=n
CONFIG_BLE_ADV_USE_ALLOW_LIST=y
CONFIG_BLE_ADV_FAST_ADVERTISING_INTERVAL=40
CONFIG_BLE_ADV_FAST_ADVERTISING_TIMEOUT=3000
CONFIG_BLE_ADV_SLOW_ADVERTISING_INTERVAL=3200
CONFIG_BLE_ADV_SLOW_ADVERTISING_TIMEOUT=18000

# Buttons and timer
CONFIG_BM_BUTTONS=y
CONFIG_BM_TIMER=y

# BLE connection parameter
CONFIG_BLE_CONN_PARAMS=y
#This is not yet supported in S115
# Set minimum connection interval to 400ms
CONFIG_BLE_CONN_PARAMS_MIN_CONN_INTERVAL=6
# Set maximum connection interval to 650ms
CONFIG_BLE_CONN_PARAMS_MAX_CONN_INTERVAL=256
# Set supervision timeout to 4 seconds
CONFIG_BLE_CONN_PARAMS_SUP_TIMEOUT=400
Comment on lines 44 to 51
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Values in comments are outdated. Please update them or simply remove the comments (this is the only place we have this kind of comments).

Could remove the configurations also. Two of three are setting the value to the default value.


CONFIG_BLE_ADV_USE_ALLOW_LIST=y
CONFIG_BLE_ADV_FAST_ADVERTISING_INTERVAL=40
CONFIG_BLE_ADV_FAST_ADVERTISING_TIMEOUT=3000
CONFIG_BLE_ADV_SLOW_ADVERTISING_INTERVAL=3200
CONFIG_BLE_ADV_SLOW_ADVERTISING_TIMEOUT=18000

# Gatt queue
CONFIG_BLE_GATT_QUEUE=y

# Queued writes
Expand All @@ -59,7 +68,7 @@ CONFIG_BLE_RACP=y
CONFIG_BLE_DIS=y
CONFIG_BLE_DIS_SERIAL_NUMBER="ABCD"
CONFIG_BLE_DIS_HW_REVISION="hw 54.15.0"
CONFIG_BLE_DIS_FW_REVISION="fw 17.2.0" # wink
CONFIG_BLE_DIS_FW_REVISION="fw 17.2.0"
CONFIG_BLE_DIS_SW_REVISION="sw 1.0.0"

# Peer Manager
Expand Down
4 changes: 3 additions & 1 deletion samples/bluetooth/ble_hids_keyboard/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

Expand All @@ -19,6 +20,7 @@ CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_HIDS_KB"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
Expand All @@ -37,7 +39,7 @@ CONFIG_BLE_DIS_SW_REVISION="sw 1.0.0"
# Battery service
CONFIG_BLE_BAS=y

# QWR
# Queued writes
CONFIG_BLE_QWR=y

# Buttons and timer
Expand Down
4 changes: 3 additions & 1 deletion samples/bluetooth/ble_hids_mouse/prj.conf
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

Expand All @@ -19,6 +20,7 @@ CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_HIDS_MOUSE"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
Expand All @@ -37,7 +39,7 @@ CONFIG_BLE_DIS_SW_REVISION="sw 1.0.0"
# Battery service
CONFIG_BLE_BAS=y

# QWR
# Queued writes
CONFIG_BLE_QWR=y

# Buttons and timer
Expand Down
3 changes: 3 additions & 0 deletions samples/bluetooth/ble_hrs/prj.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y

# Enable RNG
Expand All @@ -18,6 +20,7 @@ CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_HRS"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
Expand Down
31 changes: 18 additions & 13 deletions samples/bluetooth/ble_hrs_central/prj.conf
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y

# SoftDevice handler link counts
CONFIG_NRF_SDH_BLE_TOTAL_LINK_COUNT=2
CONFIG_NRF_SDH_BLE_CENTRAL_LINK_COUNT=1

CONFIG_BM_BUTTONS=y
CONFIG_BM_TIMER=y

# Enable RNG
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_PSA_WANT_GENERATE_RANDOM=y

# Enable Crypto functionality required by LE Secure Connection
CONFIG_PSA_WANT_ALG_ECDH=y
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE=y
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT=y
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT=y
CONFIG_PSA_WANT_ECC_SECP_R1_256=y
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65

# Button and timer
CONFIG_BM_BUTTONS=y
CONFIG_BM_TIMER=y

# BLE Heart rate client
CONFIG_BLE_HRS_CENTRAL=y

Expand All @@ -34,13 +49,3 @@ CONFIG_PEER_MANAGER=y
CONFIG_PM_LESC=y
CONFIG_BM_ZMS=y
CONFIG_BLE_CONN_STATE=y

# Enable Crypto functionality required by LE Secure Connection
CONFIG_PSA_WANT_ALG_ECDH=y
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE=y
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT=y
CONFIG_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT=y
CONFIG_PSA_WANT_ECC_SECP_R1_256=y
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOTS=y
CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=1
CONFIG_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE=65
11 changes: 7 additions & 4 deletions samples/bluetooth/ble_lbs/prj.conf
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y

# LBS requires storage of a vendor UUID
CONFIG_NRF_SDH_BLE_VS_UUID_COUNT=1

# Enable RNG
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_PSA_WANT_GENERATE_RANDOM=y

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_LBS"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
Expand All @@ -26,9 +32,6 @@ CONFIG_BLE_DIS_SW_REVISION="sw 1.0.0"
# Nordic LED button service
CONFIG_BLE_LBS=y

# LBS dependencies
# Button and timer
CONFIG_BM_TIMER=y
CONFIG_BM_BUTTONS=y

# LBS requires storage of a vendor UUID
CONFIG_NRF_SDH_BLE_VS_UUID_COUNT=1
19 changes: 11 additions & 8 deletions samples/bluetooth/ble_nus/prj.conf
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_NUS"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
CONFIG_BLE_ADV_DIRECTED_ADVERTISING=n

# SoftDevice
CONFIG_SOFTDEVICE=y

# NUS requires storage of a vendor UUID
CONFIG_NRF_SDH_BLE_VS_UUID_COUNT=1

# Enable RNG
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_PSA_WANT_GENERATE_RANDOM=y

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_NUS"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
CONFIG_BLE_ADV_DIRECTED_ADVERTISING=n

# BLE connection parameter
CONFIG_BLE_CONN_PARAMS=y

Expand All @@ -21,6 +27,3 @@ CONFIG_BLE_NUS=y

# NUS depends on the Queued Writes module
CONFIG_BLE_QWR=y

# NUS requires storage of a vendor UUID
CONFIG_NRF_SDH_BLE_VS_UUID_COUNT=1
18 changes: 8 additions & 10 deletions samples/bluetooth/ble_pwr_profiling/prj.conf
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# Disable Console for power optimization
CONFIG_CONSOLE=n

# SoftDevice and SoftDevice handler library
# SoftDevice
CONFIG_SOFTDEVICE=y

# Require storage of a vendor UUID
CONFIG_NRF_SDH_BLE_VS_UUID_COUNT=1

# Enable RNG
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_PSA_WANT_GENERATE_RANDOM=y

# Require storage of a vendor UUID
CONFIG_NRF_SDH_BLE_VS_UUID_COUNT=1

# Connection parameter configurations
CONFIG_BLE_CONN_PARAMS_MAX_CONN_INTERVAL=800
CONFIG_BLE_CONN_PARAMS_SUP_TIMEOUT=600
Expand All @@ -21,14 +21,12 @@ CONFIG_BLE_CONN_PARAMS_MAX_PERIPHERAL_LATENCY_DEVIATION=4
# BLE connection parameter
CONFIG_BLE_CONN_PARAMS=y

# QWR
# Queued Writes
CONFIG_BLE_QWR=y

# Advertising library, needed for ble_adv_data
# Advertising data
CONFIG_BLE_ADV_DATA=y

# Timer library
CONFIG_BM_TIMER=y

# Button library
# Buttons and timer
CONFIG_BM_BUTTONS=y
CONFIG_BM_TIMER=y
19 changes: 11 additions & 8 deletions samples/bluetooth/ble_radio_notification/prj.conf
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y

# Enable RNG
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_PSA_WANT_GENERATE_RANDOM=y

# Advertising library
CONFIG_BLE_ADV=y
CONFIG_BLE_ADV_NAME="nRF_BM_Radio_Ntf"
CONFIG_BLE_ADV_EXTENDED_ADVERTISING=n
CONFIG_BLE_ADV_DIRECTED_ADVERTISING=n

# BLE connection parameter
CONFIG_BLE_CONN_PARAMS=y

CONFIG_BLE_ADV_FAST_ADVERTISING_INTERVAL=400
CONFIG_BLE_ADV_SLOW_ADVERTISING_INTERVAL=1600

# BLE connection parameter
CONFIG_BLE_CONN_PARAMS=y

# Radio Notifications
CONFIG_BLE_RADIO_NOTIFICATION=y

# Enable RNG
CONFIG_NRF_SECURITY=y
CONFIG_MBEDTLS_PSA_CRYPTO_C=y
CONFIG_PSA_WANT_GENERATE_RANDOM=y
2 changes: 2 additions & 0 deletions samples/bluetooth/hello_softdevice/prj.conf
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Logging
CONFIG_LOG=y
CONFIG_LOG_BACKEND_BM_UARTE=y

# SoftDevice
CONFIG_SOFTDEVICE=y

# Enable RNG
Expand Down
Loading