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

This commit is contained in:
Rahul Tank
2024-06-28 18:35:12 +05:30
committed by Abhinav Kudnar
parent a23f078905
commit e29f31bca4

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 {