forked from espressif/esp-idf
fix(nimble): Save the gatt context in case of preemption
This commit is contained in:
committed by
Rahul Tank
parent
f3de540bda
commit
967a727e24
@@ -767,6 +767,15 @@ config BT_NIMBLE_VS_SUPPORT
|
|||||||
This option is used to enable support for sending Vendor Specific HCI commands and handling
|
This option is used to enable support for sending Vendor Specific HCI commands and handling
|
||||||
Vendor Specific HCI Events.
|
Vendor Specific HCI Events.
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
||||||
config BT_NIMBLE_ENC_ADV_DATA
|
config BT_NIMBLE_ENC_ADV_DATA
|
||||||
bool "Encrypted Advertising Data"
|
bool "Encrypted Advertising Data"
|
||||||
depends on BT_NIMBLE_50_FEATURE_SUPPORT
|
depends on BT_NIMBLE_50_FEATURE_SUPPORT
|
||||||
|
Submodule components/bt/host/nimble/nimble updated: 7ae98b1b57...14671bc3b0
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* SPDX-FileCopyrightText: 2015-2024 Espressif Systems (Shanghai) CO LTD
|
* SPDX-FileCopyrightText: 2015-2025 Espressif Systems (Shanghai) CO LTD
|
||||||
*
|
*
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
* SPDX-License-Identifier: Apache-2.0
|
||||||
*/
|
*/
|
||||||
@@ -1853,6 +1853,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_BT_HCI_LOG_INCLUDED
|
#ifndef MYNEWT_VAL_BT_HCI_LOG_INCLUDED
|
||||||
#ifdef CONFIG_BT_HCI_LOG_DEBUG_EN
|
#ifdef CONFIG_BT_HCI_LOG_DEBUG_EN
|
||||||
#define MYNEWT_VAL_BT_HCI_LOG_INCLUDED CONFIG_BT_HCI_LOG_DEBUG_EN
|
#define MYNEWT_VAL_BT_HCI_LOG_INCLUDED CONFIG_BT_HCI_LOG_DEBUG_EN
|
||||||
|
Reference in New Issue
Block a user