mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-22 17:10:28 +00:00

* a missing pointer increment caused error, if available was > 0 after the first iteration of while(available) loop. * changed memory allocation strategy from large fixed size (RFCOMM_DATA_BUF_SIZE) to just the needed size, which will be below MTU Cherry-picked from https://github.com/espressif/esp-idf/pull/1923/