Merge branch 'bugfix/low_buf_count_print' into 'master'

fix(nimble): Added debug print to check for skipped adv report

Closes BLERP-836

See merge request espressif/esp-idf!31804
This commit is contained in:
Rahul Tank 2024-07-03 16:42:44 +08:00
commit 1d2e714a31

View File

@ -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 {