From 55323ed437a216fb641acfc1661c81a1f3c6e5ed Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Mon, 21 Aug 2023 13:06:34 +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 acdf522a21..da4bcac49f 160000 --- a/components/bt/host/nimble/nimble +++ b/components/bt/host/nimble/nimble @@ -1 +1 @@ -Subproject commit acdf522a21518a69b3582ff4a4e5b67512a13b32 +Subproject commit da4bcac49f6ee4d874bacb7bc6fd6f5e24155d2f 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 37d812ba1d..dff3469ba3 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -1751,4 +1751,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