Closed
Description
I am using the BluetoothSerial::write()
method to send single bytes to the host computer. I have discovered that when I am sending more that ~ 32 bytes at a time, the ESP will silently drop the additional bytes. Adding a delay(10);
after each byte fixes this for me, but this is only a stop-gap solution.
Oddly, esp_spp_write
does return ESP_OK
even when it is dropping bytes, so I believe there is a real bug here.
I am running arduino-esp32
at c63d746, with an rebuilt libbt.a
that has a COD set so that macOS will accept the SPP device (but no other changes).