mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 09:39:10 -04: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/