File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 288288
289289/** @brief Maximum number of connection oriented channels */
290290#define CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM 0
291-
292291#define CONFIG_BT_NIMBLE_L2CAP_COC_SDU_BUFF_COUNT 1
293292#define CONFIG_BT_NIMBLE_EATT_CHAN_NUM 0
294293#define CONFIG_BT_NIMBLE_SVC_GAP_CENT_ADDR_RESOLUTION -1
295294#define CONFIG_BT_NIMBLE_GATT_MAX_PROCS 4
296-
297- #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL 1
298- #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_ITVL 1000
299- #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_THRESH 2
300- #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT 1
301-
302295#define CONFIG_BT_NIMBLE_HS_STOP_TIMEOUT_MS 2000
303296
304297#ifndef CONFIG_BT_ENABLED
@@ -343,6 +336,13 @@ defined(CONFIG_IDF_TARGET_ESP32C3) || defined(CONFIG_IDF_TARGET_ESP32S3)
343336#define CONFIG_BT_NIMBLE_LEGACY_VHCI_ENABLE 1
344337#endif
345338
339+ #ifdef CONFIG_IDF_TARGET_ESP32
340+ #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL 1
341+ #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_ITVL 1000
342+ #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_THRESH 2
343+ #define CONFIG_BT_NIMBLE_HS_FLOW_CTRL_TX_ON_DISCONNECT 1
344+ #endif
345+
346346#if !defined(CONFIG_BT_CONTROLLER_DISABLED )
347347#define CONFIG_BT_CONTROLLER_DISABLED 0
348348#endif
You can’t perform that action at this time.
0 commit comments