Skip to content

Commit b0dc137

Browse files
HoZHelerwango
authored andcommitted
lib: stm32wb0: Fix connection issue with some iOS devices
Fix connection issue with some iOS devices. Signed-off-by: Ali Hozhabri <ali.hozhabri@st.com>
1 parent 40dea41 commit b0dc137

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

lib/stm32wb0/BLE_TransparentMode/Core/Inc/app_conf.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,9 @@
211211
* Maximum number of simultaneous Link Layer procedures that can be managed, in addition to the minimum required by the stack.
212212
* The minimum number guarantees one LL procedure initiated by the peer for each link, one LL procedure automatically initiated by the Controller and one LL procedure initiated by the Host.
213213
*/
214+
#ifndef __ZEPHYR__
214215
#define CFG_BLE_EXTRA_LL_PROCEDURE_CONTEXTS (0)
216+
#endif /* __ZEPHYR__ */
215217

216218
/**
217219
* Size of the internal FIFO used for critical controller events produced by the

lib/stm32wb0/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ set(CFG_BLE_CONTROLLER_CHAN_CLASS_ENABLED "0")
4848
set(CFG_BLE_CONTROLLER_BIS_ENABLED "0")
4949
set(CFG_BLE_CONNECTION_SUBRATING_ENABLED "0")
5050
set(CFG_BLE_CONTROLLER_CIS_ENABLED "0")
51+
set(CFG_BLE_EXTRA_LL_PROCEDURE_CONTEXTS "1")
5152

5253
zephyr_compile_definitions(
5354
-DBLESTACK_CONTROLLER_ONLY=1
@@ -129,6 +130,7 @@ message(STATUS "CONTROLLER_CHAN_CLASS_ENABLED=${CFG_BLE_CONTROLLER_CHAN_CLASS_EN
129130
message(STATUS "CONTROLLER_BIS_ENABLED=${CFG_BLE_CONTROLLER_BIS_ENABLED}")
130131
message(STATUS "CONNECTION_SUBRATING_ENABLED=${CFG_BLE_CONNECTION_SUBRATING_ENABLED}")
131132
message(STATUS "CONTROLLER_CIS_ENABLED=${CFG_BLE_CONTROLLER_CIS_ENABLED}")
133+
message(STATUS "EXTRA_LL_PROCEDURE_CONTEXTS=${CFG_BLE_EXTRA_LL_PROCEDURE_CONTEXTS}")
132134

133135
zephyr_compile_definitions(
134136
-DCFG_BLE_CONTROLLER_SCAN_ENABLED=${CFG_BLE_CONTROLLER_SCAN_ENABLED}
@@ -147,6 +149,7 @@ zephyr_compile_definitions(
147149
-DCFG_BLE_CONTROLLER_BIS_ENABLED=${CFG_BLE_CONTROLLER_BIS_ENABLED}
148150
-DCFG_BLE_CONNECTION_SUBRATING_ENABLED=${CFG_BLE_CONNECTION_SUBRATING_ENABLED}
149151
-DCFG_BLE_CONTROLLER_CIS_ENABLED=${CFG_BLE_CONTROLLER_CIS_ENABLED}
152+
-DCFG_BLE_EXTRA_LL_PROCEDURE_CONTEXTS=${CFG_BLE_EXTRA_LL_PROCEDURE_CONTEXTS}
150153
)
151154
########### End of modularity selection ###########
152155

0 commit comments

Comments
 (0)