From 3caa9699aef8de2dddb7d5803961c97390aa80fe Mon Sep 17 00:00:00 2001 From: Artem Godlevskyi Date: Fri, 4 Sep 2020 13:56:59 +0300 Subject: [PATCH] Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition Signed-off-by: Prasad Alatkar Merges https://github.com/espressif/esp-idf/pull/5825 --- components/bt/host/nimble/port/include/esp_nimble_cfg.h | 4 ++++ 1 file changed, 4 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 468905178e..3c4333df1d 100644 --- a/components/bt/host/nimble/port/include/esp_nimble_cfg.h +++ b/components/bt/host/nimble/port/include/esp_nimble_cfg.h @@ -483,6 +483,10 @@ #define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM CONFIG_BT_NIMBLE_L2CAP_COC_MAX_NUM #endif +#ifndef MYNEWT_VAL_BLE_L2CAP_COC_MPS +#define MYNEWT_VAL_BLE_L2CAP_COC_MPS (MYNEWT_VAL_MSYS_1_BLOCK_SIZE - 8) +#endif + #ifndef MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS #define MYNEWT_VAL_BLE_L2CAP_JOIN_RX_FRAGS (1) #endif