Skip to content

Commit

Permalink
Merge branch 'bugfix/low_buf_count_print_v5.2' into 'release/v5.2'
Browse files Browse the repository at this point in the history
fix(nimble): Added debug print to check for skipped adv report (v5.2)

See merge request espressif/esp-idf!31832
  • Loading branch information
rahult-github committed Jul 3, 2024
2 parents 2acb6ac + e29f31b commit 3584fb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions components/bt/host/nimble/esp-hci/src/esp_nimble_hci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 3584fb7

Please sign in to comment.