From e29f31bca4387bd146f39a1216effffeab8d2e2a Mon Sep 17 00:00:00 2001 From: Rahul Tank Date: Fri, 28 Jun 2024 18:35:12 +0530 Subject: [PATCH] fix(nimble): Added debug print to check for skipped adv report --- components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c | 1 + 1 file changed, 1 insertion(+) diff --git a/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c b/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c index 605b831211..4fa8a1090b 100644 --- a/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c +++ b/components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c @@ -217,6 +217,7 @@ static int host_rcv_pkt(uint8_t *data, uint16_t len) evbuf = ble_transport_alloc_evt(1); /* Skip advertising report if we're out of memory */ if (!evbuf) { + ESP_LOGI(TAG, "Skipping advertising report due to low memory"); return 0; } } else {