mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-03 20:54:32 +02:00
fix(nimble): Added debug print to check for skipped adv report
This commit is contained in:
committed by
Abhinav Kudnar
parent
a6e89b466f
commit
69ad6bb5d1
@@ -365,6 +365,7 @@ static int host_rcv_pkt(uint8_t *data, uint16_t len)
|
||||
evbuf = ble_hci_trans_buf_alloc(BLE_HCI_TRANS_BUF_EVT_LO);
|
||||
/* Skip advertising report if we're out of memory */
|
||||
if (!evbuf) {
|
||||
ESP_LOGI(TAG, "Skipping advertising report due to low memory");
|
||||
return 0;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user