mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
Merge branch 'bugfix/ieee802154_ble_coex_v5.3' into 'release/v5.3'
fix(nimble): Save the gatt context in case of preemption (v5.3) See merge request espressif/esp-idf!35436
This commit is contained in:
@ -1071,6 +1071,15 @@ config BT_NIMBLE_HOST_QUEUE_CONG_CHECK
|
|||||||
or application layer handling adv packets is slow, it will cause the controller memory
|
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.
|
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"
|
menu "Host-controller Transport"
|
||||||
config BT_NIMBLE_TRANSPORT_UART
|
config BT_NIMBLE_TRANSPORT_UART
|
||||||
bool "Enable Uart Transport"
|
bool "Enable Uart Transport"
|
||||||
|
Submodule components/bt/host/nimble/nimble updated: ff017e5b74...4cf7d046d3
@ -1953,6 +1953,14 @@
|
|||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef MYNEWT_VAL_BLE_GATTC_PROC_PREEMPTION_PROTECT
|
||||||
|
#ifdef CONFIG_BT_NIMBLE_GATTC_PROC_PREEMPTION_PROTECT
|
||||||
|
#define MYNEWT_VAL_BLE_GATTC_PROC_PREEMPTION_PROTECT CONFIG_BT_NIMBLE_GATTC_PROC_PREEMPTION_PROTECT
|
||||||
|
#else
|
||||||
|
#define MYNEWT_VAL_BLE_GATTC_PROC_PREEMPTION_PROTECT (0)
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef MYNEWT_VAL_BLE_HOST_ALLOW_CONNECT_WITH_SCAN
|
#ifndef MYNEWT_VAL_BLE_HOST_ALLOW_CONNECT_WITH_SCAN
|
||||||
#ifdef CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
|
#ifdef CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
|
||||||
#define MYNEWT_VAL_BLE_HOST_ALLOW_CONNECT_WITH_SCAN CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
|
#define MYNEWT_VAL_BLE_HOST_ALLOW_CONNECT_WITH_SCAN CONFIG_BT_NIMBLE_HOST_ALLOW_CONNECT_WITH_SCAN
|
||||||
|
Reference in New Issue
Block a user