From 5900f9601ed610483104775d81895bfdd85ca81f Mon Sep 17 00:00:00 2001 From: Prasad Alatkar Date: Mon, 5 Oct 2020 16:42:41 +0530 Subject: [PATCH 1/2] NimBLE: Fix misc coverity issues in NimBLE host - NimBLE NVS : Additional check to account for NVS operation failure - NimBLE host: Fix minor bug in ble_eddystone_set_adv_data_gen - NimBLE host: remove recursive call, upstream PR: https://github.com/apache/mynewt-nimble/pull/857 --- components/nimble/nimble | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/nimble/nimble b/components/nimble/nimble index e7f0c530b6..d08bed06cb 160000 --- a/components/nimble/nimble +++ b/components/nimble/nimble @@ -1 +1 @@ -Subproject commit e7f0c530b6816e156292163f7d07b7375292a1af +Subproject commit d08bed06cb70fc6f1b5e4800699d2a6f204f22b3 From 7b030c39437920f1c279c91186b4d2413769dba6 Mon Sep 17 00:00:00 2001 From: Artem Godlevskyi Date: Fri, 4 Sep 2020 13:56:59 +0300 Subject: [PATCH 2/2] Added missing MYNEWT_VAL_BLE_L2CAP_COC_MPS definition Signed-off-by: Prasad Alatkar Merges https://github.com/espressif/esp-idf/pull/5825 --- components/nimble/port/include/esp_nimble_cfg.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/components/nimble/port/include/esp_nimble_cfg.h b/components/nimble/port/include/esp_nimble_cfg.h index 3c99575188..491a14007b 100644 --- a/components/nimble/port/include/esp_nimble_cfg.h +++ b/components/nimble/port/include/esp_nimble_cfg.h @@ -475,6 +475,10 @@ #define MYNEWT_VAL_BLE_L2CAP_COC_MAX_NUM CONFIG_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