From 69f6838b4bdb629b4f43dd9c0bc8218ba02e5679 Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Thu, 21 Sep 2023 15:49:36 +0530 Subject: [PATCH] fix(nimble): Add event for reattempt connection count information --- components/bt/host/nimble/nimble | 2 +- components/bt/host/nimble/port/include/esp_nimble_cfg.h | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/components/bt/host/nimble/nimble b/components/bt/host/nimble/nimble index d396a29ee5..bdf2c7588a 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit d396a29ee5146a4a9b7581c2b7a3f6fedb44c63c +Subproject commit bdf2c7588a5c7d0c16e98a168b0cf41578b119ef diff --git a/components/bt/host/nimble/port/include/esp_nimble_cfg.h b/components/bt/host/nimble/port/include/esp_nimble_cfg.h index 5113a45b44..b611fa4e42 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -1396,4 +1396,12 @@ #endif #endif +#ifndef MYNEWT_VAL_BLE_ENABLE_CONN_REATTEMPT +#ifdef CONFIG_BT_NIMBLE_ENABLE_CONN_REATTEMPT +#define MYNEWT_VAL_BLE_ENABLE_CONN_REATTEMPT CONFIG_BT_NIMBLE_ENABLE_CONN_REATTEMPT +#else +#define MYNEWT_VAL_BLE_ENABLE_CONN_REATTEMPT (0) +#endif +#endif + #endif