Skip to content

BluetoothSerial silently drops bytes to be sent #1537

Closed
@gohai

Description

@gohai

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions