Skip to content

Commit 0880fc0

Browse files
committed
Merge branch 'feat/pts_changes_v5.4' into 'release/v5.4'
feat(nimble): BLE 5.4 PTS Related Features and Fixes (v5.4) See merge request espressif/esp-idf!34974
2 parents b8044d0 + 1d5cf82 commit 0880fc0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+3480
-148
lines changed

components/bt/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ if(CONFIG_BT_ENABLED)
737737
"host/nimble/nimble/nimble/host/store/config/src/ble_store_nvs.c"
738738
"host/nimble/nimble/nimble/host/src/ble_gattc_cache.c"
739739
"host/nimble/nimble/nimble/host/src/ble_gattc_cache_conn.c"
740+
"host/nimble/nimble/nimble/host/src/ble_eatt.c"
740741
)
741742

742743
if(CONFIG_BT_CONTROLLER_DISABLED AND CONFIG_BT_NIMBLE_TRANSPORT_UART)

components/bt/host/nimble/Kconfig.in

Lines changed: 114 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,14 @@ config BT_NIMBLE_L2CAP_COC_MAX_NUM
100100
help
101101
Defines maximum number of BLE Connection Oriented Channels. When set to (0), BLE COC is not compiled in
102102

103+
config BT_NIMBLE_L2CAP_ENHANCED_COC
104+
bool "L2CAP Enhanced Connection Oriented Channel"
105+
depends on BT_NIMBLE_ENABLED && (BT_NIMBLE_L2CAP_COC_MAX_NUM >= 1)
106+
default 0
107+
help
108+
Enable Enhanced Credit Based Flow Control Mode
109+
110+
103111
choice BT_NIMBLE_PINNED_TO_CORE_CHOICE
104112
prompt "The CPU core on which NimBLE host will run"
105113
depends on BT_NIMBLE_ENABLED && !FREERTOS_UNICORE
@@ -222,6 +230,13 @@ config BT_NIMBLE_SM_LVL
222230
3. Authenticated pairing with encryption
223231
4. Authenticated LE Secure Connections pairing with encryption using a 128-bit strength encryption key.
224232

233+
config BT_NIMBLE_SM_SC_ONLY
234+
int "Enable Secure Connections Only Mode"
235+
depends on BT_NIMBLE_SECURITY_ENABLE
236+
default 0
237+
help
238+
Enable Secure Connections Only Mode
239+
225240
config BT_NIMBLE_DEBUG
226241
bool "Enable extra runtime asserts and host debugging"
227242
default n
@@ -618,6 +633,12 @@ if BT_NIMBLE_50_FEATURE_SUPPORT
618633
default y
619634
help
620635
This enables controller transfer periodic sync events to host
636+
637+
config BT_NIMBLE_PERIODIC_ADV_WITH_RESPONSES
638+
bool "Enable Periodic Advertisement with Response (EXPERIMENTAL)"
639+
depends on BT_NIMBLE_ENABLE_PERIODIC_ADV
640+
help
641+
This enables controller PAwR (Periodic Advertisement with Response).
621642
endif
622643

623644
config BT_NIMBLE_EXT_SCAN
@@ -702,6 +723,14 @@ if BT_NIMBLE_50_FEATURE_SUPPORT
702723
endif
703724

704725

726+
config BT_NIMBLE_GATT_CACHING_DISABLE_AUTO
727+
bool "Do not start discovery procedure automatically upon receiving Out of Sync"
728+
depends on BT_NIMBLE_GATT_CACHING
729+
default n
730+
help
731+
When client receives ATT out-of-sync error message, it will not automatically start the discovery procedure
732+
to correct the invalid cache.
733+
705734
config BT_NIMBLE_WHITELIST_SIZE
706735
int "BLE white list size"
707736
depends on BT_NIMBLE_ENABLED
@@ -898,6 +927,12 @@ menu "GAP Service"
898927
Peripheral Preferred Connection Parameter: Supervision Timeout
899928
Timeout = Value * 10 ms
900929

930+
config BT_NIMBLE_SVC_GAP_GATT_SECURITY_LEVEL
931+
bool "LE GATT Security Level Characteristic"
932+
default n
933+
help
934+
Enable the LE GATT Security Level Characteristic
935+
901936
endmenu
902937

903938
menu "BLE Services"
@@ -921,6 +956,71 @@ menu "BLE Services"
921956
default 3
922957
help
923958
Defines maximum number of report characteristics per service instance
959+
960+
config BT_NIMBLE_SVC_BAS_BATTERY_LEVEL_NOTIFY
961+
depends on BT_NIMBLE_ENABLED
962+
bool "BAS Battery Level NOTIFY permission"
963+
default n
964+
help
965+
Enable/Disable notifications on BAS Battery Level Characteristic
966+
967+
menu "Device Information Service"
968+
config BT_NIMBLE_SVC_DIS_MANUFACTURER_NAME
969+
depends on BT_NIMBLE_ENABLED
970+
bool "Manufacturer Name"
971+
default n
972+
help
973+
Enable the DIS characteristic Manufacturer Name String characteristic
974+
975+
config BT_NIMBLE_SVC_DIS_SERIAL_NUMBER
976+
depends on BT_NIMBLE_ENABLED
977+
bool "Serial Number"
978+
default n
979+
help
980+
Enable the DIS Serial Number characteristic
981+
982+
config BT_NIMBLE_SVC_DIS_HARDWARE_REVISION
983+
depends on BT_NIMBLE_ENABLED
984+
bool "Hardware Revision"
985+
default n
986+
help
987+
Enable the DIS Hardware Revision characteristic
988+
989+
config BT_NIMBLE_SVC_DIS_FIRMWARE_REVISION
990+
depends on BT_NIMBLE_ENABLED
991+
bool "Firmware Revision"
992+
default n
993+
help
994+
Enable the DIS Firmware Revision characteristic
995+
996+
config BT_NIMBLE_SVC_DIS_SOFTWARE_REVISION
997+
depends on BT_NIMBLE_ENABLED
998+
bool "Software Revision"
999+
default n
1000+
help
1001+
Enable the DIS Software Revision characteristic
1002+
1003+
config BT_NIMBLE_SVC_DIS_SYSTEM_ID
1004+
depends on BT_NIMBLE_ENABLED
1005+
bool "System ID"
1006+
default n
1007+
help
1008+
Enable the DIS System ID characteristic
1009+
1010+
config BT_NIMBLE_SVC_DIS_PNP_ID
1011+
depends on BT_NIMBLE_ENABLED
1012+
bool "PnP ID"
1013+
default n
1014+
help
1015+
Enable the DIS PnP ID characteristic
1016+
1017+
config BT_NIMBLE_SVC_DIS_INCLUDED
1018+
depends on BT_NIMBLE_ENABLED
1019+
bool "DIS as an Included Service"
1020+
default n
1021+
help
1022+
Use DIS as an included service
1023+
endmenu
9241024
endmenu
9251025

9261026
config BT_NIMBLE_VS_SUPPORT
@@ -941,7 +1041,6 @@ config BT_NIMBLE_OPTIMIZE_MULTI_CONN
9411041

9421042
config BT_NIMBLE_ENC_ADV_DATA
9431043
bool "Encrypted Advertising Data"
944-
select BT_NIMBLE_EXT_ADV
9451044
help
9461045
This option is used to enable encrypted advertising data.
9471046

@@ -1089,3 +1188,17 @@ menu "Host-controller Transport"
10891188
help
10901189
UART HCI CTS pin
10911190
endmenu
1191+
1192+
config BT_NIMBLE_EATT_CHAN_NUM
1193+
int "Maximum number of EATT channels"
1194+
default 0
1195+
depends on BT_NIMBLE_ENABLED
1196+
help
1197+
Defines the number of channels EATT bearers can use
1198+
1199+
config BT_NIMBLE_SUBRATE
1200+
bool "Enable Subrate Change"
1201+
default n
1202+
depends on BT_NIMBLE_ENABLED
1203+
help
1204+
Enable connection subrate change feature

components/bt/host/nimble/nimble

Submodule nimble updated 79 files

0 commit comments

Comments
 (0)