summaryrefslogtreecommitdiff
path: root/lib/bt/host/nimble/Kconfig.in
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bt/host/nimble/Kconfig.in')
-rw-r--r--lib/bt/host/nimble/Kconfig.in659
1 files changed, 487 insertions, 172 deletions
diff --git a/lib/bt/host/nimble/Kconfig.in b/lib/bt/host/nimble/Kconfig.in
index d02293a8..3ea05578 100644
--- a/lib/bt/host/nimble/Kconfig.in
+++ b/lib/bt/host/nimble/Kconfig.in
@@ -65,7 +65,7 @@ config BT_NIMBLE_LOG_LEVEL
config BT_NIMBLE_MAX_CONNECTIONS
int "Maximum number of concurrent connections"
range 1 2 if IDF_TARGET_ESP32C2
- range 1 70 if IDF_TARGET_ESP32C6
+ range 1 70 if IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C5 || IDF_TARGET_ESP32C61
range 1 35 if IDF_TARGET_ESP32H2
range 1 9
default 2 if IDF_TARGET_ESP32C2
@@ -100,6 +100,14 @@ config BT_NIMBLE_L2CAP_COC_MAX_NUM
help
Defines maximum number of BLE Connection Oriented Channels. When set to (0), BLE COC is not compiled in
+config BT_NIMBLE_L2CAP_ENHANCED_COC
+ bool "L2CAP Enhanced Connection Oriented Channel"
+ depends on BT_NIMBLE_ENABLED && (BT_NIMBLE_L2CAP_COC_MAX_NUM >= 1)
+ default 0
+ help
+ Enable Enhanced Credit Based Flow Control Mode
+
+
choice BT_NIMBLE_PINNED_TO_CORE_CHOICE
prompt "The CPU core on which NimBLE host will run"
depends on BT_NIMBLE_ENABLED && !FREERTOS_UNICORE
@@ -148,7 +156,7 @@ config BT_NIMBLE_ROLE_BROADCASTER
depends on BT_NIMBLE_ENABLED
default y
help
- Enables broadcaster role
+ Enables broadcaster role
config BT_NIMBLE_ROLE_OBSERVER
bool "Enable BLE Observer role"
@@ -157,6 +165,20 @@ config BT_NIMBLE_ROLE_OBSERVER
help
Enables observer role
+config BT_NIMBLE_GATT_CLIENT
+ bool "Enable BLE GATT Client support"
+ depends on BT_NIMBLE_ROLE_CENTRAL
+ default y
+ help
+ Enables support for GATT Client
+
+config BT_NIMBLE_GATT_SERVER
+ bool "Enable BLE GATT Server support"
+ depends on BT_NIMBLE_ROLE_PERIPHERAL
+ default y
+ help
+ Enables support for GATT Server
+
config BT_NIMBLE_NVS_PERSIST
bool "Persist the BLE Bonding keys in NVS"
depends on BT_NIMBLE_ENABLED
@@ -164,6 +186,16 @@ config BT_NIMBLE_NVS_PERSIST
help
Enable this flag to make bonding persistent across device reboots
+config BT_NIMBLE_SMP_ID_RESET
+ bool "Reset device identity when all bonding records are deleted"
+ default n
+ help
+ There are tracking risks associated with using a fixed or static IRK.
+ If enabled this option, NimBLE will assign a new randomly-generated IRK
+ when all pairing and bonding records are deleted. This would decrease the ability
+ of a previously paired peer to be used to determine whether a device
+ with which it previously shared an IRK is within range.
+
menuconfig BT_NIMBLE_SECURITY_ENABLE
bool "Enable BLE SM feature"
depends on BT_NIMBLE_ENABLED
@@ -212,6 +244,20 @@ config BT_NIMBLE_SM_LVL
3. Authenticated pairing with encryption
4. Authenticated LE Secure Connections pairing with encryption using a 128-bit strength encryption key.
+config BT_NIMBLE_SM_SC_ONLY
+ int "Enable Secure Connections Only Mode"
+ depends on BT_NIMBLE_SECURITY_ENABLE
+ default 0
+ help
+ Enable Secure Connections Only Mode
+
+config BT_NIMBLE_PRINT_ERR_NAME
+ bool "Enable feature to print Error description"
+ depends on BT_NIMBLE_ENABLED
+ default y
+ help
+ Enable feature to give useful explanation for HCI errors
+
config BT_NIMBLE_DEBUG
bool "Enable extra runtime asserts and host debugging"
default n
@@ -249,6 +295,13 @@ config BT_NIMBLE_ATT_PREFERRED_MTU
This is the default value of ATT MTU indicated by the device during an ATT MTU exchange.
This value can be changed using API ble_att_set_preferred_mtu()
+config BT_NIMBLE_ATT_MAX_PREP_ENTRIES
+ int "Max Prepare write entries"
+ depends on BT_NIMBLE_ENABLED
+ default 64
+ help
+ This is the default value of ATT Maximum prepare entries
+
config BT_NIMBLE_SVC_GAP_APPEARANCE
hex "External appearance of the device"
depends on BT_NIMBLE_ENABLED
@@ -359,7 +412,7 @@ config BT_NIMBLE_GATT_MAX_PROCS
config BT_NIMBLE_HS_FLOW_CTRL
bool "Enable Host Flow control"
- depends on BT_NIMBLE_ENABLED
+ depends on BT_NIMBLE_ENABLED && !SOC_ESP_NIMBLE_CONTROLLER
default y if IDF_TARGET_ESP32
default n
help
@@ -534,6 +587,16 @@ config BT_NIMBLE_MAX_CONN_REATTEMPT
help
Defines maximum number of connection reattempts.
+config BT_NIMBLE_HANDLE_REPEAT_PAIRING_DELETION
+ bool "Enable stack handling of repeat pairing"
+ default n
+ depends on BT_NIMBLE_ENABLED
+ help
+ Use this option to let stack internally handle the request for repeat pairing.
+ Enabling this option will delete the pairing of the device and stack will NOT post any event
+ to application. If this option is disabled, application will get BLE_GAP_EVENT_REPEAT_PAIRING
+ event.
+
menuconfig BT_NIMBLE_50_FEATURE_SUPPORT
bool "Enable BLE 5 feature"
depends on BT_NIMBLE_ENABLED && (SOC_BLE_50_SUPPORTED || !BT_CONTROLLER_ENABLED)
@@ -541,111 +604,162 @@ menuconfig BT_NIMBLE_50_FEATURE_SUPPORT
help
Enable BLE 5 feature
-config BT_NIMBLE_LL_CFG_FEAT_LE_2M_PHY
- bool "Enable 2M Phy"
- depends on BT_NIMBLE_50_FEATURE_SUPPORT
- default y
- help
- Enable 2M-PHY
-
-config BT_NIMBLE_LL_CFG_FEAT_LE_CODED_PHY
- bool "Enable coded Phy"
- depends on BT_NIMBLE_50_FEATURE_SUPPORT
- default y
- help
- Enable coded-PHY
-
-config BT_NIMBLE_EXT_ADV
- bool "Enable extended advertising"
- depends on BT_NIMBLE_50_FEATURE_SUPPORT
- default n
- help
- Enable this option to do extended advertising. Extended advertising
- will be supported from BLE 5.0 onwards.
+if BT_NIMBLE_50_FEATURE_SUPPORT
+ config BT_NIMBLE_LL_CFG_FEAT_LE_2M_PHY
+ bool "Enable 2M Phy"
+ depends on BT_NIMBLE_50_FEATURE_SUPPORT
+ default y
+ help
+ Enable 2M-PHY
-if BT_NIMBLE_EXT_ADV
- config BT_NIMBLE_MAX_EXT_ADV_INSTANCES
- int "Maximum number of extended advertising instances."
- range 0 4
- default 1 if BT_NIMBLE_EXT_ADV
- default 0
- depends on BT_NIMBLE_EXT_ADV
+ config BT_NIMBLE_LL_CFG_FEAT_LE_CODED_PHY
+ bool "Enable coded Phy"
+ depends on BT_NIMBLE_50_FEATURE_SUPPORT
+ default y
help
- Change this option to set maximum number of extended advertising
- instances. Minimum there is always one instance of
- advertising. Enter how many more advertising instances you
- want.
- For ESP32C2, ESP32C6 and ESP32H2, each extended advertising instance
- will take about 0.5k DRAM.
-
- config BT_NIMBLE_EXT_ADV_MAX_SIZE
- int "Maximum length of the advertising data."
- range 0 1650
- default 1650 if BT_NIMBLE_EXT_ADV
- default 0
- depends on BT_NIMBLE_EXT_ADV
+ Enable coded-PHY
+
+ config BT_NIMBLE_EXT_ADV
+ bool "Enable extended advertising"
+ depends on BT_NIMBLE_50_FEATURE_SUPPORT
+ default n
help
- Defines the length of the extended adv data. The value should not
- exceed 1650.
+ Enable this option to do extended advertising. Extended advertising
+ will be supported from BLE 5.0 onwards.
- config BT_NIMBLE_ENABLE_PERIODIC_ADV
- bool "Enable periodic advertisement."
+ if BT_NIMBLE_EXT_ADV
+ config BT_NIMBLE_EXT_ADV_V2
+ bool "Enable support for extended adv v2"
+ default n
+ depends on BT_NIMBLE_EXT_ADV
+ help
+ Enable this option to use Extended Adv V2 command instead of V1.
+
+ config BT_NIMBLE_MAX_EXT_ADV_INSTANCES
+ int "Maximum number of extended advertising instances."
+ range 0 4
+ default 1 if BT_NIMBLE_EXT_ADV
+ default 0
+ depends on BT_NIMBLE_EXT_ADV
+ help
+ Change this option to set maximum number of extended advertising
+ instances. Minimum there is always one instance of
+ advertising. Enter how many more advertising instances you
+ want.
+ For ESP32C2, ESP32C6 and ESP32H2, each extended advertising instance
+ will take about 0.5k DRAM.
+
+ config BT_NIMBLE_EXT_ADV_MAX_SIZE
+ int "Maximum length of the advertising data."
+ range 0 1650
+ default 1650 if BT_NIMBLE_EXT_ADV
+ default 0
+ depends on BT_NIMBLE_EXT_ADV
+ help
+ Defines the length of the extended adv data. The value should not
+ exceed 1650.
+
+ config BT_NIMBLE_ENABLE_PERIODIC_ADV
+ bool "Enable periodic advertisement."
+ default y
+ depends on BT_NIMBLE_EXT_ADV
+ help
+ Enable this option to start periodic advertisement.
+
+ config BT_NIMBLE_PERIODIC_ADV_ENH
+ bool "Periodic adv enhancements(adi support)"
+ depends on BT_NIMBLE_ENABLE_PERIODIC_ADV && SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED
+ help
+ Enable the periodic advertising enhancements
+
+ config BT_NIMBLE_PERIODIC_ADV_SYNC_TRANSFER
+ bool "Enable Transfer Sync Events"
+ depends on BT_NIMBLE_ENABLE_PERIODIC_ADV
+ default y
+ help
+ This enables controller transfer periodic sync events to host
+
+ config BT_NIMBLE_PERIODIC_ADV_WITH_RESPONSES
+ bool "Enable Periodic Advertisement with Response (EXPERIMENTAL)"
+ depends on BT_NIMBLE_ENABLE_PERIODIC_ADV
+ default n
+ help
+ This enables controller PAwR (Periodic Advertisement with Response).
+ endif
+
+ config BT_NIMBLE_EXT_SCAN
+ bool "Enable extended scanning"
+ depends on BT_NIMBLE_50_FEATURE_SUPPORT && BT_NIMBLE_ROLE_OBSERVER
default y
- depends on BT_NIMBLE_EXT_ADV
help
- Enable this option to start periodic advertisement.
+ Enable this option to do extended scanning.
- config BT_NIMBLE_PERIODIC_ADV_SYNC_TRANSFER
- bool "Enable Transfer Sync Events"
- depends on BT_NIMBLE_ENABLE_PERIODIC_ADV
+ config BT_NIMBLE_ENABLE_PERIODIC_SYNC
+ bool "Enable periodic sync"
default y
+ depends on BT_NIMBLE_EXT_SCAN
help
- This enables controller transfer periodic sync events to host
-endif
-
-config BT_NIMBLE_MAX_PERIODIC_SYNCS
- int "Maximum number of periodic advertising syncs"
- depends on BT_NIMBLE_50_FEATURE_SUPPORT
- range 0 3 if IDF_TARGET_ESP32C2
- range 0 8
- default 1 if BT_NIMBLE_ENABLE_PERIODIC_ADV
- default 0
- help
- Set this option to set the upper limit for number of periodic sync
- connections. This should be less than maximum connections allowed by
- controller.
-
-config BT_NIMBLE_MAX_PERIODIC_ADVERTISER_LIST
- int "Maximum number of periodic advertiser list"
- depends on BT_NIMBLE_50_FEATURE_SUPPORT && SOC_ESP_NIMBLE_CONTROLLER
- range 1 5
- default 5 if BT_NIMBLE_50_FEATURE_SUPPORT
- help
- Set this option to set the upper limit for number of periodic advertiser list.
+ Enable this option to receive periodic advertisement.
+
+ if BT_NIMBLE_ENABLE_PERIODIC_SYNC
+ config BT_NIMBLE_MAX_PERIODIC_SYNCS
+ int "Maximum number of periodic advertising syncs"
+ range 0 3 if IDF_TARGET_ESP32C2
+ range 0 8
+ default 1 if BT_NIMBLE_ENABLE_PERIODIC_ADV
+ default 0
+ help
+ Set this option to set the upper limit for number of periodic sync
+ connections. This should be less than maximum connections allowed by
+ controller.
+
+ config BT_NIMBLE_MAX_PERIODIC_ADVERTISER_LIST
+ int "Maximum number of periodic advertiser list"
+ depends on SOC_ESP_NIMBLE_CONTROLLER
+ range 1 5
+ default 5 if BT_NIMBLE_50_FEATURE_SUPPORT
+ help
+ Set this option to set the upper limit for number of periodic advertiser list.
+ endif
-config BT_NIMBLE_BLE_POWER_CONTROL
- bool "Enable support for BLE Power Control"
- depends on BT_NIMBLE_50_FEATURE_SUPPORT && SOC_BLE_POWER_CONTROL_SUPPORTED
- default n
- help
- Set this option to enable the Power Control feature
+ config BT_NIMBLE_BLE_POWER_CONTROL
+ bool "Enable support for BLE Power Control"
+ depends on BT_NIMBLE_50_FEATURE_SUPPORT && SOC_BLE_POWER_CONTROL_SUPPORTED
+ default n
+ help
+ Set this option to enable the Power Control feature
-config BT_NIMBLE_PERIODIC_ADV_ENH
- bool "Periodic adv enhancements(adi support)"
- depends on BT_NIMBLE_ENABLE_PERIODIC_ADV && BT_NIMBLE_50_FEATURE_SUPPORT && SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED
- help
- Enable the periodic advertising enhancements
+ config BT_NIMBLE_AOA_AOD
+ bool "Direction Finding"
+ depends on BT_NIMBLE_50_FEATURE_SUPPORT && (BT_CONTROLLER_DISABLED || SOC_BLE_CTE_SUPPORTED)
+ default n
+ help
+ Enable support for Connectionless and Connection Oriented Direction Finding
+endif
menuconfig BT_NIMBLE_GATT_CACHING
bool "Enable GATT caching"
- depends on BT_NIMBLE_ENABLED && BT_NIMBLE_50_FEATURE_SUPPORT
+ depends on BT_NIMBLE_ENABLED
select BT_NIMBLE_DYNAMIC_SERVICE
help
Enable GATT caching
+config BT_NIMBLE_GATT_CACHING_INCLUDE_SERVICES
+ bool "Include services in GATT caching"
+ depends on BT_NIMBLE_GATT_CACHING
+ default n
+ help
+ Enable this option to include *included services* (e.g., services referenced by other services)
+ in the GATT database cache. Disabling this will skip caching of included service entries.
+config BT_NIMBLE_INCL_SVC_DISCOVERY
+ bool "Enable Included service discovery"
+ default y if BT_NIMBLE_GATT_CACHING_INCLUDE_SERVICES
+ default n
+ help
+ Enable this option to start discovery for included service.
config BT_NIMBLE_GATT_CACHING_MAX_CONNS
int "Maximum connections to be cached"
depends on BT_NIMBLE_GATT_CACHING
- default 1
+ default BT_NIMBLE_MAX_CONNECTIONS
help
Set this option to set the upper limit on number of connections to be cached.
config BT_NIMBLE_GATT_CACHING_MAX_SVCS
@@ -654,6 +768,12 @@ config BT_NIMBLE_GATT_CACHING_MAX_SVCS
default 64
help
Set this option to set the upper limit on number of services per connection to be cached.
+config BT_NIMBLE_GATT_CACHING_MAX_INCL_SVCS
+ int "Maximum number of included services per connection"
+ depends on BT_NIMBLE_GATT_CACHING
+ default 64
+ help
+ Set this option to set the upper limit on number of included services per connection to be cached.
config BT_NIMBLE_GATT_CACHING_MAX_CHRS
int "Maximum number of characteristics per connection"
depends on BT_NIMBLE_GATT_CACHING
@@ -666,14 +786,22 @@ config BT_NIMBLE_GATT_CACHING_MAX_DSCS
default 64
help
Set this option to set the upper limit on number of descriptors per connection to be cached.
+config BT_NIMBLE_GATT_CACHING_DISABLE_AUTO
+ bool "Do not start discovery procedure automatically upon receiving Out of Sync"
+ depends on BT_NIMBLE_GATT_CACHING
+ default n
+ help
+ When client receives ATT out-of-sync error message, it will not automatically start the discovery procedure
+ to correct the invalid cache.
config BT_NIMBLE_WHITELIST_SIZE
int "BLE white list size"
depends on BT_NIMBLE_ENABLED
+ range 1 31 if SOC_ESP_NIMBLE_CONTROLLER
range 1 15
default 12
help
- BLE list size
+ BLE list size
config BT_NIMBLE_TEST_THROUGHPUT_TEST
bool "Throughput Test Mode enable"
@@ -707,8 +835,172 @@ config BT_NIMBLE_BLE_GATT_BLOB_TRANSFER
This option is used when data to be sent is more than 512 bytes. For peripheral role,
BT_NIMBLE_MSYS_1_BLOCK_COUNT needs to be increased according to the need.
-menu "GAP Service"
+menu "BLE Services"
+ depends on BT_NIMBLE_GATT_SERVER
+
+ config BT_NIMBLE_PROX_SERVICE
+ bool "Proximity service"
+ default y
+ help
+ Enable Proximity Service support
+
+ config BT_NIMBLE_ANS_SERVICE
+ bool "Alert Notification service"
+ default y
+ help
+ Enable Alert Notification Service support
+
+ config BT_NIMBLE_CTS_SERVICE
+ bool "Current Time Service"
+ default y
+ help
+ Enable Current Time Service support
+
+ config BT_NIMBLE_HTP_SERVICE
+ bool "Health Thermometer service"
+ default y
+ help
+ Enable Health Thermometer Service support
+
+ config BT_NIMBLE_IPSS_SERVICE
+ bool "Internet Protocol Support service"
+ default y
+ help
+ Enable Internet Protocol Service support
+
+ config BT_NIMBLE_TPS_SERVICE
+ bool "Tx Power service"
+ default y
+ help
+ Enable Tx Power Service support
+
+ config BT_NIMBLE_IAS_SERVICE
+ bool "Immediate Alert service"
+ default y
+ help
+ Enable Immediate Alert Service support
+
+ config BT_NIMBLE_LLS_SERVICE
+ bool "Link Loss service"
+ default y
+ help
+ Enable Link Loss Service support
+
+ config BT_NIMBLE_SPS_SERVICE
+ bool "Serial Port service"
+ default y
+ help
+ Enable Serial Port Service support
+
+ config BT_NIMBLE_HR_SERVICE
+ bool "Heart Rate service"
+ default y
+ help
+ Enable HeartRate Service support
+
+ menuconfig BT_NIMBLE_HID_SERVICE
+ bool "HID service"
+ default n
+ help
+ Enable HID service support
+
+ config BT_NIMBLE_SVC_HID_MAX_INSTANCES
+ depends on BT_NIMBLE_HID_SERVICE
+ int "Maximum HID service instances"
+ default 2
+ help
+ Defines maximum number of HID service instances
+
+ config BT_NIMBLE_SVC_HID_MAX_RPTS
+ depends on BT_NIMBLE_HID_SERVICE
+ int "Maximum HID Report characteristics per service instance"
+ default 3
+ help
+ Defines maximum number of report characteristics per service instance
+
+ menuconfig BT_NIMBLE_BAS_SERVICE
+ bool "Battery service"
+ default y
+ help
+ Enable Battery service support
+
+ config BT_NIMBLE_SVC_BAS_BATTERY_LEVEL_NOTIFY
+ depends on BT_NIMBLE_BAS_SERVICE
+ bool "BAS Battery Level NOTIFY permission"
+ help
+ Enable/Disable notifications on BAS Battery Level Characteristic
+
+ menuconfig BT_NIMBLE_DIS_SERVICE
+ bool "DIS service"
+ default y
+ help
+ Enable DIS service support
+
+ config BT_NIMBLE_SVC_DIS_MANUFACTURER_NAME
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "Manufacturer Name"
+ default n
+ help
+ Enable the DIS characteristic Manufacturer Name String characteristic
+
+ config BT_NIMBLE_SVC_DIS_SERIAL_NUMBER
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "Serial Number"
+ default n
+ help
+ Enable the DIS Serial Number characteristic
+
+ config BT_NIMBLE_SVC_DIS_HARDWARE_REVISION
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "Hardware Revision"
+ default n
+ help
+ Enable the DIS Hardware Revision characteristic
+
+ config BT_NIMBLE_SVC_DIS_FIRMWARE_REVISION
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "Firmware Revision"
+ default n
+ help
+ Enable the DIS Firmware Revision characteristic
+
+ config BT_NIMBLE_SVC_DIS_SOFTWARE_REVISION
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "Software Revision"
+ default n
+ help
+ Enable the DIS Software Revision characteristic
+
+ config BT_NIMBLE_SVC_DIS_SYSTEM_ID
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "System ID"
+ default n
+ help
+ Enable the DIS System ID characteristic
+
+ config BT_NIMBLE_SVC_DIS_PNP_ID
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "PnP ID"
+ default n
+ help
+ Enable the DIS PnP ID characteristic
+
+ config BT_NIMBLE_SVC_DIS_INCLUDED
+ depends on BT_NIMBLE_DIS_SERVICE
+ bool "DIS as an Included Service"
+ default n
+ help
+ Use DIS as an included service
+
+ menuconfig BT_NIMBLE_GAP_SERVICE
+ bool "GAP Service"
+ default y
+ help
+ Enable GAP Service support
+
menu "GAP Appearance write permissions"
+ depends on BT_NIMBLE_GAP_SERVICE
+
config BT_NIMBLE_SVC_GAP_APPEAR_WRITE
bool "Write"
default n
@@ -718,14 +1010,12 @@ menu "GAP Service"
config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_ENC
depends on BT_NIMBLE_SVC_GAP_APPEAR_WRITE
bool "Write with encryption"
- default n
help
Enable write with encryption permission (BLE_GATT_CHR_F_WRITE_ENC)
config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHEN
depends on BT_NIMBLE_SVC_GAP_APPEAR_WRITE
bool "Write with authentication"
- default n
help
Enable write with authentication permission (BLE_GATT_CHR_F_WRITE_AUTHEN)
@@ -735,48 +1025,49 @@ menu "GAP Service"
default n
help
Enable write with authorisation permission (BLE_GATT_CHR_F_WRITE_AUTHOR)
- endmenu
- config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM
- int
- default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE
- default 8 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE
-
- config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM_ENC
- int
- default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE_ENC
- default 4096 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE_ENC
-
- config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM_ATHN
- int
- default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHEN
- default 8192 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHEN
-
- config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM_ATHR
- int
- default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHOR
- default 16384 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHOR
+ config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM
+ int
+ default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE
+ default 8 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE
+
+ config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM_ENC
+ int
+ default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE_ENC
+ default 4096 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE_ENC
+
+ config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM_ATHN
+ int
+ default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHEN
+ default 8192 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHEN
+
+ config BT_NIMBLE_SVC_GAP_APPEAR_WRITE_PERM_ATHR
+ int
+ default 0 if !BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHOR
+ default 16384 if BT_NIMBLE_SVC_GAP_APPEAR_WRITE_AUTHOR
+ endmenu
choice BT_NIMBLE_SVC_GAP_CENT_ADDR_RESOLUTION
prompt "GAP Characteristic - Central Address Resolution"
+ depends on BT_NIMBLE_GAP_SERVICE
default BT_NIMBLE_SVC_GAP_CAR_CHAR_NOT_SUPP
help
- Weather or not Central Address Resolution characteristic is supported on
- the device, and if supported, weather or not Central Address Resolution
- is supported.
+ Weather or not Central Address Resolution characteristic is supported on
+ the device, and if supported, weather or not Central Address Resolution
+ is supported.
- - Central Address Resolution characteristic not supported
- - Central Address Resolution not supported
- - Central Address Resolution supported
+ - Central Address Resolution characteristic not supported
+ - Central Address Resolution not supported
+ - Central Address Resolution supported
- config BT_NIMBLE_SVC_GAP_CAR_CHAR_NOT_SUPP
- bool "Characteristic not supported"
+ config BT_NIMBLE_SVC_GAP_CAR_CHAR_NOT_SUPP
+ bool "Characteristic not supported"
- config BT_NIMBLE_SVC_GAP_CAR_NOT_SUPP
- bool "Central Address Resolution not supported"
+ config BT_NIMBLE_SVC_GAP_CAR_NOT_SUPP
+ bool "Central Address Resolution not supported"
- config BT_NIMBLE_SVC_GAP_CAR_SUPP
- bool "Central Address Resolution supported"
+ config BT_NIMBLE_SVC_GAP_CAR_SUPP
+ bool "Central Address Resolution supported"
endchoice
config BT_NIMBLE_SVC_GAP_CENT_ADDR_RESOLUTION
@@ -785,7 +1076,9 @@ menu "GAP Service"
default 0 if BT_NIMBLE_SVC_GAP_CAR_NOT_SUPP
default 1 if BT_NIMBLE_SVC_GAP_CAR_SUPP
+
menu "GAP device name write permissions"
+ depends on BT_NIMBLE_GAP_SERVICE
config BT_NIMBLE_SVC_GAP_NAME_WRITE
bool "Write"
default n
@@ -814,6 +1107,40 @@ menu "GAP Service"
Enable write with authorisation permission (BLE_GATT_CHR_F_WRITE_AUTHOR)
endmenu
+ menu "PPCP settings"
+ depends on BT_NIMBLE_GAP_SERVICE
+ config BT_NIMBLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL
+ int "PPCP Connection Interval Max (Unit: 1.25 ms)"
+ depends on BT_NIMBLE_ROLE_PERIPHERAL && BT_NIMBLE_GAP_SERVICE
+ default 0
+ help
+ Peripheral Preferred Connection Parameter: Connection Interval maximum value
+ Interval Max = value * 1.25 ms
+
+ config BT_NIMBLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL
+ int "PPCP Connection Interval Min (Unit: 1.25 ms)"
+ depends on BT_NIMBLE_ROLE_PERIPHERAL && BT_NIMBLE_GAP_SERVICE
+ default 0
+ help
+ Peripheral Preferred Connection Parameter: Connection Interval minimum value
+ Interval Min = value * 1.25 ms
+
+ config BT_NIMBLE_SVC_GAP_PPCP_SLAVE_LATENCY
+ int "PPCP Slave Latency"
+ depends on BT_NIMBLE_GAP_SERVICE
+ default 0
+ help
+ Peripheral Preferred Connection Parameter: Slave Latency
+
+ config BT_NIMBLE_SVC_GAP_PPCP_SUPERVISION_TMO
+ int "PPCP Supervision Timeout (Uint: 10 ms)"
+ depends on BT_NIMBLE_GAP_SERVICE
+ default 0
+ help
+ Peripheral Preferred Connection Parameter: Supervision Timeout
+ Timeout = Value * 10 ms
+ endmenu
+
config BT_NIMBLE_SVC_GAP_NAME_WRITE_PERM
int
default 0 if !BT_NIMBLE_SVC_GAP_NAME_WRITE
@@ -834,58 +1161,18 @@ menu "GAP Service"
default 0 if !BT_NIMBLE_SVC_GAP_NAME_WRITE_AUTHOR
default 16384 if BT_NIMBLE_SVC_GAP_NAME_WRITE_AUTHOR
- config BT_NIMBLE_SVC_GAP_PPCP_MAX_CONN_INTERVAL
- int "PPCP Connection Interval Max (Unit: 1.25 ms)"
- depends on BT_NIMBLE_ROLE_PERIPHERAL
- default 0
- help
- Peripheral Preferred Connection Parameter: Connection Interval maximum value
- Interval Max = value * 1.25 ms
-
- config BT_NIMBLE_SVC_GAP_PPCP_MIN_CONN_INTERVAL
- int "PPCP Connection Interval Min (Unit: 1.25 ms)"
- depends on BT_NIMBLE_ROLE_PERIPHERAL
- default 0
- help
- Peripheral Preferred Connection Parameter: Connection Interval minimum value
- Interval Min = value * 1.25 ms
-
- config BT_NIMBLE_SVC_GAP_PPCP_SLAVE_LATENCY
- int "PPCP Slave Latency"
- default 0
- help
- Peripheral Preferred Connection Parameter: Slave Latency
-
- config BT_NIMBLE_SVC_GAP_PPCP_SUPERVISION_TMO
- int "PPCP Supervision Timeout (Uint: 10 ms)"
- default 0
- help
- Peripheral Preferred Connection Parameter: Supervision Timeout
- Timeout = Value * 10 ms
-
-endmenu
-
-menu "BLE Services"
- menuconfig BT_NIMBLE_HID_SERVICE
- bool "HID service"
- depends on BT_NIMBLE_ENABLED
+ config BT_NIMBLE_SVC_GAP_GATT_SECURITY_LEVEL
+ bool "LE GATT Security Level Characteristic"
default n
help
- Enable HID service support
+ Enable the LE GATT Security Level Characteristic
- config BT_NIMBLE_SVC_HID_MAX_INSTANCES
- depends on BT_NIMBLE_HID_SERVICE
- int "Maximum HID service instances"
- default 2
+ config BT_NIMBLE_SVC_GAP_RPA_ONLY
+ bool "Resolvable Private Address Only characteristic"
+ default n
help
- Defines maximum number of HID service instances
+ Enable the Resolvable Private Address Only characteristic
- config BT_NIMBLE_SVC_HID_MAX_RPTS
- depends on BT_NIMBLE_HID_SERVICE
- int "Maximum HID Report characteristics per service instance"
- default 3
- help
- Defines maximum number of report characteristics per service instance
endmenu
config BT_NIMBLE_VS_SUPPORT
@@ -906,7 +1193,6 @@ config BT_NIMBLE_OPTIMIZE_MULTI_CONN
config BT_NIMBLE_ENC_ADV_DATA
bool "Encrypted Advertising Data"
- select BT_NIMBLE_EXT_ADV
help
This option is used to enable encrypted advertising data.
@@ -923,6 +1209,12 @@ config BT_NIMBLE_HIGH_DUTY_ADV_ITVL
help
This enable BLE high duty advertising interval feature
+config BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
+ bool "Allow Connections with scanning in progress"
+ depends on BT_NIMBLE_ENABLED && !(IDF_TARGET_ESP32C2)
+ help
+ This enables support for user to initiate a new connection with scan in progress
+
config BT_NIMBLE_HOST_QUEUE_CONG_CHECK
bool "BLE queue congestion check"
depends on BT_NIMBLE_ENABLED
@@ -932,6 +1224,15 @@ config BT_NIMBLE_HOST_QUEUE_CONG_CHECK
or application layer handling adv packets is slow, it will cause the controller memory
to run out. if enabled, adv packets will be lost when host queue is congested.
+config BT_NIMBLE_GATTC_PROC_PREEMPTION_PROTECT
+ bool "Gatt-proc preemption protect check"
+ depends on BT_NIMBLE_ENABLED
+ default n
+ help
+ When BLE and Wireless protocol/IEEE 802.15.4 operate in coexistence, BLE preemption
+ can disrupt the GATT context,causing the service discovery callback to not be invoked.
+ A temporary list is maintained to preserve the GATT context and use it in case of preemption.
+
menu "Host-controller Transport"
config BT_NIMBLE_TRANSPORT_UART
bool "Enable Uart Transport"
@@ -1048,3 +1349,17 @@ menu "Host-controller Transport"
help
UART HCI CTS pin
endmenu
+
+config BT_NIMBLE_EATT_CHAN_NUM
+ int "Maximum number of EATT channels"
+ default 0
+ depends on BT_NIMBLE_ENABLED
+ help
+ Defines the number of channels EATT bearers can use
+
+config BT_NIMBLE_SUBRATE
+ bool "Enable Subrate Change"
+ default n
+ depends on BT_NIMBLE_ENABLED
+ help
+ Enable connection subrate change feature