From 361b6c00dc889c93340a9e911730cab4c048be51 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/port/include/esp_nimble_cfg.h | 8 ++++++++ 1 file changed, 8 insertions(+) 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 3ab8ca6c40..1c477dbbe5 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -1732,4 +1732,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